checking a counter on a website

Doug Veldhuisen dveldhuisen at bartlesville.oilfield.slb.com
Wed Oct 18 22:31:08 CEST 2006


Most Linux distros, I am aware anyway, support share memory segments.  the
How about a mechanism, supported by Nagios of course, where we could 
save some variables to a shared memory segment.  Saving and 
retrieving should be pretty quick.

Doug Veldhuisen
Running Nagios 2.5 on Debian and Fedora.


At 01:29 PM 10/18/2006, Marc Powell wrote:


> > -----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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20061018/83c7c0ef/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
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