host escalations

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
doneil326
Posts: 82
Joined: Fri Aug 14, 2015 3:26 pm

host escalations

Post by doneil326 »

hello,

i am having an issue where a host notification escalation is executing on the first failed attempt of a check_xi_host_ping even though max attempts are set to 3. I would like to understand why it is not waiting for the 3 attempts to fail and go to a hard state before it notifies.

Host Template - Common Settings
Check Command - check_xi_host_ping

Host Template - Check Settings
Check Interval 1
Retry Interval 1
Max check attempts 3

Host Escalation Management
First Notification 1
Last Notification 0
Notification Interval 60
Escalation options d r
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: host escalations

Post by Box293 »

In XI, find the Host and click on it
There are four icons at the top
The second icon is "View Host Notifications"
The third icon is "View Host History"

For both of these icons:
Click the icon
Change the Period to This Week
Click Update
Take a screenshot

Please show us both screenshots.

Can you please run these commands and send back the output:
Where xxxxx = the name of the host

Code: Select all

grep -i xxxxx /usr/local/nagios/var/nagios.log
grep -i xxxxx /usr/local/nagios/var/archives/nagios-??-??-2016-*.log
cat /usr/local/nagios/var/objects.cache | sed -rn "/define host \{/{:a;N;/}/{/.host_name.xxxxx/p;d};ba}"
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked