[icinga-users] Downtime notifications behavior
Samuel.Bancal at epfl.ch
Mon Nov 23 13:53:53 CET 2015
Thanks for your fast answer. I gave it a try, that sounds like a good way to fix it.
On 20. 11. 15 11:38, Michael Friedrich wrote:
>> On 20 Nov 2015, at 10:52, Bancal Samuel<Samuel.Bancal at epfl.ch> wrote:
>> I’m not sure to understand Icinga2's behavior with downtimes.
>> I would say this should prevents notifications to be sent to the admins during a period that is planned for maintenance.
>> Let's see a concrete case : We reboot a server and make a cold image (Clonezilla).
>> a) we declare a downtime for the host in question and "All Services".
>> b) we reboot the server
>> c) we receive one email for the host with "DOWNTIMESTART - host is DOWN"
>> d) we receive one email per service on the host with "DOWNTIMESTART - host - service is CRITICAL"
>> e) we process with or without network (that depends if we drop the clonezilla image on a local or a network storage)
>> f) when maintenance is done, we reboot the server
>> as soon as downtime reaches the end
>> g) we receive one email for the host with "DOWNTIMEEND - host is UP"
>> h) we receive one email per service on the host with "DOWNTIMEEND - host - service is OK"
>> i) we even receive some emails with "RECOVERY host - service is OK" (duplicates with h) )
>> That's a huge verbose for a planned downtime.
>> What we'd expect would be a maximum of receiving the c) and g) emails ... and probably have the possibility not to receive any since we knew the problem before Icinga even found it.
>> I've readhttp://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/advanced-topics but couldn't find anything that could help.
> Use type filters and drop the DowntimeStart and DowntimeEnd notifications in case you don’t want them.
> Kind regards,
>> Are we missing something about downtime?
>> Samuel Bancal
>> icinga-users mailing list
>> icinga-users at lists.icinga.org
> Michael Friedrich, DI (FH)
> Senior 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 |Michael.Friedrich at netways.de
> ** OSMC 2015 - November - netways.de/osmc **
> ** OSDC 2016 - April – netways.de/osdc **
> icinga-users mailing list
> icinga-users at lists.icinga.org
More information about the icinga-users