Hi Everyone,
I’m having a little problem with nagios sending notifications whe it recognizes a host is down. To be more specific, I have host checks turned on and host notification_interval set to 15 minutes. When a service goes down, the host check fires correctly and it notices the host is down. The first host down notification is sent as it should but no subsequent notifications are ever sent.
When the host comes back up, the recovery notifications go out but the intervening notifications that should be coming out every 15 minutes or so.
(It is acting as if the host notification interbal were set to 0 even though I know it is not)
Has anyone ever run into this problem before?
Here are the relevent snipets from my config files:
(host names and ip’s removed to protect the innocent.
Hosts.cfg
define host {
name GenericHost
register 0
checks_enabled 0
event_handler_enabled 1
notifications_enabled 1
notification_options d,u,r
notification_interval 15
notification_period 24x7
process_perf_data 0
retain_nonstatus_information 0
retain_status_information 1
flap_detection_enabled 0
max_check_attempts 1
check_command check-host-alive
}
define host {
use GenericHost
name PingableHost
register 0
checks_enabled 1
}
define host {
use GenericHost
host_name test.foo.com
alias test.foo.com
address x.x.x.x
}
Services.cfg
define service {
name GenericService
register 0
check_freshness 0
obsess_over_service 0
event_handler_enabled 1
is_volatile 0
passive_checks_enabled 0
notifications_enabled 1
notification_options w,c,u,r
notification_interval 15
notification_period 24x7
retain_status_information 1
normal_check_interval 5
check_period 24x7
retry_check_interval 1
active_checks_enabled 1
retain_nonstatus_information 0
process_perf_data 1
parallelize_check 1
max_check_attempts 3
contact_groups all
}
define service {
use GenericService
host_name test.foo.com
service_description SSH
check_command check_ssh!22
max_check_attempts 3
}
Any help anyone can give would be appreciated!
Chris