check_jmx plugin chokes on more than 2Gb memory

Sean Carolan scarolan at gmail.com
Tue Jan 20 22:02:09 CET 2009


This works:
[nagios at monitor1 libexec]$ ./check_jmx -U
service:jmx:rmi:///jndi/rmi://server:9000/jmxrmi -O
java.lang:type=Memory -A HeapMemoryUsage -K used -w 2147483647

JMX CRITICAL HeapMemoryUsage.used=-1942171464

But this doesn't:
[nagios at monitor1 libexec]$ ./check_jmx -U
service:jmx:rmi:///jndi/rmi://server:9000/jmxrmi -O
java.lang:type=Memory -A HeapMemoryUsage -K used -w 2147483648

JMX UNKNOWN For input string: "2147483648" Usage: check_jmx -help

Does anyone have source code for jmxquery.jar?  Or perhaps a newer
version that can cope with larger heap size?

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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