Random Project

This check_jmx is the must have !!!

I tested “check_jmx”, “check_jmx 2” plugins, and finally this one, which works very well.
– the “check_jmx” plugin couldn’t parse correctly the arguments given, and had to apply a hack to obtain perfdata,
– this plugin includes perfdata natively.

Here is an example :

– on nrpe client host :
— cfg file included by nrpe.cfg :
command[test_check_jmx]=/usr/local/nagios/libexec/check_jmx -U service:jmx:rmi:///jndi/rmi://localhost:$ARG1$/jmxrmi -O org.apache.camel:context=$ARG2$/mainContext,type=$ARG3$,name=”$ARG4$” -A $ARG5$ -w $ARG6$ -c $ARG7$
– on nagios nrpe server :
— command line test :
./check_nrpe -H 10.20.0.11 -u -c test_check_jmx_dcd_failures -a 10010 satais-esb1 processors threadProcessor FailuresHandled 1 10
— result :
JMX OK – FailuresHandled = 0 | ‘FailuresHandled’=0;1;10;;