[Nagiosplug-devel] Perfdata patternin Nagios::Plugin::Performance.pm
Ton Voon
ton.voon at opsera.com
Tue Jul 14 23:30:11 CEST 2009
On 13 Jul 2009, at 13:26, Gerhard Lausser wrote:
>
>>
>> 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.
So am I assuming that it is okay to remove "=" from the guidelines?
I think spaces should be allowed because, for instance, filesystems
may have them, and I've definitely seen spaces in some window agent
responses.
Ton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nagios-plugins.org/archive/devel/attachments/20090714/38cd143e/attachment.html>
More information about the Devel
mailing list