Subject: | Should check_jmx4perl UNKNOWN status be CRITICAL instead? |
The check_jmx4perl plugin will exit with an UNKNOWN error if it fails to
find jolokia or can't find the particular JMX attribute it is looking
for. Example:
UNKNOWN - Error: 500 Error while fetching http://host11:8180/jolokia/ :
This error comes out when the appserver is not running. We also get
unknown errors when JMS queues don't deploy correctly, for example, so
their JMX attributes don't exist.
On a production system (where the jolokia deployment and the
check_jmx4perl configuration is assumed to be tested and correct) these
should be CRITICAL errors. Could there be a way to override the
plugin's use of the UNKNOWN exit status and change it to CRITICAL?
Thank you.