I have a wonderful setup which is all working fine and I have made some manual additions directly on the server. However, my notification periods are being ignored - emails are being sent at any hours, every hour for non critical servers / devices (which is how I have setup our "Production" notifications).
Example, one of the servers:
Code: Select all
define host {
host_name TESTSERVER
alias TESTSERVER
address 192.168.0.2
use linux-server
check_command check-host-alive
max_check_attempts 1
check_interval 1
retry_interval 1
check_period workhours
check_freshness 1
contact_groups admins
notification_interval 2
notification_period workhours
notifications_enabled 1
register 1
notification_interval 30
}
Example of timeperiods:
Code: Select all
define timeperiod {
name workhours
timeperiod_name workhours
alias Normal Work Hours
monday 11:00-17:00
tuesday 11:00-17:00
wednesday 11:00-17:00
thursday 11:00-17:00
friday 11:00-17:00
}
Many thanks for any help in advance!