checking a counter on a website

Marc Powell marc at ena.com
Wed Oct 18 20:29:09 CEST 2006



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of rob.moss at uk.bnpparibas.com
> Sent: Wednesday, October 18, 2006 3:31 AM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] checking a counter on a website
> 
> 
> nagios-users-bounces at lists.sourceforge.net wrote on 17/10/2006
20:01:28:
> 
> > 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.
> 
> The responsibility of something like this entirely up to the plugin..
> 
> Nagios's task is to schedule and check hosts/services, and to notify a
> contact of status changes.
> 
> The task of the plugin is to perform an operation to check if a
service is
> working (or not) and provide a uniform status message back to Nagios..

I can see value to having a $SERVICEPREVOUTPUT$ macro that could be
passed to a check plugin. That would be an easy way to allow for this
commonly requested functionality. --

Flow --
	(Service check execution time)
	$SERVICEPREVOUTPUT$ = $SERVICEOUTPUT$
	$SERVICEOUTPUT$=NULL
	(Execute Plugin)
	$SERVICEOUTPUT$ = <Plugin output>

--
Marc

-------------------------------------------------------------------------
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 at 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





More information about the Users mailing list