[Nagiosplug-devel] New specification method for thresholds - still a valid vison?
Thomas Guyot-Sionnest
dermoth at aei.ca
Wed Jun 9 13:51:03 CEST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10-06-09 07:19 AM, Ingo Lantschner wrote:
>
> 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?
Hi Ingo,
The performance data will eventually have to change as even right now
there isn't much flexibility to represent anything fancy even with the
current thresholds. You can try to see what current plugins using
standard perfdata functions return when specifying a full range and
mimic that, or just leave the fields empty (i.e. aggr0=52%;;;) until a
new format is used.
Thanks
- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkwPgCEACgkQ6dZ+Kt5Bchb+FwCg3q8hddy1UllGSbq9W142NNLR
nm8AniDpiTC4aVyWS5H0nCuqSyFnowqg
=lGjB
-----END PGP SIGNATURE-----
More information about the Devel
mailing list