Setting Email Notification Different Alert and Recovery

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
realluck
Posts: 1
Joined: Fri Dec 09, 2011 5:50 am

Setting Email Notification Different Alert and Recovery

Post by realluck »

Hi,
Is it possible to set the email notification alert and recovery for a service?
Like when the service is down send to [email protected], and when it's back up send to [email protected]
Thank you.
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Setting Email Notification Different Alert and Recovery

Post by jsmurphy »

there sure is, in the notification_options add 'r' (recovery) to the other letters.

http://nagios.sourceforge.net/docs/3_0/ ... ml#service This has more information.
o2401c
Posts: 4
Joined: Sun Dec 18, 2011 9:54 pm
Location: Beijing

Re: Setting Email Notification Different Alert and Recovery

Post by o2401c »

yes, can, you can configure somebody only receive the down alerts emails, somebody one received the recover alerts emails. if you use nagiosql, it is easy to do. if you use configure files, you need select the receive mode letters, D,R,N, and so on.
A new nagios user
Locked