Send Only one notification...

Kyle O'Donnell kyleodonnell at gmail.com
Wed Jul 22 17:22:33 CEST 2009


you could always write a custom notification command

[ $NOTIFICATIONNUMBER$ -eq 1 ] && echo "host service blah blah" | mail
-s $contactemail$

On 7/22/09, Charlie Reddington <charlie.reddington at gmail.com> wrote:
> Hey Luis, whats up man!
>
> Couldn't you just create a separate contact, and set it up with
> escalations, but only have it alert once? Maybe something like this...
> (note, untested).
>
> define hostescalation {
>          host_name               *
>          first_notification      1
>          last_notification       1
>          notification_interval   60
>          contact_groups          new_contact
> }
>
> Charlie
>
> On Jul 22, 2009, at 8:47 AM, Luis Fernando Lacayo wrote:
>
>> Good Day everyone,
>>
>> I was wondering if someone is kind enough to help me with a little
>> thing I am stuck with.
>>
>> I need to create a helpdesk ticket from NAGIOS from certain
>> devices.  I am not sure of how to send only one email to the
>> helpdesk but multiple emails to admins of these devices.
>>
>> any guidance and /or example would be greatly appreciated.
>>
>> thanks.
>>
>> Luis
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> 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
>
>

------------------------------------------------------------------------------
_______________________________________________
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