Hi everyone, I can't image I'm the only one with this problem, but haven't found a simple solution so far.
Our monitoring server runs on UTC, as we are providing a service spread all over the world. Our operations unit works from Germany where we have daylight savings time and some events should only be sent during office hours. The approach so far was to use the following timeperiods. Has anyone accomplished the same with a different approach? I haven't tested that config, but at least the parser doesn't complain :) object TimePeriod "workhours" { import "legacy-timeperiod" display_name = "Service Desk" ranges = { "monday 25 october - 20 march" = "06:00-16:00" # Montags Winterzeit "tuesday 25 october - 20 march" = "06:00-16:00" # Dienstags Winterzeit "wednesday 25 october - 20 march" = "06:00-16:00" # Mittwochs Winterzeit "thursday 25 october - 20 march" = "06:00-16:00" # Donnerstags Winterzeit "friday 25 october - 20 march" = "06:00-16:00" # Freitags Winterzeit "monday 21 march - october 30" = "05:00-15:00" # Montags Sommerzeit "tuesday 21 march - october 30" = "05:00-15:00" # Dienstags Sommerzeit "wednesday 21 march - october 30" = "05:00-15:00" # Mittwochs Sommerzeit "thursday 21 march - october 30" = "05:00-15:00" # Donnerstags Sommerzeit "friday 21 march - october 30" = "05:00-15:00" # Freitags Sommerzeit } } Of course this has to be adjusted every year, but that would be ok for me. Best regards, Stephan
signature.asc
Description: OpenPGP digital signature
_______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users