Subject: | check_jmx4perl reports wrong error count |
For some tests the plugin doesn't include them in the total failures.
For example:
Status Information: CRITICAL - 0 of 21 failed:
[ 2] CRITICAL neomon_jms_queue_count: JMS Queue BillingErrorQueue Count
: Threshold '5' failed for value 5098
[18] CRITICAL memory_gc_time_base: PS MarkSweep : 59073.21 GC ms/minute
... (all other tests are OK)
my definition of neomon_jms_queue count uses the definition for jboss
provided to set threshold values:
<Check neomon_jms_queue_count>
Use = jboss_jms_queue_count($0)
Critical = ${1:10}
Warning = ${2:5}
</Check>
Perl version: 5.10.0
SuSE 11.1
uname -a
Linux mrldev312 2.6.32.24-0.2-default #1 SMP 2010-10-29 16:39:49 +0200
x86_64 x86_64 x86_64 GNU/Linux
Is there something in the way I'm configuring the plugin that could be
causing this? Some tests bump up the count and others don't. Another
example:
Status Information: CRITICAL - 1 of 21 failed: ,
[ 2] CRITICAL neomon_jms_queue_count: JMS Queue BillingErrorQueue Count
: Threshold '5' failed for value 22825
[ 7] CRITICAL neomon_jms_queue_rate: JMS Queue BillingOfflineQueue :
Message count rate -60.00 messages/minute
[18] CRITICAL memory_gc_time_base: PS MarkSweep : 59807.31 GC ms/minute
[10] WARNING memory_heap: Heap-Memory: 95.63% used (1.79 GB / 1.87 GB)
...
I'm pretty sure it's the memory_heap test that is being counted here and
the others are not.
Thanks.