Check_jmx plugin problem

Emmanuel Chanteloup manuchanteloup at gmail.com
Mon Apr 12 14:43:36 CEST 2010


Hi,

I am trying to use check_jmx but I can get through with my NRPE.

- If I run directly the check_jmx in a line, it works :

[nagios at myserver libexec]# /usr/local/nagios/libexec/check_jmx -U
service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O java.lang:type=Memory
-A HeapMemoryUsage -K used -I HeapMemoryUsage -J used -vvvv -w 800000000 -c
1500000000

JMX OK
HeapMemoryUsage.used=407931824{committed=1013972992;init=1073741824;max=1013972992;used=407931824}

- If I try with the NRPE, I always get the following message :

[nagios at myserver libexec]# /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1
-c check_jmx
NRPE: Unable to read output

It makes the same thing with the root user, so I do not think this is a
right problem, more a return message problem.

Any idea how I can solve this ?

Regards,

Manu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100412/dc4fe918/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list