Subject: | check_jmx4perl returns a CRITICAL status when the value is negative for checks with --delta parameter |
Date: | Tue, 29 Jun 2010 15:12:56 +0800 |
To: | bug-jmx4perl [...] rt.cpan.org |
From: | Tomasz Krym <tomasz.krym [...] gmail.com> |
The following check returns a CRITICAL state, when the value is a negative
number (in my case more messages were dequeued than enqueued) :
command_line $USER1$/check_jmx4perl --url http://$HOSTADDRESS$:$_HOSTPORT$/j4p
--name enqueued-on-myQueue --mbean
jboss.messaging.destination:name=myQueue,service=Queue --attribute
MessageCount --delta 60 --critical 30 --warning 5 --label "Increase of
messages enqueued on myQueue: %v"
I assume that this is not expected behavior. If it is not a bug, it would be
great to know a possible workaround. Thanks!