> -----Original Message-----
> From: Jim Avery [mailto:[email protected]]
> Sent: Tuesday, 9 November 2010 4:16 AM
> To: Nagios Users List
> Subject: Re: [Nagios-users] Status Information in to Logfile
> 
> On 8 November 2010 16:45,  <[email protected]> wrote:
> > If a Service state is ok and its state has not changed from the last
> state
> > it does not Log a message in the nagios.log file
> >
> > However for a external application we would like to be able to log all
> > Service Information
> >
> 
> According to the documentation , you need to set the relevant
> stalking_options in the service definition.  See:
> 
> http://nagios.sourceforge.net/docs/3_0/stalking.html
> 
> and
> 
> http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service
> 
> 
> I can't say I've ever tried it myself though.

I use stalking for a few of our services, it works as advertised.

If you want it for all services, then it's probably easier to use an 
ocsp_command instead; Obsessive Compulsive Service Processor.  I use this one 
too for different purposes.

All service events get sent to the defined command and you can filter/act-on 
them as you desire.

Stuart

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to