I would like to monitor my Java application (running in JRockit) via SNMP protocol. I only need some basic informations. Is there any startup parameter that I can add to my app to enable SNMP?
Asked
Active
Viewed 1,072 times
3 Answers
3
SNMP in JRockit works the same way as in Sun's JVM. The details are on this webpage.
In short, what you have to do is:
- Start with
-Dcom.sun.management.snmp.port=portNum
- Copy the ACL template file in
JRE_HOME/lib/management/snmp.acl.template
toJRE_HOME/lib/management/snmp.acl
, and make it readable and writeable by only the owner.

staffan
- 5,641
- 3
- 32
- 28
0
I don't believe JRockit can publish stats on SNMP. What I have seen monitoring systems do is hook-up the the JMX monitoring points within JRockit...
Of course you can also use the JRMC tool which is plugged into the JMX beans mentioned above.
HTH Tom

Tom
- 242
- 2
- 3
0
The standard JRockit JVM does not support SNMP. The most common approach is to attach a JMX SNMP Connector. I have previously used the AdventNet one.

Ben Turner
- 131
- 6