[Nagiosplug-devel] New specification method for thresholds - still a valid vison?

Ingo Lantschner listen2007 at lantschner.name
Wed Jun 9 13:19:15 CEST 2010


Hi Thomas,
I am again at the point where implementing this new format by writing a 
Perl module is an option. But I am stuck at this point:

The perf-data will change in way, that is most likely not compatible 
with addons like PnP.

Following an example:

check_netapp.pl Usage (…) -o aggr --th metric=%,ok=0..70,warn=70..90 
--th metric=GiB
==> OK …. | aggr0=52%;0..70;??????
                      ^^^^^^^^^^^^^
                      here is the problem?!?!?

instead of:

check_netapp.pl Usage (…) -o aggr -w 70% -c 90% --perf_uom=GB
==> OK …. | aggr0=52%;70;90

Any ideas how this can be solved?

Thanks, Ingo


Thomas Guyot-Sionnest schrieb:



> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 13/04/10 11:38 PM, Ingo Lantschner wrote:
>> Hi,
>> I am working on a quiet complex problem of a multiple-instance-check
>> regarding the thresholds. (The complexity comes from the fact, that the
>> thresholds are relative in % whereas the perfdata and thresholds in the
>> perf-output are absolute values.)
>>
>> I started by programming around Nagios::Plugin::Threshold which now led
>> to some thoughts about patching it. Then I found this document:
>>
>> http://nagiosplugins.org/rfc/new_threshold_syntax
>>
>> Although not being directly related to the concrete problem, it is 
>> addressing some important aspects of it.
>>
>> Is this still a valid vision? Are there any plans in enhancing 
>> Nagios::Plugin 0.33 into this direction?
> 
> Absolutely. I think there may be some additional notes elsewhere but
> this page explains is pretty much the plan. Now we'll need to start
> coding this in C and Perl.
> 
> Our development effort is led by volunteers so any help coding this will
> be greatly appreciated... Further down the road the new thresholds
> library should be part of official C an Perl libraries to make writing
> plugins in both languages much easier. Those libraries will handle other
> aspects like argument passing, output, etc.
> 
> Thank you,
> 
> - --
> Thomas
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFLxWgT6dZ+Kt5BchYRArcaAKD9QfdfIoWZirAbjp8nKBacNGo30wCfbZwJ
> PjbGwqq2+ngKK2hF7DOXljQ=
> =yshN
> -----END PGP SIGNATURE-----
> 
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________________
> Nagios Plugin Development Mailing List Nagiosplug-devel at lists.sourceforge.net
> Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: Please include plugins version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 





More information about the Devel mailing list