Wls agent as subagent to Sun's Snmp Master Agent

Hi Sanjeev
My Wls agent is working fine as Master agent with Sun's Snmpdx as subagent to it.
There is no problem with that.
But can I make WLS agent, subagent to Sun's Snmp Agent.For that I need Wls SubAgent resource
files to be included in the configuration directory of Sun's Snmp Agent.
Is this possible in the first place and if so how do I do it. I saw your response on the same issue for
Windows NT. I am mailing to find out if its different on Solaris(or Unix).
Thanks
Robert

Robert Prakash <[email protected]> wrote in message
news:3a002079$[email protected]..
>
Hi Sanjeev
My Wls agent is working fine as Master agent with Sun's Snmpdx as subagentto it.
There is no problem with that.
But can I make WLS agent, subagent to Sun's Snmp Agent.For that I need WlsSubAgent resource
files to be included in the configuration directory of Sun's Snmp Agent.The last time i checked, Sun's master agent is more "loosely coupled" with
other agents it needs to co-ordinate with. I haven't tried it, however i
beleive it should work. Because the master agent doesn't rely on built-in
protocol for interaction with other agents. (much like -otherAgents option
in the wls agent).
You just need to specify in SUN's syntax (resource files...) where the wls
agent is running, what is its community, which MIBs it supports , what
should be the timeout and such ...
Good Luck!
If you run into any problem let me know.
>
Is this possible in the first place and if so how do I do it. I saw yourresponse on the same issue for
Windows NT. I am mailing to find out if its different on Solaris(or Unix).
Thanks
Robert

