Nagios notifications

Dale J. Chatham dale at chatham.org
Fri Oct 24 19:51:04 CEST 2008


See my prior, in the service-notify-by-email (or whatever) use /bin/mail 
$HOSTNAME$ ...

Or, write a script to send the mail and send the HOSTNAME macro to it 
and make it smart enough to know who to notify.



Phillips, Dustin B wrote:
> Right.  I understand that would "fix" our problem.
>   
> So you're saying we'll need to create services that have the same check command but unique hosts and contactgroups?  We have 40 services and 8 contact groups.  Each contact group is only responsible for a portion of the hosts.  Surely there is a better way to achieve this in lieu of creating 320 services.
>
>
> Thanks,
>
> Dustin
>
>
>
> -----Original Message-----
> From: Spyou [mailto:spyou at club-internet.fr]
> Sent: Thu 10/23/2008 12:52 AM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Nagios notifications
>  
> At 23:02 22/10/2008, Phillips, Dustin B (DBphillips) wrote:
>   
>> Thanks for the reply but I don't know that that would help us.  The 
>> problem isn't that we cant select individual contacts.  The problem 
>> is our contacts are getting service notifications for hosts that 
>> aren't assigned to any of their associated contact groups.
>>
>> Our scenario:
>>
>> "contact1" is assigned to "contactgroup1"
>> "host1" is assigned to "contactgroup1"
>> "service1" is assigned to run on "host1", "host2", and "host3" and 
>> is assigned to "contactgroup1"
>> (note: "host2" and "host3" are not assigned to "contactgroup1" are 
>> are not otherwise associated to "contact1")
>>
>> In this scenario, why does contact1 get service notifications for 
>> host2 and host3?
>>     
>
> Mhhh .. cuz service1 is assigned to contactgroup1 and contact1 is a 
> part of contactgroup1.
>
> Don't assign service1 on host2 & 3 if you don't want contact1 to get notified.
> ________________________________________
> 'Spyou' - www.spyou.org - root at spyou.org
>      ircnet.nerim.net - UIN : 6871374
>
> Don't dream it,
> Be it.
> (RHPS)
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> 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
>
>
> E-MAIL CONFIDENTIALITY NOTICE: 
>
>  
>
>  
>
>  
>
> The contents of this e-mail message and 
> any attachments are intended solely for the 
> addressee(s) and may contain confidential 
> and/or legally privileged information. If you 
> are not the intended recipient of this message 
> or if this message has been addressed to you 
> in error, please immediately alert the sender
>  by reply e-mail and then delete this message 
> and any attachments. If you are not the 
> intended recipient, you are notified that 
> any use, dissemination, distribution, copying, 
> or storage of this message or any attachment 
> is strictly prohibited.
>
>
>
>
>
>
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> 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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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