service notifications options - different for pager and mail
Fredrik Wänglund
fredrik.wanglund at datavis.se
Fri Oct 10 13:44:47 CEST 2003
There are two ways (at least)
- Define two different contacts for SMS and mail and put them in the
same contactgroup.
- Write a wrapper for the sms-sending-function that drops unwanted alerts.
/FredrikW
VEGH Karoly wrote:
>Hi,
>
>I just activated the SMS alarms for our Nagios, and the colleagues
>at once begun sniveling about getting loads of Warnings, Recoveries,
>etc. per SMS.
>Of course I can set these options in my contacts.cfg:
>
>host_notification_options [d,u,r,n]
>service_notification_options [w,u,c,r,n]
>
>but how to set the notification options so, that per pager (SMS)
>are only the Critical alarms sent, and per mail are all(w,c,r,u)?
>
>I of course could duplicate the entries in the contacts for each user,
>having then a username and a username-pager entry, but that's
>surely not the nicest solution.
>
>any other ideas?
>
>tia
>
>charlie
>
>
>
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
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