Nagios Core and Host Escalations
Posted: Tue Feb 04, 2014 5:13 pm
Hey All,
I'm rather new here so I will do my best to post all the data I can.
I'm currently using Nagios Core 3.x, we are trying to get Host Escalations to work so that:
1) Host goes down
2) Sends alert to webdev
3) After the first message it moves down the ladder to admins (something simple to test)
These are the contents of my host file for host test.test.com:
That is what I have so far. I have tried just about every combination I can think of, placed them in separate files, etc.. and it just won't work.
It seems to grab the contacts I have defined under the host, but ignores my escalations.
I will do my best to respond to any post and provide as much data as possible so I apologize in advance if i missed something obvious.
I'm rather new here so I will do my best to post all the data I can.
I'm currently using Nagios Core 3.x, we are trying to get Host Escalations to work so that:
1) Host goes down
2) Sends alert to webdev
3) After the first message it moves down the ladder to admins (something simple to test)
These are the contents of my host file for host test.test.com:
Code: Select all
define host{
host_name test
alias test.test.com
address test.test.com
check_command check-host-alive
check_interval 0
retry_interval 1
max_check_attempts 1
flap_detection_enabled 0
check_period 24x7
process_perf_data 1
retain_nonstatus_information 0
contact_groups webdev,admins
notifications_enabled 1
notification_interval 1
notification_period 24x7
notification_options d,u,r
}
define hostescalation{
host_name test
contact_groups webdev
first_notification 1
last_notification 2
notification_interval 1
}
define hostescalation{
host_name test
contact_groups admins
first_notification 2
last_notification 5
notification_interval 1
}It seems to grab the contacts I have defined under the host, but ignores my escalations.
I will do my best to respond to any post and provide as much data as possible so I apologize in advance if i missed something obvious.