Build precise queries to find exactly what you need
Press ESC to close
This is an old version. If you want this to work with nrpe, you must have the following: {noformat}
#!/bin/sh # # Nagios JMX plugin. #
JAVA_CMD=`which java`
if [ -z $JAVA_CMD ] then
if [ -x $JAVA_HOME/bin/java ] then JAVA_CMD=$JAVA_HOME/bin/java else echo JMX CRITICAL – java not found. exit 2 fi
fi
DIR=`dirname $0` $JAVA_CMD -jar $DIR/check_jmx.jar “$@” {noformat} as your check_jmx. Otherwise nrpe will not be able to find java.
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!