Notification_Interval query
Posted: Thu Sep 17, 2015 6:19 am
Good afternoon,
Although I have this in my templates.cfg:
I am receiving email notifcations every 60 minutes!
[Edit] I think I might just have answered my own question - do I need to add Notification_Interval = 0 into generic_host as well?
[Edit] I set Notification_Interval to 0 in generic host as well and I'm STILL getting notifications every 60 minutes!
Thanks in advance
Pete
Although I have this in my templates.cfg:
Code: Select all
define host{
name windows-server ; The name of this host template
use generic-host ; Inherit default values from the generic-host template
check_period 24x7 ; by default, Windows servers are monitored round the clock
check_interval 5 ; Actively check the server every 5 minutes
retry_interval 1 ; Schedule host check retries at 1 minute intervals
max_check_attempts 10 ; Check each server 10 times (max)
check_command check-host-alive; Default command to check if servers are "alive"
notification_period 24x7 ; Sends notifications out at any time - day or night
notification_options d,r
notification_interval 0 ; Minutes or 0 Only send the FIRST notification
contact_groups admins ; Notifications get sent to the admins by default
hostgroups windows-servers ; Host groups that Windows servers should be a member of
register 0 ; DONT REGISTER THIS - ITS JUST A TEMPLATE
}
[Edit] I think I might just have answered my own question - do I need to add Notification_Interval = 0 into generic_host as well?
Code: Select all
define host{
name generic-host ; The name of this host template
notifications_enabled 1 ; Host notifications are enabled
event_handler_enabled 1 ; Host event handler is enabled
flap_detection_enabled 1 ; Flap detection is enabled
process_perf_data 1 ; Process performance data
retain_status_information 1 ; Retain status information across program restarts
retain_nonstatus_information 1 ; Retain non-status information across program restarts
notification_period 24x7 ; Send host notifications at any time
notification_interval 0
register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
}
Thanks in advance
Pete