Make nagios3 log successful tests

Andreas Ericsson ae at op5.se
Wed Mar 18 14:34:14 CET 2009


Kelly Jones wrote:
> When a nagios3 host/service test fails, nagios.log has something like this:
> 
> SERVICE ALERT: host;service;CRITICAL;SOFT;5;text of some sort
> 
> How do I make nagios3 log *successful* tests as well?
> 
> One reason: I want to keep perfdata long-term *even if* I don't want
> to process it right away.
> 
> Another reason: I want to insure that nagios is running its tests as
> scheduled.
> 
> I'm pretty sure I got nagios2 to do this. Thoughts?
> 
> Do I have to pretend I'm going to process the perfdata to make nagios log this?
> 

Read the manuals and look for stalking_options.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
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