sshikov / jmxquery

Automatically exported from code.google.com/p/jmxquery
0 stars 0 forks source link

check_jmx #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. /usr/local/nagios/libexec/check_jmx -U
service:jmx:rmi:///jndi/rmi://192.168.1.14:9999/jmxrmi -O 
java.lang:type=Memory -A HeapMemoryUsage -K used -w 975500000 -c 990000000 
2. JMX CRITICAL jmxrmi

3.

What is the expected output?  
JMX OK
HeapMemoryUsage=7715400{committed=12337152;init=0;max=66650112;used=7715400}

What version of the product are you using? On what operating system?
opsview 3.1  ,centos 5

Please provide any additional information below.
I have to add check_jmx at /usr/local/nagios/libexec location.

Original issue reported on code.google.com by amardeep...@gmail.com on 8 Aug 2009 at 12:13

GoogleCodeExporter commented 8 years ago
The problem here, are de Service URL, forgot add the IP for JMX, the correct 
line are:
/usr/local/nagios/libexec/check_jmx -U
service:jmx:rmi://192.168.1.14:PORT/jndi/rmi://192.168.1.14:9999/jmxrmi -O 
java.lang:type=Memory -A HeapMemoryUsage -K used -w 975500000 -c 990000000 

regards
Alejandro

Original comment by cdgr...@gmail.com on 22 Sep 2009 at 3:00

GoogleCodeExporter commented 8 years ago

Original comment by ryangrav...@gmail.com on 8 Dec 2009 at 10:17