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.
Similar Messages
-
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\logHmmmmm.
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? -
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
RobertHello:
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 -
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
RobertRobert 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 -
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 AwastyJohn 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 -
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
PriyaHello:
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 -
I cannot add SNMP legacy agent to SunMC
Hi there,
I have problems with adding my SNMP legacy agent to SunMC, I would appreciate any suggestions/solutions.
I wrote a SNMP agent using SNMP4j. It works well when stand alone. Then I try to add it to SunMC as a legacy agent. I followed the steps listed in the document "Sun Management Center 3.6.1 Installation and configuration Guide":
1, I modify the file "/var/opt/SUNWsymon/cfg/subagent-registry-d.x"; the main part that I I added is,
type = legacy
persist = false
snmpPort = "4650"
startCommand = "java -cp /profilium/SNMP4j/lib/log4j-1.2.9.jar:/profilium/SNMP4j/target/classes:/profilium/snmp-exercise snmpexercise.SnmpSend"
pollInterval = 60
pollHoldoff = 60
oidTrees = 1.3.6.1.4.1.23460
snmpVersi = SNMPv2c
securityLevel = noauth
securityName = public
I think in the modification, the tricky part is the 'startCommand'. I use the java command to start my agent, as it works at the Unix command line.
2, then I stop and restart Sun MC to make the changes effective.
The SunMC doesn't complain anything when I restart it. ~But~, after I reopen the SunMC console, I don't see anything added there. Everything looks the same as before.
Is there anything wrong with what I did? Or, I have to configure more things in the SunMC?
Thank you for advices.
XinxinIf I want to integrate my application into SunMC, ie
get/set SNMP parameters and receive traps, do I need
to hardcode all OID in the module?
Ideally, I would write a module that would proxy all
SNMP traffic to the manager server which would then
make it available to the console. This only
information I would give the module is the port
number to connect to and the port number to receive
traps. Is this possible?It doesn't quite work like that. Even if you have SunMC proxy snmp requests for your other snmp process... it won't be displayed in the Console. Basically all you're gaining is the ability to send all snmp traffic to a single port (SunMC's) and it passes along those requests on your behalf. I'd say that's not too popular a solution.
A better way to do things is to write a "module" for SunMC, and that module would know the OIDs in your manager that you're interested in. That way your data would show up properly in the Console, and you'd get access to all of SunMC's other features for "free" (i.e. setting alarms on thresholds, sending email, running scripts when bad things happen, a history of alarms in the SunMC database, and the ability to graph/report your values over time from the SunMC PRM addon).
A module is the official way of registering your other snmp process. So it depends on what you want to do... do you want SunMC to just manage the SNMP traffic for you... or do you want all the alarming/trending/graphing GUI features as well?
If you're not too sure about building a module you can have Halcyon build that part for you (we probably only need the MIB for your SNMP program/device). We're very good at it since we've been building SunMC modules for years :)
http://www.halcyoninc.com/products/a-z.php
Regards,
[email protected]
http://www.HalcyonInc.com -
Com.adventnet.snmp.snmp2.agent.AgentRuntimeException
We have 2 WL 5.1 clusters deployed on two HP-UX 9000 machines. Both servers are
running HP OV (Open View) SNMP agent to feedback snmp traps back to another OV
mangemnet server (ovvpm). ov agent is running ok and feedback trap info to ovvpm.
But question is we're getting following message when startup WL SNMP agent:
$ ./startSNMPAgent.sh
Exception in thread "main" com.adventnet.snmp.snmp2.agent.AgentRuntimeException:
Failure in opening SnmpSession, errstat: 0, errvalue: 0
at com.adventnet.snmp.snmp2.agent.SnmpAgent.addClientAndOpenSession(SnmpAgent.java:801)
at com.adventnet.snmp.snmp2.agent.SnmpAgent.restartSnmpAgent(SnmpAgent.java:939)
at com.adventnet.snmp.snmp2.agent.SnmpAgent.restartSnmpAgent(SnmpAgent.java:955)
at com.adventnet.snmp.snmp2.agent.SnmpAgent.setPort(SnmpAgent.java:1034)
at weblogic.management.snmp.agent.BEA_WEBLOGIC_MIB.initBEA_WEBLOGIC_MIB(BEA_WEBLOGIC_MIB.java:38)
at weblogic.management.snmp.agent.BEA_WEBLOGIC_MIB.<init>(BEA_WEBLOGIC_MIB.java:109)
at weblogic.management.snmp.agent.BEA_WEBLOGIC_MIB.<init>(BEA_WEBLOGIC_MIB.java:90)
at weblogic.management.snmp.agent.WebLogicAgent.<init>(WebLogicAgent.java:390)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:241)
at weblogic.SNMPAgent.main(SNMPAgent.java:24)
the setup of startSNMPAgent.sh is
$JAVA weblogic.SNMPAgent -password password -serverURLs t3://web64:8001 -trapDes
tinations ovvpm:162
even we setup with -snmpPort it still doesn't work anyway. Your input will be
greatly appreciated.Please post on 6.0 beta management newsgroup
- Prasad
Hoang Kieu Chau wrote:
> Hi,
>
> I can not start SNMPAgent.sh. The error is :
>
> Exception in thread "main"
> com.adventnet.snmp.snmp2.agent.AgentRuntimeException:
> Failure in opening SnmpSession, errstat: 0, errvalue: 0
>
> at java.lang.Throwable.fillInStackTrace(Native Method)
> at java.lang.Throwable.fillInStackTrace(Compiled Code)
> at java.lang.Throwable.<init>(Compiled Code)
> at java.lang.Exception.<init>(Compiled Code)
> at java.lang.RuntimeException.<init>(RuntimeException.java:47)
> at
> com.adventnet.snmp.snmp2.agent.AgentRuntimeException.<init>(AgentRunt
> imeException.java:63)
> at
> com.adventnet.snmp.snmp2.agent.SnmpAgent.addClientAndOpenSession(Snmp
> Agent.java:801)
> at
> com.adventnet.snmp.snmp2.agent.SnmpAgent.restartSnmpAgent(SnmpAgent.j
> ava:939)
> at
> com.adventnet.snmp.snmp2.agent.SnmpAgent.restartSnmpAgent(Compiled Co
> de)
> at com.adventnet.snmp.snmp2.agent.SnmpAgent.setPort(Compiled
> Code)
> at weblogic.management.snmp.agent.WebLogicAgent.init(Compiled
> Code)
> at
> weblogic.management.snmp.agent.WebLogicAgent.startup(WebLogicAgent.ja
> va:377)
> at weblogic.SNMPAgent.main(SNMPAgent.java:25)
>
> Any help would be greatly appreciated
-
SNMP peer Agent configuration in Oracle9i
Dear All,
For monitoring of database we are configuring a tool. To get data from database SNMP peer agent must be configured and started. In the service list window we have checked SNMP service is there but SNMP peer Agent service is not available. We have tried to configure the SNMP as per oracle documentation but failed. Now tool is getting data of server but not for database. We are using oracle version 9.2.0.1.0 enterprise edition and os windows 2003 server.
So what to do to configure the SNMP peer agent. Waiting four valueable suggestion.Hi,
Iplanet does not support for it's products being installed on linux or snmp for linux. -
Running snmpdx with Sun JES Sun-agent?
Dear folks,
Does the Sun JES server have a separate SNMP sun agent?
I want to run the Solaris SNMP agent (snmpdx) as master agent with the Sun JES sub-agent. Is it possible?
Thanks in advance.
T DangDear 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 -
Problems with language dependent master data
Hi,
I created a InfoObject with language dependent master data and I am trying to upload data from a flat file.
My flat file has a 2 digit language code (EN,DE,FR,JP,ES) and when uploading the data it seems that SAP BW is only using the first digit which leads to the situation that EN and ES get treated as duplicate records.
Any help would be appreciated
thanks
Ingo HilgefortHi,
ES is the Language for spanish..But the Flat file should have to represent 'S' for Spanish.
Check in Table T002 for the symbols which represent Languages and that to be used in flat file. -
PO created by means of Workflow with out Vendor master updates
Hi Friends,
I have my scenario like this. I am working with Production server. When ever a request is created, it has to be sent for Vendor master data updates. then only a PO has to be created. The problem is the PO is created and the workflow is completed with out vendor master updates. When i check through SWI6 the step is just skipped. In the graphical view the steps vendor master update i.e tru descion and other wait step types are disappeared. but in the original workflow the steps are present. can any one pls help me in solving this?
Thanks,
Archana.Hi Arghadip,
Thanks for the reply. The process is like this :
when once request is created , it will fetch the email id of the approver from LDAP
Then 2 approval steps are there. first approval is not mandatory. second is mandatory and its having terminatting event.
After this Amendment descion will be there. on rejection of this descion it has to go and update vendor master. Until the amendments the process is going on. after this vendor master update will be there . it includes wait steps to finish the update. then PO has to be created. but from vendor descion to wait event the steps are disappeared when i checked in SWI6 for that user. pls help me. -
Purchase requisition with out material master - options
Hi experts
I wish to establish a control in Purchase requisition that, when the user enters item with out material master record (only enters text), system should give a pop for decision options yes or no.
Please let me know the userexit useful to map this while saving the document.
regards
mariasHi
This userexit is specifically for Customers' Own Data in Purchase Requisition. we need to provide data. My scenario does not involve entry of new data and to verify the PR item data already entered.
regards
marias
Maybe you are looking for
-
Build error while creating a DC
Hi All I am trying to expose a project component in some other project using the <i><b>development components (DCs)</b></i> but when I try to build the DC after putting the required component in the Public part of the project it removes the external
-
I have the latest version of Flash Player, the latest version of Firefox and my system is a Windows 7 64-bit. Every time I view a Flash Player window, the green color is offset down about one-quarter of the window. This makes it difficult to use Fire
-
How to change settings to view JPEG images?
I have a Gmail account and when I attempt to view Jpeg images on emails in a larger size I get a blank page with a crossed box in one corner . How can I change settings on my PC to view the images?
-
Guys. I am planning oracle certified associate in PL/SQL Developer for oracle 11g. Then i went into the following link http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=39 Then selected Application Developer -> Database -
-
Hi friends, Can anybody let me to know how to change a bom component in a existing BOM with the use of BAPI. Say for example i am having a bom structure for A. I want to change a line item named A1 which is a component without having the who