This actually hits on what I consider to be one of
Nagios' (few) weaknesses. A lot of time, when I do my checks, I'm
not nearly as interested in the value of a check as in the change in the value
since the last check. This is a good example. Another
item I monitor is changes in the SNMP Interface error counters. For
example, if I get more than 5 errors/second, I need to send out an alert.
Finally, I have the same issue monitoring SNMP Interface statuses. But,
Nagios has no feature to remember data between invocations of the checks.
So, I end up storing this data in temporary files. If there was a facility
to provide some information back to Nagios, and retrieve it on the next one,
that would be wonderful.
Jason
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andrew
Cruse
Sent: Tuesday, October 17, 2006 1:52 PM To: 'Maxwell,Brady'; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] checking a counter on a website I would just write a
quick script that grabs the value on the counter, then grabs the value again and
subtracts the first from the second. Publish that value out via SNMP and
then just use check_snmp to verify that the value is >=1. People with
more programming skills than I would probably just write one plugin to do it
all. Andrew From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Maxwell,Brady Anyone ever tried to check a
websites hit counter and return a warning if the hit counter has not incremented
since the previous check? Brady
Maxwell Systems
Engineer Online Computer Library Center,
Inc. 614.764.6133 |
[EMAIL PROTECTED]
|
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null