Thanks, I will try this

On 8/18/15, 3:42 AM, "icinga-users on behalf of Klaus Muth"
<[email protected] on behalf of [email protected]> wrote:

>You could of course modify the scripts
>/etc/icinga2/scripts/mail-*-notification.sh so the notification is done,
>but
>doesn't send a mail. Or maybe you could just filter your incoming mail.
>
>Am 18.08.2015 um 11:01 schrieb Michael Friedrich:
>> Am 15.08.2015 um 05:59 schrieb Nobuo Matsushita:
>>> Hi 
>>>
>>> I configure notification as follow:
>>>
>>> apply Notification "notify-ops-service" to Service {
>>>
>>>   command = "ops-service-notification"
>>>
>>>   users = ["ops"]
>>>
>>>   states = [ Critical ]
>>>
>>>   interval = 0
>>>
>>>   assign where service
>>>
>>> }
>>>
>>>
>>> I was expect this will not send notification when it recover. But it
>>>does
>>> send notification for “Critical” and “OK/Recovery” events. Is it
>>>possible
>>> to stop sending notification for recovery?
>>>
>>> If so, how can I do it?
>>>
>> 
>> Sending recovery notifications to all notified users is intended
>>behavior and
>> cannot be modified.
>> 
>> Kind regards,
>> Michael
>> 
>>>
>>> Thanks
>>>
>>>
>>> Nobuo
>>>
>>>
>>>
>>> _______________________________________________
>>> icinga-users mailing list
>>> [email protected]
>>> https://lists.icinga.org/mailman/listinfo/icinga-users
>> 
>> 
>> -- 
>> Michael Friedrich, DI (FH)
>> Application Developer
>> 
>> NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
>> Tel: +49 911 92885-0 | Fax: +49 911 92885-77
>> GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
>> http://www.netways.de | [email protected]
>> 
>> ** OSBConf 2015 - September - osbconf.org **
>> ** OSMC 2015 - November - netways.de/osmc **
>> 
>> 
>> _______________________________________________
>> icinga-users mailing list
>> [email protected]
>> https://lists.icinga.org/mailman/listinfo/icinga-users
>> 
>
>
>Freundliche Grüße
>-- 
>Klaus Muth
>HAGOS eG                   Industriestr. 62     fon:   (+49) 711
>78805-7086
>EDV-Programmierung         70565  Stuttgart     fax: (+49) 711
>78805-957035
>http://www.hagos.de            Germany
>mailto:[email protected]
>
>HAGOS Verbund deutscher Kachelofen- und Luftheizungsbauerbetriebe eG
>Sitz:                      Stuttgart
>Rechtsform:                Genossenschaft
>Registergericht:           Stuttgart GnR 77
>Vorstände:                 Guido Eichel, Ralf Tigges
>Aufsichtsratsvorsitzender: Thomas Müller
>USt.-ID-Nr.:               DE 147799748
>_______________________________________________
>icinga-users mailing list
>[email protected]
>https://lists.icinga.org/mailman/listinfo/icinga-users

_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to