[Nagiosplug-devel] Perfdata patternin Nagios::Plugin::Performance.pm

Gerhard Lausser Gerhard.Lausser at consol.de
Mon Jul 13 14:26:41 CEST 2009


> 
> Any plugging actually using quoted spaces or equals?
Yes, i use one:
check_jmx4perl --url http://bea.naprax.de:7001/j4p \
    --mbean java.lang:type=Memory \
    --attr HeapMemoryUsage \
    --path used \
    --base java.lang:type=Memory/HeapMemoryUsage/max \
    --warning 80 --critical 90
OK - [java.lang:type=Memory,HeapMemoryUsage,used] : 12.98 in range |
'java.lang:type=Memory,HeapMemoryUsage,used'=12.98%;80;90

Output/performancedata label are generated automatically from the input
parameters. The developer carefully read the guidelines, so he probably saw
no reason to clean up the label. It's not a big problem here, because it's
possible to replace the generated string with a self-defined one by using
the --name parameter. 
Besides this, i never saw = in a label.

Gerhard





More information about the Devel mailing list