notification commands based on hosts or services

Roy Sigurd Karlsbakk roy at karlsbakk.net
Tue Jul 29 11:22:08 CEST 2003


I've solved this by simply adding a separate contact for each media the person 
should be contacted on. so 'royemail' and 'roysms' sends to different places

roy

On Saturday 26 July 2003 00:12, Mike Culbertson wrote:
> I have been all through the docs, but I can't determine a reasonable way to
> do this:
>
> I need to specify the type of notification based on what host or service
> has a problem.
>
> For example, contact "Joe" has notification options of "notify-by-
> email,notify-by-epager".  Joe needs to be contacted about status changes on
> all "dev" and "test" machines, but only needs email about "dev" machines,
> and should not be paged.
>
> Contact groups become irrelevant here because the type of notification to
> make is specified in the contact definition. So even if I play around with
> contact groups and timeperiods, when an alert is sent to Joe, it goes via
> email and epager.
>
> How could I restrict the notification type based on what
> service/host/hostgroup it is coming from without having to make unique
> contact entries for each (person+type of notification) they use?
>
>
> I think this makes sense, but I've had a LOT of coffee :)
>
> TIA



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
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