nagios notification to different email address

Michael Saldivar mike.saldivar at advocatecreditrepair.com
Wed Sep 23 00:02:30 CEST 2009


On Tue, Sep 22, 2009 at 3:26 PM, shadih rahman <shadhin71 at gmail.com> wrote:

> D can not be part of the original definition.  host definition is generated
> via script which will only include contact C.  However alert needs to go to
> D without bothering contactgroup C
>
>
> On Tue, Sep 22, 2009 at 5:19 PM, Michael Saldivar <
> mike.saldivar at advocatecreditrepair.com> wrote:
>
>> On Tue, Sep 22, 2009 at 2:38 PM, shadih rahman <shadhin71 at gmail.com>wrote:
>>
>>> My problem,
>>>
>>>      I am trying to send a down and recovery message to a different
>>> contact group than what is defined in host definition.  Also I want to send
>>> only one email to the new contact group.  In the example below host A has
>>> contact group C defined.  However I want send my notification to contact
>>> group D.  Thanks
>>
>>
>> Is there a reason why you can't put contact group D in host A?
>>
>> -Mike
>>
>

Please use reply-all to keep replies on the list.

Unfortunately, I do not know of any way to send notifications to to a group
without defining the host to send notifications to that group.  I'd lean
towards fixing the script so that it writes configurations to contact the
correct group, rather than having it write incorrect configs and then
tweaking Nagios to compensate.

Perhaps you could accomplish this by defining an escalation which skips the
first notification to group C, and then sends only one notification to group
D.  Does your script generate the escalation configs also?

-- 
Mike Saldivar
Direct Financial Solutions
Information Systems Manager
Desk: 435-774-8252
Cell: 435-881-3778
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090922/019cfaa1/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
-------------- next part --------------
_______________________________________________
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