[Nagiosplug-devel] a plugin to check interface errors

Michael Markstaller mm at elabnet.de
Thu Nov 6 01:26:10 CET 2003


Hi,

maybe I've missed it but I cannot find the referenced plugin check_remote_interfaces 
anywhere.. Have you contributed it ?
As I'm again looking for some plugin to check RRD-data I wanted to look at this.

Michael

-----Original Message-----
From: atonns at mail.ivillage.com [mailto:atonns at mail.ivillage.com]
Sent: Tuesday, August 26, 2003 5:13 PM
To: nagiosplug-devel at lists.sourceforge.net
Subject: RE: [Nagiosplug-devel] a plugin to check interface errors


I have been able to solve my problems.

Basically when the data is a COUNTER type (as ifInErrors and ifOuterrors
are), rrdtool only stores rate information. In my case is was average number
of errors in 10 minutes (as this was my step value). Thus, to
psuedo-calculate the number of errors, just multiply the rate by the step
(ie: # of err/sec * sec = # of err). Of course, it's an approximation based
on the average - but it should accurately determine if there's a problem
with the interface.

So finally, my plugin runs as such:

Usage: check_remote_interfaces -H hostname  -w=count,seconds -c=rate,minutes
Usage: check_remote_interfaces --hostname=hostname  --warning=count,seconds
--critical=rate,minutes
                               [-v|--verbose -V|--version -h|--help]

...




More information about the Devel mailing list