Skip Menu |

This queue is for tickets about the jmx4perl CPAN distribution.

Report information
The Basics
Id: 49955
Status: resolved
Priority: 0/
Queue: jmx4perl

People
Owner: roland [...] cpan.org
Requestors: birger [...] birger.sh
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: performance output error
Date: Wed, 23 Sep 2009 21:07:25 +0200
To: bug-jmx4perl [...] rt.cpan.org
From: Birger Wathne <birger [...] birger.sh>
[root@centreon bin]# check_jmx4perl --url http://trip01/j4p --alias MEMORY_HEAP_USED --base MEMORY_HEAP_MAX --critical :80 --warn :50 --unit B OK - [MEMORY_HEAP_USED] : In range 13.15% (33.40 MB / 254.06 MB) | '[MEMORY_HEAP_USED]'=35025720B;:133201920;:213123072;0;266403840 Shouldn't output here list warning and critical levels as either ;133201920;213123072; (without ':') or as ;:50;:80; ? I am trying to understand why centreon doesn't want to graph output from this check, but I have problems finding exact specifications for the output format. -- birger
Hi, On Wed Sep 23 15:07:56 2009, birger@birger.sh wrote: Show quoted text
> > [root@centreon bin]# check_jmx4perl --url http://trip01/j4p --alias > MEMORY_HEAP_USED --base MEMORY_HEAP_MAX --critical :80 --warn :50 --unit B > OK - [MEMORY_HEAP_USED] : In range 13.15% (33.40 MB / 254.06 MB) | > '[MEMORY_HEAP_USED]'=35025720B;:133201920;:213123072;0;266403840 > > Shouldn't output here list warning and critical levels as either > ;133201920;213123072; (without ':') or as ;:50;:80; ?
I've discussed this in length with Joerg Linge, the author of PNP4 for Nagios, how to present the performance data in the case of relative values. We decided to put in the absolute values so that a tool can calculate the relative values on their own and can work with the absolute values as well. The ':' reflects directly how you specified the cricital and warning values. If would have used '--critical 80' (which btw is the same as ':80') then no colon would be printed out. Show quoted text
> I am trying to understand why centreon doesn't want to graph output from > this check, but I have problems finding exact specifications for the output > format.
Maybe have some time to spent to look at centreon on my own, but I can't promise this. Please let me know, whether this answers your question (so that I can close this ticket).
Show quoted text
> Thanks for clearing up the part about the ':'. I just found the root cause > for my troubles. It seems centreon doesn't cope with the brackets around the > variable name in perfstat output. As soon as I added "-n heap_used" it > started graphing.
In fact, I should probably remove the brackets in the default output. If you don't mind, i would like to close this ticket. Please let me know within the next week, whether you still have an issue, otherwise I will close this ticket. thanx ... ...roland
As announced, I close this ticket. Please feel free to open another in case of trouble. Thanx for your support ... ...roland