Hi Guys,
My Nagios XI version is Nagios XI 2014R1.4.
I would like to check, what is the default duration for Host Down check attempt? Every 1 min, 5 attempt?
I want to increase the check attempt duration for Host Down, so I do not want to receive the Host Down email notification immediately.
Need your help.
[Email Notification] Host Down Check Attempt.
Re: [Email Notification] Host Down Check Attempt.
The default Host values are:
Check Interval: 5 minutes
Retry Interval: 1 minute
Max Check Attempts: 5
These are set via templates (xi_wizard_generic_host at the very bottom).
Check Interval: 5 minutes
Retry Interval: 1 minute
Max Check Attempts: 5
These are set via templates (xi_wizard_generic_host at the very bottom).
Former Nagios employee
Re: [Email Notification] Host Down Check Attempt.
By the way, my settings for xiwizard_generic_host is default Host values..tmcdonald wrote:The default Host values are:
Check Interval: 5 minutes
Retry Interval: 1 minute
Max Check Attempts: 5
These are set via templates (xi_wizard_generic_host at the very bottom).
But, when I did a test.. Every attempts changed to 30 seconds... Meaning to say, 2 min 30 sec later I will receive the email notification..
Any idea? Is it a bug?
Re: [Email Notification] Host Down Check Attempt.
What do you have set in /usr/local/nagios/etc/nagios.cfg for interval_length? It should be 60. Looks like it might be 30. If this is the case, set it back to 60 and run "service nagios restart" for the change to take effect.
Former Nagios employee
Re: [Email Notification] Host Down Check Attempt.
Hi.. my interval_length in /usr/local/nagios/etc/nagios.cfg is set to 60..tmcdonald wrote:What do you have set in /usr/local/nagios/etc/nagios.cfg for interval_length? It should be 60. Looks like it might be 30. If this is the case, set it back to 60 and run "service nagios restart" for the change to take effect.
interval_length=60
Re: [Email Notification] Host Down Check Attempt.
Does this happen with all hosts or just one host? Can you show us the host definition? If these values (Check Interval, Retry Interval and Max Check Attempts) are set on a host level, these setting will take precedence over the template.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: [Email Notification] Host Down Check Attempt.
lmiltchev wrote:Does this happen with all hosts or just one host? Can you show us the host definition? If these values (Check Interval, Retry Interval and Max Check Attempts) are set on a host level, these setting will take precedence over the template.
Hi, may I know where to get the host definition?
Re: [Email Notification] Host Down Check Attempt.
By the way, this is happen for all the host...
I just did a test... I changed retry interval from 1 min to 2 min in (xi_wizard_generic_host)
Noticed that, the retry interval now is 1 min after Host is DOWN.
Kinda weird on this configuration.. If 1 min = 30 sec, 2 min = 1 min...
Any idea on this?
Can you share with me, where to get the host definition?
I just did a test... I changed retry interval from 1 min to 2 min in (xi_wizard_generic_host)
Noticed that, the retry interval now is 1 min after Host is DOWN.
Kinda weird on this configuration.. If 1 min = 30 sec, 2 min = 1 min...
Any idea on this?
Can you share with me, where to get the host definition?
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: [Email Notification] Host Down Check Attempt.
Open Core Configuration Managerigsadmin wrote:Hi, may I know where to get the host definition?
Click Hosts
Find the host you are talking about
Click the floppy disk icon
This is the host definition. Post that here.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: [Email Notification] Host Down Check Attempt.
Hi, this is the host definition,Box293 wrote:Open Core Configuration Managerigsadmin wrote:Hi, may I know where to get the host definition?
Click Hosts
Find the host you are talking about
Click the floppy disk icon
This is the host definition. Post that here.
###############################################################################
#
# Host configuration file
#
# Created by: Nagios Core Config Manager 2.2.0
# Date: 2014-09-25 00:02:39
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios CCM will overwrite all manual settings during the next update if you
# would like to edit files manually, place them in the 'static' directory or
# import your configs into the CCM by placing them in the 'import' directory.
#
###############################################################################
define host {
host_name ABCD
use xiwizard_windowssnmp_host
address 10.10.68.3
hostgroups Jaya
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
contacts igsadmin
notification_interval 0
notification_period xi_timeperiod_24x7
icon_image win_server.png
statusmap_image win_server.png
_xiwizard windowssnmp
register 1
}
###############################################################################
#
# Host configuration file
#
# END OF FILE
#
###############################################################################