Disable pager alerts for Acknowledgements ?

Andreas Ericsson ae at op5.se
Fri Aug 12 11:30:02 CEST 2005


Chris Wilson wrote:
> Hi Michael,
> 
> 
>>   We have some alerts go to a pager that is in the NOC, for audible alerts
>>(can't seem to get audible alerts to work with passive service checks, but
>>audible alerts work great with active service checks and active host checks).
>>My NOC people asked if I can get the alerts to only get send to the pager when
>>something goes down, not once each for down/critical, acknowledgement and
>>up/recovery.
>>   I notice the scripts in misccommands.cfg use the variable $NOTIFICATIONTYPE$
>>included in the alert. I suppose I could write some kind of wrapper that gets
>>called instead of going straight to /bin/mail, but I was hoping there was a
>>better (faster, easier, more direct) way.
> 
> 
> Sorry, I don't think it's possible to turn off these other notifications
> for pagers without turning them off for email as well
> (notification_options=c would do that for services). A wrapper script is
> probably your best option.
> 

The normal course of action is to use two different contacts and set the 
notification_options for the contacts to whatever you want them to be.

> Cheers, Chris.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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