multiple contact notifications for one host

Johan Corsini johan.corsini at guest.minfin.fed.be
Tue Feb 14 17:31:05 CET 2006


If I understand well, you want your check_disk on HostA to be send to the 2 
mailing lists, while all the other check_disk being only send to one of the 
mailing list?

If I am true, then you could create a new service, "check_disk_A", doing 
exactly the same things than the regular check_disk, but with other 
notification options.

Sorry if I did not understand well the question.

Johan



Le Mardi 14 Février 2006 17:18, ryanp at hhsys.org a écrit :
> This is what I want to accomplish:
>
>
> One host's disk space to be monitored, named      HostA
>
>
>
> Have HostA in two different hostgroups    GroupA and GroupB
>
>
> GroupA contact group is defined with email1
> GroupB contact group is defined with email2
>
>
> GroupA has a bunch of other hosts that email2 shouldnt receive so thats
> why I'm trying to put it into a different group.
>
>
> **All the hosts are on passive checking.**
> So when the disk space gets to a WARNING OR CRITICAL for nagios to email
> GroupA and GroupB.  But it looks like in the services.cfg is where you
> actually setup the notification functionality.  Since checking disk is
> needed on all hosts, it looks like I cant separate the notifications for 2
> separate emails that are both responsibilty for only one box and not all.
>
>
> I would imagine there is a way to do what I'm attempting but I'm going in
> the wrong direction.  I need some other clear minds to point in me in the
> right direction. Thanks.! ;-)
>
> -------------------------------------------------------------
>
> Note: This email is for the sole use of the intended
> recipient(s) and may contain confidential information.  Any
> unauthorized review, use, disclosure or distribution is
> prohibited.  Contact the sender if received in error.
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> 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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
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