Hey guys,
I'm using check_jvm plugin with nagios 3.5.1 to monitor a server running Jira.
After a Jira software update I'm getting the following issue when trying to use the check.
Check command:
/usr/bin/sudo -u USER /usr/lib/nagios/plugins/check_jvm -p heap -n org.apache.catalina.startup.Bootstrap -p heap -w 13800000000 -c 14200000000
The output of this command:
UNKNOWN Can't connect to the JVM:
JVM pid: 36657
name: org.apache.catalina.startup.Bootstrap start
Exception: Non-numeric value found - int expected
I've tried to run this as root as well to make sure there was nothing changed with the permissions but i'm getting the same error.
Currently running Java version openjdk version "1.8.0_265"
Thanks!
EDIT:
As I did some more investigations I understood I needed to update the check_jvm plugin to a newer version(mine was from 2014),update the JvmInspector.jar to support java 11 and finally upgrade the java 8 on the machine to java 11.