Disable email notifications, keep all sound options
Brian
brian at texnet.com
Tue Aug 11 17:36:51 CEST 2009
Thanks Marc, missed that little tidbit.
This looks like it'll work to eliminate inheritance:
Leave "contact_groups admins" in host template.
Create a contact w/email of /dev/null:
define contact{
use generic-contact
contact_name null
alias null
service_notification_period 24x7
host_notification_period 24x7
service_notification_options c,r
host_notification_options d,r
email /dev/null
}
Add "contact_groups null" to generic service template.
Warnings of hosts w/out default contacts or contactgroups defined
eliminated. Warning of services w/null as contact logged as "no default
contacts or contactgroups defined!".
Perhaps there's a better way...
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
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