Contact definitions and multiple email addresses?

Marc Powell marc at ena.com
Thu Feb 22 20:40:08 CET 2007



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Andy Moran
> Sent: Wednesday, February 21, 2007 7:05 PM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Contact definitions and multiple email
> addresses?
> 


> how about this one:
> 
> Is it possible to have a contact receive critical messages for all
> services but warning messages ONLY for a particular service?

It would require a new contact. The base assumption is that if a contact
is set to receive warnings, they receive warnings for all hosts and
services they are contacts for. There is no exception capability like
what you're looking for related to contact notifications. 

> For example:
> 
> All services are set to notify on warning, critical, unknown, and
> recovery..    Admins want to be only notified when any service goes
> critical.. but they are also interested when a certain volume
> check_disk goes into warning.
> 
> The only way I can figure out how to do that is to create a separate
> contact definition for each admin (like jdoe2), put them in a group,
> and say that group also wants warnings, and put that group in the
> check_disk service definition instead of the normal admin group.
> 
> I'm hoping I'm missing something obvious.

Nope. That's the usual solution. The other option is to build that logic
into your notification script.

--
Marc

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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