not able to get info from nagios client using check_jstat.sh
Posted: Tue May 18, 2021 6:17 am
Hi guys,,,,
We are trying to get a java heap memory information using check_jstat.sh plugin.
By using the plugin we can able to get output in local server without issue. But from nagios server through nrpe getting error , details attached below. KIndly suggest on this
OUTPUT IN LOCAL SERVER :
# ./check_jstat.sh -j jboss -w 80 -c 85
OK: jstat process jboss alive|pid=4080 heap=242005;8388608;2;80;85 perm=151511;1048576;14;80;85
OUTPUT FROM NAGIOS SERVER:
# ./check_nrpe -H x.x.x.x -c check_jstat
CRITICAL: process pid[] seems not to be a JAVA application
We are trying to get a java heap memory information using check_jstat.sh plugin.
By using the plugin we can able to get output in local server without issue. But from nagios server through nrpe getting error , details attached below. KIndly suggest on this
OUTPUT IN LOCAL SERVER :
# ./check_jstat.sh -j jboss -w 80 -c 85
OK: jstat process jboss alive|pid=4080 heap=242005;8388608;2;80;85 perm=151511;1048576;14;80;85
OUTPUT FROM NAGIOS SERVER:
# ./check_nrpe -H x.x.x.x -c check_jstat
CRITICAL: process pid[] seems not to be a JAVA application