Similar Messages

  • Re: Wls agent as subagent to Sun's Snmp Master Agent

    I have successfully configured the WL SNMP agent as subagent to
    Sun's (Solaris 7 in my case) master SNMP agent.
    Sun's Solstice Enterprise Agent documentation under docs.sun.com
    is a bit confusing but serves as a reference if not a step-by-step guide.
    Here are the general steps that I took:
    1) Modify the shipped startSNMPAgent.sh for your system password
    and community (I wouldn't use "public"!).
    Add some if-then-fi code to check for the $1 command line parameter,
    so Sun's master agent can pass in the dynamically allocated port number
    that the agent will listen to. I also changed the ownership of this
    script so only root can see it, as it contains the WL admin password.
    2) Go to the /etc/snmp/conf directory (default Solaris 7 install).
    Create the files weblogic.rsrc and weblogic.reg using the mibiisa.*
    files as templates.
    3) In the weblogic.reg file, add the lines
    "macros = { bea = enterprise.140 }" before the "agents" line.
    This defines the weblogic agent's starting OID point.
    Then, change the subtree line to "bea".
    4) In the .rsrc file, change the command used to spawn the
    agent to "/weblogic/startSNMPAgent.sh $PORT".
    Be aware that this spawn command is visible through Sun's master
    agent MIB, so don't put anything sensitive in there (like a
    community name or password).
    5) Finally, there is a timing condition that you should be aware of.
    WebLogic's SNMP agent will only bind to an active WL server.
    Sun's master agent will only bind to an active subagent.
    Therefore, you should ensure that
    WebLogic server is started first (and the server comes completely
    up), then Sun's master agent is started. I setup my /etc/rc3.d
    startup files to run weblogic before snmpdx. I had to insert a
    sleep command to make sure that WL was completely up before
    snmpdx was run. This is because my startup script runs java in
    the background, so if you don't sleep then WL won't be up before
    snmpdx spawns the subagent and tries to bind to it.
    Finally, Sun's mib files can be found under /var/snmp/mib.
    Easier to find than NT's mib files!
    Hope that helps -
    Tom
    "Sanjeev Chopra" <[email protected]> wrote:
    >
    Robert Prakash <[email protected]> wrote in message
    news:[email protected]...
    Hi Sanjeev
    My Wls agent is working fine as Master agent with Sun's Snmpdx as subagentto it.
    There is no problem with that.
    But can I make WLS agent, subagent to Sun's Snmp Agent.For that I needWls
    SubAgent resource
    files to be included in the configuration directory of Sun's Snmp Agent.The last time i checked, Sun's master agent is more "loosely coupled"
    with
    other agents it needs to co-ordinate with. I haven't tried it, however
    i
    beleive it should work. Because the master agent doesn't rely on built-in
    protocol for interaction with other agents. (much like -otherAgents option
    in the wls agent).
    You just need to specify in SUN's syntax (resource files...) where the
    wls
    agent is running, what is its community, which MIBs it supports , what
    should be the timeout and such ...
    Good Luck!
    If you run into any problem let me know.
    Is this possible in the first place and if so how do I do it. I sawyour
    response on the same issue for
    Windows NT. I am mailing to find out if its different on Solaris(orUnix).
    Thanks
    Robert

    Hello:
    I created exactly as you specified. I.e weblogic.reg, weblogic.rsrc, weblogic.acl. But the issue I have is My weblogic snmp agent is listening on port 8061. Snmp demon on 161. So when I request the Snmp demon with OID of weblogic object. I am not getting the result also call is not reaching weblogic agent. Instead I am getting no such name or OID. So I am wondering why snmp demon is not forwarding the request to snmp demon.
    Also Could you please explain the execution sequence of snmp demon and where you think I need to look at. Also please explain the constructs used in reg/acl/rsrc files.
    Note:
    I am using wls 6.1 sp2. So just my starting admin server. The enabled snmp gets started. Also I configured snmp demon so that when ever it gets started the weblogic server also starts. Also there is no issue in receiving traps.
    Thanks in Advance.
    Vijay

  • Netsnmp as subagent in sun-snmp

    hi @ all!
    I would like to run the netsnmp-agent as subagent in the standard sun-snmp master-agent!
    Can anywhere give me a detailed documentation what i have to configure??
    please send replay to: [email protected]
    Thx�s a lot!
    bye
    stefan

    Robert Prakash <[email protected]> wrote in message
    news:3a002079$[email protected]..
    >
    Hi Sanjeev
    My Wls agent is working fine as Master agent with Sun's Snmpdx as subagentto it.
    There is no problem with that.
    But can I make WLS agent, subagent to Sun's Snmp Agent.For that I need WlsSubAgent resource
    files to be included in the configuration directory of Sun's Snmp Agent.The last time i checked, Sun's master agent is more "loosely coupled" with
    other agents it needs to co-ordinate with. I haven't tried it, however i
    beleive it should work. Because the master agent doesn't rely on built-in
    protocol for interaction with other agents. (much like -otherAgents option
    in the wls agent).
    You just need to specify in SUN's syntax (resource files...) where the wls
    agent is running, what is its community, which MIBs it supports , what
    should be the timeout and such ...
    Good Luck!
    If you run into any problem let me know.
    >
    Is this possible in the first place and if so how do I do it. I saw yourresponse on the same issue for
    Windows NT. I am mailing to find out if its different on Solaris(or Unix).
    Thanks
    Robert

  • SNMP subagent with SMUX SNMP master agent

    I'm looking for the smux agent configuration for ucp-snmp to be able to use it as the master agent on a Linux/Solaris server. The subagent would be the LDAP instance snmp sub-agent. According to the documentation, if I have a master agent that I can't get rid of and is smux compliant, I can use it instead of the Netscape SNMP Master agent.
    Even by configuring the ucp-snmp master agent as per the Netscape Directory Server documentation, the subagent is not starting. I always get the following error: "Unexpected error" in the console 4.2 window.
    I'm using a Netscape Directory Server 4.16
    Can anybody help me on what should be the smux configuration and then how to start the LDAP instance subagent?

    Hi,
    Iplanet does not support for it's products being installed on linux or snmp for linux.

  • SUN snmpdx SNMP Agent

    Hello *,
    In our project I want to use SUN (Solaris 9 and 10) SNMP Agent to send hardware failure traps.
    As I know, besides other things, I have to edit snmpdx.acl file using following example.
    snmpdx.acl:
    # trap parameters
    trap =
    trap-community = public
    hosts = atpcundx
    enterprise = "sun"
    trap-num = 0, 1, 2-5, 6-16
    Problem that I have is that I cannot find explanations for meaning for parameter "enterprise" and "trap-num".
    Does anyone have an idea where I can find descriptions what enterprise = "sun" or "snmp" or "3com" or "Solaris Volume Manager" means and what is the meaning of trap numbers integer values.
    I tried to test configuration as it is described in SUN documentation. I have strange results. Traps are not sent until in snmpd.conf "trap = <hostname>" is set.
    Entries from snmpd.acl file are ignored even in this case.
    Generally, does anyone knows how to configure this feature to work.
    Any help will be appreciated.
    Thanks in advance.
    Brgds
    SF

    Dear folks,
    Does the Sun JES server have a separate SNMP sun
    agent?Indeed:
    http://docs.sun.com/app/docs/doc/819-2650/6n4u4dtvq?q=snmp&a=view
    >
    I want to run the Solaris SNMP agent (snmpdx) as
    master agent with the Sun JES sub-agent. Is it
    possible?I don't know why not. Start by looking at the documentation.
    >
    Thanks in advance.
    T Dang

  • Snmp master agent won't start

    I'm using Web Server 7.0U1 on Solaris 10U4. I'm trying to start the SNMP master subagent. On my Linux test platform, this works fine. But on the Solaris host, 'magt' hangs forever at startup and does nothing. This happens both when using the web console and wadm start-snmp-master-agent command.
    How do I make magt work?

    The SNMP master agent fails to start on Solaris 10U2 (and higher) due to the TCP fusion feature added in Solaris 10U2. (TCP fusion is a protocol-less data path for loopback TCP connections). One of the possible workarounds for this issue is to disable TCP fusion by adding the following line in /etc/system:
    set ip:do_tcp_fusion = 0x0
    The Sun Info Doc 86046 available on sunsolve explains the various TCP fusion related tunables.

  • Dbsnmp unable to connect to SNMP master agent

    DBSNMP for 32-bit Windows: Version 9.2.0.1.0 - Production on 13-JAN-2006 10:58:24
    Copyright (c) 2002 Oracle Corporation. All rights reserved.
    System parameter file is C:\oracle\ora92\network\admin\snmp_ro.ora
    Log messages written to C:\oracle\ora92\network\log\dbsnmp.log
    Trace information written to C:\oracle\ora92\network\trace\dbsnmp_728.trc
    Trace level is currently 0
    NMS-00001: Warning: dbsnmp unable to connect to SNMP master agent
    I get the above message as dbsnmp.log every day in my testdb.. wat is the purpose and meaning
    oracle_home\network\log

    Hmmmmm.
    Using the online error code lookup facility in the Oracle documentation, I see the following:
    NMS-00001: Warning: service unable to connect to SNMP master agent.
    Cause: An SNMP Master Agent is used to communicate with a third party SNMP monitoring console. The specified service could not contact the SNMP master agent. The master agent supported by Oracle for this platform is not installed, or has not been started. Messages specific to this platform follow.
    This is a warning and does not prevent the agent from communicating with the console. If Oracle Enterprise Manager is the only monitoring console accessing this agent, the NMS-00001 error can be considered informational and should be ignored. Configuration of the SNMP Master Agent is not reguired for the Oracle Enterprise Manager Console.
    Action: Consult Oracle documentation for your platform; then, make sure that the correct SNMP master agent is installed and started. The SNMP Master Agent and the Oracle Intelligent Agent must be configured correctly before the Oracle Intelligent Agent can communicate over SNMP to the Master Agent.
    The Oracle Intelligent Agent needs to be configured. The 7.3.2.x agent required an SNMP.ORA file. All later versions of the Oracle Intelligent Agent are self-configuring and do not reguire the creation of an snmp.ora file.
    Solution Explanation
    1. The Oracle Intelligent Agent needs to be configured. The 7.3.2.x agent required an SNMP.ORA file. All later versions of the Oracle Intelligent Agent are self-configuring and do not reguire the creation of an snmp.ora file.
    2. The SNMP Master Agent needs to be configured and started.
    There is even more. Especially in the are of 'how to configure and start'. Can wee look that up for you as well?

  • Dialog between the SNMP Master Agent and a SNMP SubAgent

    I have developped a SNMP SubAgent. The Master Agent uses the static method to register the SubAgent. In the Registration File of the SubAgent, I have specified the UDP port number (example: port = 1234). When the SubAgent is started (by the MasterAgent), it must open the UDP port specified in the Registration File. The dialog works fine between the SubAgent and the Master Agent.
    I would prefer not to specify the UDP port number in the Registration File so that the Master Agent chooses itself a free UDP port number. But the SubAgent needs to know this UDP port number to dialog with the Master Agent. I thought the SubAgent could read it in the Status File of the Master Agent. BUT in fact, when the Master Agent invokes the SubAgent, its Status File isn't yet updated with the right port number value.
    How may the SubAgent know the UDP port number chosen by the Master Agent ?
    NB: I haven't use the SunOS SNMP toolkit to develop the SubAgent.

    Hi ,
    Good question.
    The subagent only communicates via the port 161 with the master agent as per my understanding. It only listens for SNMP request on the port number mentioned in the <<agentname>>.rsrc file or the port assigned by the master agent. Please start the subgent with no options "-d 4" and then you can confirm the behaviour. Enclosed below is a snippet of that output for reference. Also the UserGuide at the following link will be helpful.
    http://www.sun.com/software/entagents/docs.html
    Thanks
    Sujeet
    <pre>
    ./init.snmpdx start
    PDU:
    version: 0
    community: public
    type: SET_REQ_MSG (0xa3)
    request id: 0
    error status: noError(0)
    error index: 0
    name: 1.3.6.1.4.1.42.2.15.5.0
    type: OCTET STRING (0x4)
    length: 8
    value: snmpdemo ( 73 6e 6d 70 64 65 6d 6f )
    PACKET:
    30 30 02 01 00 04 06 70 75 62 6C 69 63 A3 23 02
    01 00 02 01 00 02 01 00 30 18 30 16 06 0A 2B 06
    01 04 01 2A 02 0F 05 00 04 08 73 6E 6D 70 64 65
    6D 6F
    sent 50 bytes to sump.161<< received 50 bytes from sump.161
    PACKET:
    30 30 02 01 00 04 06 70 75 62 6C 69 63 A2 23 02
    01 00 02 01 00 02 01 00 30 18 30 16 06 0A 2B 06
    01 04 01 2A 02 0F 05 00 04 08 73 6E 6D 70 64 65
    6D 6F
    PDU:
    version: 0
    community: public
    type: GET_RSP_MSG (0xa2)
    request id: 0
    error status: noError(0)
    error index: 0
    name: 1.3.6.1.4.1.42.2.15.5.0
    type: OCTET STRING (0x4)
    length: 8
    value: snmpdemo ( 73 6e 6d 70 64 65 6d 6f )
    </pre>

  • Ports used for Intelligent agent and snmp master agent

    I could not find any documentation regarding which ports are used for communication between master and intelligent
    agent. Moreover which port has to be mentioned if I use snmpget for the master agent. Please let me also know if I use a
    management platform like CA-Unicenter with which port I have to send the traps and where to configure.
    Thanks
    Pragati Awasty

    John Ross Hunt (guest) wrote:
    : Once libtcl7.5.a is built and copied to the
    : $ORACLE_HOME/network/lib directory, can the rest of the
    : installation in /usr/local be deleted?
    Yes, all that Oracle needs is the library to link in.
    - Phil
    null

  • WLS as SNMP subagent in Win2K

    Does the SNMP agent in WLS 7.0 have the ability to be configured as a
    subagent (extension agent) for the Win2K SNMP Service? If so, would
    someone supply the steps for configuration?
    Thanks.
    Tom Albrecht

    Hi Ludovic,
    I'm facing the similar problem on my directory server in China: SNMP subagent process could start firstly, but after several seconds (around 20 seconds) the process will be terminated automatically.
    I could open SNMP master agent successfully.
    #cd /var/opt/mps/serverroot/plugins/snmp/magt
    #./magt CONFIG INIT &
    #ps -ef | grep agt
    root 761 1 0 14:23:40 ? 0:00 ./magt CONFIG INIT
    I could run SNMP subagent process but after 20 seconds the SNMP subagent process is terminated.
    #/var/opt/mps/serverroot/bin/slapd/server/sparcv9/ns-ldapagt -d /var/opt/mps/serverroot/slapd-srd2
    Command was performed without any error, and then do ps -ef | grep agt, I could see "slapd-srd2" process is running.
    but after around 20 seconds when I do "ps -ef | grep agt" again, process "slapd-srd2" was gone:
    I tried to add "-D" in the last command and got following debug info in /var/opt/mps/serverroot/slapd-srd2/logs/nsldapagt.log
    In agt_setup_sock_addr():host_name = srd2; Port=1199
    get_ip_by_name() returened s_addr = 1 for srd2
    doing the good return
    smux connect failure: Network is unreachable
    /var/opt/mps/serverroot/bin/slapd/server/sparcv9/ns-ldapagt: mgmt_init_env fialure! Exiting. Make sure the SNMP master agent is running
    I tried to ping srd2, result is "alive", "srd2" is "132.197.198.41". I tried to change "srd2" to OAM IP address "132.197.198.41", the problem is still there.
    Solution I tried
    I tried to modify /etc/system, add "set ip:do_tcp_fusion = 0x0", then restart server, but it doesn't help me, I still have that problem.
    I tried to re-install directory server application, but the problem is still there.
    I saw your reply above, you mean this could be the problem of 32bit or 64bit, could you give me more information, I even don't know how to check if I'm running process on 32bit or 64bit.
    Thank you so much!
    BR/Carrie

  • Problem in SNMP monitoring of Sun One Webserver  on AIX

    Hi,
    I am trying to configure SNMP subagent configuration on Sun One Webserver 6.1 (sp2) running on Aix 5.3 system.
    I am able to start the Agent & the Native agent. But I am not able to poll the values.
    Can any one guide me how to debug the issue.
    (The same works properly with snmp master agent provided as part of Webserver).
    Also confirm which mib file should be used.
    The document in Webserver still shows netscape oid to be added in smux of aix.
    Regds
    Ravi

    http://forum.java.sun.com/thread.jspa?threadID=5308944&tstart=0
    Sun Java System Web Server 7.0 Update 3 released
    Jun 27, 2008 7:26 AM
    Sun Java System Web Server 7.0 Update 3 has been released. In additional to stability, performance, and security enhancements this release adds:
    o Support for AIX 5.3 and 6.1
    o Support for auto-deployment of WAR files
    o Performance enhancements that contributed to the record setting benchmark performance http://www.sun.com/servers/coolthreads/t5220/benchmarks.jsp#4 of the T5220 systems from Sun
    All users of prior releases of Java System Web Server 7.0 are encouraged to upgrade.
    Release Notes http://docs.sun.com/app/docs/doc/820-4848
    Download http://tinyurl.com/4l7yed

  • SNMP Solstice Master agent

    Hi All,
    I have a Subagent that talks with SNMP Solstice Master Agent on solaris 8. For the set requests sent by the Command line or Manager the Master Agent breaks the PDU into multiple set requests and then sends them one by one(with 1 variable at a time) to my Subagent.How can I avoid this break up of PDU at SNMP Master agent.
    Thanks
    Priya

    Hello:
    I created exactly as you specified. I.e weblogic.reg, weblogic.rsrc, weblogic.acl. But the issue I have is My weblogic snmp agent is listening on port 8061. Snmp demon on 161. So when I request the Snmp demon with OID of weblogic object. I am not getting the result also call is not reaching weblogic agent. Instead I am getting no such name or OID. So I am wondering why snmp demon is not forwarding the request to snmp demon.
    Also Could you please explain the execution sequence of snmp demon and where you think I need to look at. Also please explain the constructs used in reg/acl/rsrc files.
    Note:
    I am using wls 6.1 sp2. So just my starting admin server. The enabled snmp gets started. Also I configured snmp demon so that when ever it gets started the weblogic server also starts. Also there is no issue in receiving traps.
    Thanks in Advance.
    Vijay

  • Weblogic SNMP Agent with WindowsNT SNMP Agent

    Can I setup Weblogic SNMP agent as a sub-agent to Windows NT SNMP agent (Microsoft's version)? According to documentation, sub-agents for Microsft's SNMP agent need to be implemented as 32-bit multithreaded DLLs using the Microsoft SNMP API. Does Weblogic have DLLs that we could use for this purpose?
    If that is not possible, is there a roadmap on how to provide the same support as the Microsoft's SNMP agent under Weblogic SNMP agent so that the Weblogic agent would provide the same visibility into the system that the Microsoft's agent does by default? Is this even possible?
    Thanks.

    "Sanjeev Mishra" <[email protected]> wrote:
    >
    Does anyone know how to make Microsoft's SNMP Master Agent run on a different port?
    I figured this out. It uses the 'snmp' setting from the services file. Just changing that works. Would have been more convenient if there was also a command line flag for that purpose.
    Thanks.
    "Sanjeev Chopra" <[email protected]> wrote:
    Sanjeev Mishra <[email protected]> wrote in message
    news:39fde7f2$[email protected]..
    Can I setup Weblogic SNMP agent as a sub-agent to Windows NT SNMP agent(Microsoft's version)? According to documentation, sub-agents for Microsft's
    SNMP agent need to be implemented as 32-bit multithreaded DLLs using the
    Microsoft SNMP API. Does Weblogic have DLLs that we could use for this
    purpose?
    No.
    However, you can have the WLS agent proxy for the NT agent. e.g. you can run
    the NT agent on a non-standard port and the WLS agent on 161 and then use
    '-otherAgents' option so that the WLS agent will forward any reqs for the NT
    agent MIB to that agent. In this setup the SNMP Manager can view that node
    as one SNMP entity which supports the WLS MIB + NT MIB
    See http://www.weblogic.com/docs51/admindocs/snmpagent.html#use_agent for
    details.
    If that is not possible, is there a roadmap on how to provide the samesupport as the Microsoft's SNMP agent under Weblogic SNMP agent so that the
    Weblogic agent would provide the same visibility into the system that the
    Microsoft's agent does by default? Is this even possible?
    Thanks.

  • SNMP stat isn't updated by Sun WebServer if started from comand line

    Reproduce steps:
    - Configure server instance for SNMP monitoring( from webconsole or server.xml)
    - restart snmp master agent and subagent server
    - start server (/opt/SUNWwbsvr/https-server1/start)
    Server information appears in SNMP start but its status(1.3.6.1.4.1.42.1.60.1.1.8) is always 0.
    Woraround: start/stop sevrer from web admin console
    and it starts to update SNMP start for next command line launches
    Problems appears at
    version: 6.1 SP4
    platforms: Linux RHEL3, AIX.
    (At Window all is fine.)
    I'm wondering if somebody met this problem and perhaps knows the sollution.

    Can you do the following and let us know the result :
    (a) ps -ef | grep httpagt
    (b) send a SIGHUP signal to httpagt process and then try to access after few seconds to see if it updates the status of the server.
    kill -HUP <pid of httpagt>
    (c) Can you see any log in <install_root>https-admserv/logs/log.httpagt ?
    Are you running both instance and admin server as different users?

  • WLS new installation SUN or Oracle JDK?

    hi all,
    i am in the middle of installing WLS the first time. can you give me your opinion whether i should stick with SUN JDK or Oracle JDK?
    given my history i am very familiar with handling SUN JDKs and have no clue about Oracle JDK...
    BUT which one of the two is better when running WLS?
    regards chris

    Hi Chris,
    Sun JDK and JRockit both are built on the same source, in fact JRockit uses Sun API. Both has pros and cons.
    When coming to JRockit you will be able to find support from weblogic team where Oracle has separate engineering team for JRockit. However there are lot of dependencies on Sun JDK.
    As Ravi said now Sun is also part of Oracle so its your option to do the selection.
    To find out the differences between Sun and JRockit please refer the following:
    "Differences between Sun JVM and JRockit" in http://crkthoughts.blogspot.com/2009/12/weblogic-faqs.html
    HTH
    Regards,
    RC2

Maybe you are looking for

  • How can I transfer photos from iPad to iPad

    I have two iPads and want the photos I have on one to be shared with the other one. How can I do this?

  • Max # of Objects in a universe

    Is there a max # of objects in a cube that can be consumed by a universe (BI 4.0)?  I am trying to place a universe on top of a large BW (7.3 SPS 5) cube.  I am able to create the universe just fine, but when I try to refresh the structure the design

  • "TO" field in outgoing mail and choosing contact persons

    Hi, We are implementing the IC in the CRM version 6. When the agent is preparing the outgoing mail the only mail that arrives to the "TO" field is the mail from the customer. Now if the agent wants to add some more contact persons to the "TO" field t

  • Zgate abap development inputs need for sap mm point of view

    Hi All. Loooking for sap mm zgate module inputs. Thanks in advance sap mm forum members. Regards. Parameshwar

  • Transcoding

    Looong story short, I was working on a project for a friend that I started out on PC and FINALLY moved the project over to a MAC to finish it. The video camera's original format was MPEG. (I converted the files to .MOV, thinking it would be more comp