notifications seperate for warnings, critical

Marc Powell marc at ena.com
Mon Feb 28 20:49:15 CET 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Alan Maxwell
> Sent: Monday, February 28, 2005 1:39 PM
> To: nagios-list
> Subject: [Nagios-users] notifications seperate for warnings, critical
> 
> Is there a way to have one service def, have warning emails go to one
> contact
> and critical emails for the same service go to a different address?
> 

Not within nagios but it can certain be done easily enough. The
host/service-notify-by-email commands just call external programs and
pass them certain bits of information ($NOTIFICATIONTYPE$, $HOSTALIAS$,
$SERVICEDESC$, $CONTACTEMAIL$, etc). A simple little script that takes
those parameters and emails different people based on $SERVICESTATE$
should be pretty straightforward.

--
Marc


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
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