Notification on OK-state

Marc Powell marc at ena.com
Thu Feb 12 14:00:20 CET 2009


On Feb 12, 2009, at 3:11 AM, sri.lumpa at free.fr wrote:

> I would like to create a service which will notify me after each  
> check, even if it is an OK-state and if the state hadn't changed.
>
> I've tried by setting the service's initial state to critical and  
> defining the service as volatile but that doesn't work (it's  
> probably because I didn't understand well the role of the  
> initial_state directive...).

is_volatile will only send notifications for OK states if it's a  
recovery.

> Is Nagios-3.0.6 capable to do that and how can I make it work ?

Nagios isn't capable of sending OK alerts every time using the normal  
notification logic. It seems to me that the OSCP functionality fits  
your goal the best. OCSP can be used to send a notification or do  
whatever you want, after every check. It's most often used for  
Distributed Monitoring but can really be used for anything.

http://nagios.sourceforge.net/docs/3_0/distributed.html

--
Marc






------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/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