[Nagiosplug-devel] Best practice for thresholding
dermoth at aei.ca
Tue Jun 23 17:26:28 CEST 2009
-----BEGIN PGP SIGNED MESSAGE-----
On 22/06/09 01:22 PM, John Vincent wrote:
> So I've been attempting to use check_memcached and in the process was
> cleaning up some invalid perfdata output. I also noticed that the
> thresholding is somewhat broken. This plugin, like many database
> plugins, has a hit ratio metric. Hit ratio metrics make the most sense
> when approcahed from a "warning/critical below X%" (at least in my
> mind). So if my hit ratio drops below 75%, I want a warning and if it
> goes below 50% I want a critical.
> What's the best way to handle this with Nagios::Plugin? Should the
> logic be done in the script or should it be done in the module itself?
A bit off-topic but if you're interested here's the plugin I use (and
wrote) for checking my memcached servers. It's written in PHP, and
monitor primarily the evictions (by parsing the performance data string
from previous check) and cache ratio.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Devel