Am 19.08.2015 um 18:43 schrieb Nobuo Matsushita:
Hi,
I am using Icinga v 2.3.4 and icingaweb2.
I set schedule downtime. I was hoping all hosts and services notification would
stop. But it was sending notifications for hosts and services outrage with
different notification type: Notification: DOWNTIMESTART and Notification:
DOWNTIMEEND
The followings are the configuration:
template Notification "Icinga-host-notification" {
command = "Icinga-host-notification"
states = [ Up, Down ]
types = [ Problem, Acknowledgement, Recovery, Custom,
FlappingStart, FlappingEnd,
DowntimeStart, DowntimeEnd, DowntimeRemoved ]
users = ["icingaadmin"]
period = "24x7"
}
template Notification "Icinga-service-notification" {
command = "Icinga-service-notification"
states = [ OK, Warning, Critical, Unknown ]
types = [ Problem, Acknowledgement, Recovery, Custom,
FlappingStart, FlappingEnd,
DowntimeStart, DowntimeEnd, DowntimeRemoved ]
users = ["icingaadmin"]
period = "24x7"
}
Because I have DowntimeStart, DowntimeEnd, and DowntimeRemoved in types
setting, I got notifications during scheduled downtime?
I want to stop All notifications during scheduled downtime.
Not notifying someone of a downtime could lead into problems e.g. admins
wondering about missing notifications during a downtime window. That is why
such start and end indications are enabled by default in the example
configuration. But it is generally up to you how much you'll filter your
notifications.
Kind regards,
Michael
Nobuo
_______________________________________________
icinga-users mailing list
[email protected]<mailto:[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