WLS SNMP Agent questions ?
1- What version of SNMP does the WLS SNMP agent use ?
( IMO, it is the SNMPv2)
2-Is it possible to use the WLS SNMP Agent to register our own MBean ? ( is
there a Factory , or an entry in JNDI ? )
3- In the case, I develop my own JMX Agent, is this agent clusterable ? or
should I have several JMX Agent running , with Dynamic MBeans( because we
don't know on which machine in the cluster a MBean is ) ?
Guillaume
Please see below.
Guillaume Compagnon wrote:
>
1- What version of SNMP does the WLS SNMP agent use ?
( IMO, it is the SNMPv2)Yes.
>
2-Is it possible to use the WLS SNMP Agent to register our own MBean ? ( is
there a Factory , or an entry in JNDI ? )Not yet. We plan to do that sometime soon.
>
3- In the case, I develop my own JMX Agent, is this agent clusterable ? or
should I have several JMX Agent running , with Dynamic MBeans( because we
don't know on which machine in the cluster a MBean is ) ?You'll have to implement the clustering machinery yourself for your
agent. Or, have a separate agent for each WLS instance.
>
Guillaume
Similar Messages
-
[Q] WLS SNMP Agent questions?
Hello, all
I am attaching the weblogic.properties, startWebLogic.cmd and
startSNMPAgent.cmd
I started the weblogic server 5.1 on port 7001.
Then started the SNMP agent using the command
"%JAVA% weblogic.SNMPAgent -password system -snmpPort 161 -serverURLs
t3://210.182.160.120:7001 -community public -debugLevel 3 -trapDestinations
210.182.160.111:162".
210.182.160.120 : WebLogic Server 5.1
210.182.160.111 : Trinity(NMS)
Then I tried to access the "serverState" variable using the command
"java snmpgetnext localhost .1.3.6.1.4.1.140.600.20.1.20"
"java snmpgetwalk localhost .1.3.6.1.4.1.140.600.20"
But i am getting the following error.
Response PDU received from localhost/127.0.0.1, community: public
Error in response. There is no such variable name in this MIB.
Index: 1
Errored Object ID: .1.3.6.1.4.1.140.600.40.1.10
How can I solve this problem?
Thanks in advance...
Have the pretty day. ^^;
[2.startSNMPAgent.JPG]
[3.snmp_command.JPG]
[4.SNMPAgentWhenSNMPGet.JPG]
[1.startWeblogic.JPG]Please see below.
Guillaume Compagnon wrote:
>
1- What version of SNMP does the WLS SNMP agent use ?
( IMO, it is the SNMPv2)Yes.
>
2-Is it possible to use the WLS SNMP Agent to register our own MBean ? ( is
there a Factory , or an entry in JNDI ? )Not yet. We plan to do that sometime soon.
>
3- In the case, I develop my own JMX Agent, is this agent clusterable ? or
should I have several JMX Agent running , with Dynamic MBeans( because we
don't know on which machine in the cluster a MBean is ) ?You'll have to implement the clustering machinery yourself for your
agent. Or, have a separate agent for each WLS instance.
>
Guillaume -
Java Exception when attempt to start the SNMP agent
Hi,
I require to start the SNMP agent in Solaris 2.6 running Web Logic 5.1. Upon entering
the command :
$ java weblogic.SNMPAgent, it is asking me for the password , and I gave the same.
The system is
generating a Java Exception given below:
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>(AgentRuntimeException.java:63)
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(CompiledCode)
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.java:377)
at weblogic.SNMPAgent.main(SNMPAgent.java:25)
Given below is the file <startSNMPAgent.sh> and it's central contents:
$JAVA weblogic.SNMPAgent -password pbgst -serverURLs t3://localhost:7001 -trap
Destinations localhost:162
The classpath settings are correct and as per documentation.
There are SNMP agents also running in the machine which have been started by default
by Solaris,
doing a ps -ef | grep snmp shows:
root 556 1 0 Jun 23 ? 0:00 /usr/lib/dmi/snmpXdmid -s sunhyd01
root 516 1 0 Jun 23 ? 0:00 /usr/lib/snmp/snmpdx -y -c /etc/snmp/conf
pbgst 28090 25879 0 17:01:37 pts/32 0:00 grep snmp
I tried to start the SNMP agent on a diff. port and specified the same in the
.sh file and also changed the
trap Destinations port ---- it still generates the same exception.
Please do try to resolve this problem for me, as the project is in production
phase.
Thanks for all help beforehand.
Baivab
P.S. How can I obtain the id for WebSupport center, as we have using WL licensed
product
recently purchased in 3 nos.Hello,
way back we had the same problem and the reason was, that the path
names with the server instances were to long
(/opt/wlsroot/wlsInstances/axsExpert.SwissAir/S_243_7001 ->
/opt/wlsroot/wlsInstances/axsExpert.SAir/S_243_7001). But this was
with WLS 5.1 SP8.
Regards
Wolfgang Becker
Atraxis
On 9 Jul 2001 23:02:29 -0800, "Baivab Mitra"
<[email protected]> wrote:
>
Hello Michel,
Thanks for the reply. As you may have noticed, that the SNMP agents which are
already running, the owner is <root>. These services are required and I do not
have or I can not obtain the password to start/stop the same. As such, the only
option which I have is to start the weblogic-specific SNMP service in a different
port. Question: In the parameters, I specified : <snmpPort 1600 trace Destinations
1601> I am still getting the same error. What else is required and/or how do I
proceed to start the same service?
Thanks for your help beforehand,
Baivab
"Michael Girdley" <----> wrote:
It looks like another SNMP agent has already bound to the port.
Michael Girdley
BEA Systems
Learning WebLogic? http://learnweblogic.com
"Baivab Mitra" <[email protected]> wrote in message
news:[email protected]...
Hi,
I require to start the SNMP agent in Solaris 2.6 running Web Logic5.1.
Upon entering
the command :
$ java weblogic.SNMPAgent, it is asking me for the password , and Igave
the same.
The system is
generating a Java Exception given below:
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)
atcom.adventnet.snmp.snmp2.agent.AgentRuntimeException.<init>(AgentRuntimeExce
ption.java:63)
atcom.adventnet.snmp.snmp2.agent.SnmpAgent.addClientAndOpenSession(SnmpAgent.j
ava:801)
atcom.adventnet.snmp.snmp2.agent.SnmpAgent.restartSnmpAgent(SnmpAgent.java:939
atcom.adventnet.snmp.snmp2.agent.SnmpAgent.restartSnmpAgent(CompiledCode)
at com.adventnet.snmp.snmp2.agent.SnmpAgent.setPort(CompiledCode)
at weblogic.management.snmp.agent.WebLogicAgent.init(CompiledCode)
atweblogic.management.snmp.agent.WebLogicAgent.startup(WebLogicAgent.java:377)
at weblogic.SNMPAgent.main(SNMPAgent.java:25)
Given below is the file <startSNMPAgent.sh> and it's central contents:
$JAVA weblogic.SNMPAgent -password pbgst -serverURLst3://localhost:7001 -trap
Destinations localhost:162
The classpath settings are correct and as per documentation.
There are SNMP agents also running in the machine which have been startedby default
by Solaris,
doing a ps -ef | grep snmp shows:
root 556 1 0 Jun 23 ? 0:00 /usr/lib/dmi/snmpXdmid-s
sunhyd01
root 516 1 0 Jun 23 ? 0:00 /usr/lib/snmp/snmpdx -y-c
/etc/snmp/conf
pbgst 28090 25879 0 17:01:37 pts/32 0:00 grep snmp
I tried to start the SNMP agent on a diff. port and specified the samein
the
sh file and also changed the
trap Destinations port ---- it still generates the same exception.
Please do try to resolve this problem for me, as the project is inproduction
phase.
Thanks for all help beforehand.
Baivab
P.S. How can I obtain the id for WebSupport center, as we have usingWL
licensed
product
recently purchased in 3 nos. -
How to configure SNMP agent for Oracle 10g
Hello,
I've installed oracle 10g in a Windows 2000 SP4 and I want to monitor database using SNMP.
I've already installed Windows SNMP agent but I haven't any idea how to configure Oracle in order to grant SNMP monitoring.
What should I do?
Is Oracle database ready to be monitored via SNMP by default?
Thanks in advance for your help.
Regards,
CarlesHello,
Thanks for your message.
In fact, I already found this doc in oracle, but it just show executables I have to install and my question can I install these executables.
I've already installed Windows SNMP agent, configured and testedwith disk space checkings, but it doesn't work fine with Oracle.
I launched Oracle Universal Installer and I checked Installed Products, but I haven't found how to install SNMP agents for oracle.
How can I add Oracle Peer Master Agent and Encapsulator to my oracle installation?
Thanks again for your help.
Regards,
Carles -
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. -
I have a question.If i have a SNMP configuration in a switch 4510r, is there any posibility to reach the snmp server without the community command and without the server snmp command??????I have only this lines on the configuration.THANKSSS.
snmp-server engineID local 8000000903000025841E8C38
snmp-server trap-source Vlan10
snmp-server source-interface informs Vlan10
snmp-server packetsize 1024
snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
snmp-server enable traps config-copy
snmp-server enable traps config
snmp-server enable traps config-ctid
snmp-server enable traps syslogIf i have configured the communities and the server lines on the device, what could be the possible issue when the SNMP server reach the switch but the switch doesn´t respond to the request, and when i use the command #show snmp, we have an output in this way:THANKS FOR YOUR HELP
switch#show snmp
Chassis:
Contact: GISN Americas Network - tel: 978-858-7000
0 SNMP packets input
0 Bad SNMP version errors
0 Unknown community name
0 Illegal operation for community name supplied
0 Encoding errors
0 Number of requested variables
0 Number of altered variables
0 Get-request PDUs
0 Get-next PDUs
0 Set-request PDUs
0 Input queue packet drops (Maximum queue size 1000)
145568 SNMP packets output
0 Too big errors (Maximum packet size 1024)
0 No such name errors
0 Bad values errors
0 General errors
0 Response PDUs
145568 Trap PDUs
SNMP global trap: enabled
SNMP agent enabled
SNMP logging: enabled
Logging to 131.98.27.6.162, 0/10, 34282 sent, 0 dropped.
Logging to 192.97.141.173.162, 0/10, 1721 sent, 0 dropped.
Logging to 192.97.141.176.162, 0/10, 1721 sent, 0 dropped.
Logging to 192.97.141.55.162, 0/10, 1721 sent, 0 dropped. -
Hi All,
Can anybody tell me how to use SNMP Agent to monitor the Access and Identity ServersHi Ramesh,
I cannot comment on WebLogic & SNMP - this kind of questions would
probably need to be asked on a WebLogic forum.
If you're looking for an SNMP Manager API though, you may want to have a
look at the Java Dynamic Management Kit (commercial product,
free evaluation):
http://java.sun.com/products/jdmk/index.jsp
Hope this helps,
-- daniel
JMX, SNMP, Java, etc...
http://blogs.sun.com/jmxetc
null -
Does SNMP agent on the admin server polls managed objects automatically?
Hi All,
If I enable SNMP agent on the admin server, does it mean that it polls and caches MIB of all the managed servers in the domain and return it if a client requests for information or it polls and caches that MIB value only when requested?
2)Suppose a client requests for SNMP data of a managed instance and the instance is down, does admin server keep polling or does it timeout after a number of secs or retries. I don't see any config params in weblogic 8.1.3 or weblogic 9.0 console.
Thanks. I appreciate your answers.
Thanks,Are you saying the notes are incorrect?
No, I wasn't commenting on that at all. I was just saying that DBUA is the recommended way of upgrading databases... and that's in spades if you're talking about 100GB databases.
I'll lay odds that DBUA to 10.2.0.1 and then patching to 10.2.0.3 is quicker than exporting and importing 100GB of data.
(Applying a 10.2.0.3 patch is done with opatch and doesn't require a fresh installation of Oracle. A patch mostly just modifies the data dictionary: it's finished in minutes, not hours).
My real point: these sorts of questions are incredibly easy to ask, answer, discard, re-ask, modify, mull over and basically experiment with in a virtual environment.
And again: it's utterly bizarre why you wouldn't have physical access to this database (and keep in mind that I can't keep in mind little nuggets of information such as this one which you didn't see fit to share earlier!)
It's in a virtual server. Virtual servers can be zipped up and emailed! (OK, maybe not 100GB... but I've shipped a small hard disk in a zip-lok pack envelope half way round the world before now -though obviously it wasn't critical to have the contents of that envelope available for use all the time... Still, it sounds to me like here's a technology (virtualisation) that's not being properly exploited). -
Pl. tell me can I download the evaluation version of snmp agent development kit
of BEA , that kit can be used to develop the agent as per my
private MIB.
Pl. give also the URL to download it .
thanks
Subodh
Anil Kommareddi <[email protected]> wrote:
Solved my own problem.
I had NT's SNMP agent service started on the server. I stopped it and
was able to start
WebLogic's SNMP agent.
Anil Kommareddi wrote:
Hi,
I'm trying to start the SNMP agent on my local development box andam
getting this exception. I cannot find any docs on this. Please help...
My WLS is listening on port 9001.
java weblogic.SNMPAgent -serverURLs t3://localhost:9001
-trapDestinations localhost:162
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.WebLogicAgent.init(WebLogicAgent.java:458)
at
weblogic.management.snmp.agent.WebLogicAgent.startup(WebLogicAgent.java:377)
at weblogic.SNMPAgent.main(SNMPAgent.java:25)
Thx,
Anil Kommareddi
InsWeb Corp. -
Hi,
I'm using jdmk snmp adaptor to develop an snmp agent. I've a problem in setting the agent accessControl List. In particular I've this accessListFile (jdmk.acl):
acl = {
communities = public
access = read-only
managers = <myIpAddress> }
and in my Agent, I set acl as follow:
SnmpAdaptorServer snmpAdaptor = null;
JdmkAcl theAcl = (JdmkAcl)(snmpAdaptor.getInetAddressAcl());
theAcl.setAuthorizedListFile("myAclPath"+jdmk.acl");
theAcl.rereadTheFile();
No Exception has been raised, but I can access my agent via snmp from various address and with a community different from "public". So It's seems that my acl file doesn't work properly
thank in advance
lHi,
You should use a constructor that takes an InetAddressAcl instead:
SnmpAdaptorServer(InetAddressAcl acl, int port);
Simply create the acl in this way:
String aclFileName = .... ;
InetAddressAcl acl = new JdmkAcl("myACL", aclFileName);
int port = ... ;
SnmpAdaptorServer server = new SnmpAdaptorServer(acl,port);
I believe this should work. The point here is that the adaptor has a mode where if you
don't specify any ACL, and the default ACL file doesn't exists, then it will let anybody
connect. If however, you do specify an ACL, then only those hosts/communities specified
in the ACL will be authorized - and if the file doesn't exists, nobody will.
Note: you can also ask any question regarding Java DMK on project OpenDMK user's list:
https://opendmk.dev.java.net/servlets/ProjectMailingListList
Hope this helps,
-- daniel
http://blogs.sun.com/jmxetc -
Hi everybody,
I need to find a how to manual about the setup of SNMP Agent (with MIBs) everything and then i want to integrade with an NMS tool.
Thnx[http://docs.sun.com/app/docs/doc/817-3000/]
-
We're looking for a direction regarding an SNMP agent for our Solaris Platforms. The standard agent bundled with Solaris seems to have many issues and CERT outstanding advisories. I'm wondering what others out there are running, Net-SNMP?, the ESD agent bundled with Sun Management Center?, others? I've looked at the ESD agent and it looks as though this would provide Temps, Fan Speeds, etc... for our servers but it seems as though it's lacking things like 1/5/15 minute load averages, CPU/Disk utilization etc...
Any experiences are welcome!
-Steve Eastham
[email protected]hi,
The same problem with me too. Im using Net-SNMP, but may be one cant trust its reliability and even if we use Net-SNMP loading of PERL scripts/modules is difficult in solaris.
If you got /gathered any useful information please let me too know.
regards
Chenna -
How do I restart the SNMP agents with the original command line options?
I'm creating an application that changes the SNMP trap target configuration files and then restarts the SNMP agent. I'm currently working with the mibiisa agent. I want to make sure that I restart the service with the new trap targets but with the original command line options. How can I restart the mibiisa service with the same command line options that it originally loaded with?
It is not "Network Time" that is the problem, but actually "SystemStarter." SystemStarter is an interim kludge to enable the work or the old StartupItems until they can be converted to LaunchDaemons or LaunchAgents controlled by launchd. Launcd calls SystemStarter to launch all the unconverted StartupItems. ntpd is now under the control of launchd directly.
Launchctl is the command to load and unload the plist files, but I don't think it has a mechanism to restart a daemon.
There are start and stop commands in launchctl, but the man page indicates that they are for debugging purposes.
I also imagine you could just kill the ntp daemon and let it restart with new settings. It is most likely set to "keepAlive" so that it will automatically restart. -
SNMP Agent in Oracle 11.2g
Hello all
I wanted to use SNMP agent in Oracle 11.2g, but I read that this agent is deprecated from the Oracle 11G. I also read in a thread that Oracle will continue the support till 2018. Which one is true??
If I can't use SNMP agent what is your suggestion for its substitution?? Can I use Oracle Management Agent??
My Os : Microsoft Server 2000
Thatnk you alllOracle recommends to stop using SNMP going forward. Though the extended support for SNMP will be valid until Jan 2018 (Refer Metalink 1341834.1) .
The reason is not clearly given. They have mentioned that from oracle database 12 cloud control onwards , SNMP is completely removed. Probably that is the reason.
It might be okay to use it, until your environment gets upgraded to oracle 12c.
SNMP with Oracle 11g
[url http://docs.oracle.com/cd/E11857_01/em.111/e14091/chap2.htm]Configuring SNMP for Oracle
Regards
Girish Sharma -
Disable SNMP agent in Job Server
SNMP agent was enabled in job server. Since it is enabled, we cannot access windows SNMP agent. Windows SNMP and DS SNMP is using the same ports 161. We have an application which shows all the statistics of all the servers, but for DS server it not showing all the statistics.
So we are planning to disable the SNMP agent in job server. Is there any implications if i disable the SNMP agent?
DS Version 4.0It should not create any issues.
Maybe you are looking for
-
Bapi_acc_document_post: how to populate dmbtr
hi experts, I m posting AR Transaction data using bapi_acc_document_post. I populated all the fields in bapi except two fields, one is amount in local currency(DMBTR) and the other one is tax amount in local currency (MWSTS). The reason is, those two
-
Newbie #2 - got AnyConnect working, can't get to work computers
This simple solution is evading me! I successfully got AnyConnect working and I can get a VPN connection to my public static IP (69.x.x.x). I can ping devices on my home network (10.x.x.x) and surf the Internet from my home PC, but I can't ping any c
-
Support for Nikon D7100 in Elements 10
Elements 10 will not open NEF files from my new Nikon D7100. It opens those same type of files from the D7000 and the D800.Does this mean I will need E 11? Message title was edited by: Brett N
-
Hi Experts, Apart from cv01n kindly confirm me which is the other T-code to upload other document is system ( like excel file word file pdf etc). And if suppose if i make any changes to document then system should keep a record of the changes made. R
-
Mobile operators message pop up
I'm getting a pop up which says mobile operator and shows the current tower location every time the signal change from one tower to another. My phone is Lumia 625. Please let me know how to disable this