Skip Menu |
 

This queue is for tickets about the Monitoring-Plugin CPAN distribution.

Report information
The Basics
Id: 54497
Status: new
Priority: 0/
Queue: Monitoring-Plugin

People
Owner: Nobody in particular
Requestors: rkomorn [...] dofc.org
Cc:
AdminCc:

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



Subject: Adherence to Nagios plug-in development guidelines for thresholds appears broken.
Download (untitled) / with headers
text/plain 712b
If http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT is to be followed, it appears that Nagios::Plugin and Nagios::Plugin::Threshold do not comply yet: ./check_snmp_monitored_mounts.pl -f -H XXXX -C YYYY -w 1 -c 2 -x '^/proc' -vv -A PBURD1 check_snmp_monitored_mounts.pl OK - Number of unmonitored filesystems: 1 | num_unmonitored_fs=1;1;2;0; ./check_snmp_monitored_mounts.pl -f -H XXXX -C YYYY -w @1 -c @2 -x '^/proc' -vv -A PBURD1 check_snmp_monitored_mounts.pl CRITICAL - Number of unmonitored filesystems: 1 | num_unmonitored_fs=1;0;0;0; As a side note, it seems like Nagios::Plugin::Perfdata would be a pretty easy pitfall when it comes to parsing out the @, among other things.
From: rkomorn [...] dofc.org
Download (untitled) / with headers
text/plain 311b
The syntax is actually a little different: ./check_snmp_monitored_mounts.pl -f -H XXXX -C YYYY -w @0:1 -c @1:2 -x '^/proc' -vv -A ZZZZ check_snmp_monitored_mounts.pl CRITICAL - Number of unmonitored filesystems: 1 | num_unmonitored_fs=1;0;0;0; So perfdata, at least, appears broken even with the right syntax.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.