Am 15.07.2015 um 08:37 schrieb Patrick Hunziker:
Hello

I've set up ICINGA2, everything works just fine, except the scheduled 
downtimes. I have configured recurring scheduled downtimes for our filr 
(Novell) and its hypervisor. The thing is it worked for about a week and 
afterwards the rule applys fully random (sometimes it sends notifications 
sometimes not).

The rule itself won't send any notifications. It will schedule a downtime for the current day, which then may suppress notifications. So in order to debug your problem, you should enable the debug log and test what's going on - is the downtime set, possible errors, etc.

Kind regards,
Michael


My configuration:
----------------------------8<----------------------------
apply ScheduledDowntime "filr reindex" to Service {
         author = "icingaadmin"
         comment = "Scheduled downtime for filr reindex"
         ranges = {
                 monday = "02:00-05:00",
                 tuesday = "02:00-05:00",
                 wednesday = "02:00-05:00",
                 thursday = "02:00-05:00",
                 friday = "02:00-05:00",
                 saturday = "02:00-05:00",
                 sunday = "02:00-05:00"
         }

         assign where host.name == "filr-main"
         assign where host.name == "filr-mysql"
         assign where host.name == "msw-app7"
}
----------------------------8<----------------------------

Regards
Patrick

_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users


--

https://twitter.com/dnsmichi
https://github.com/dnsmichi
http://www.legendiary.at

_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to