Host check issue
-
- Posts: 211
- Joined: Tue Dec 27, 2016 3:12 am
Host check issue
Host definition from template.cfg.
We are using passive check
max_check_attempts 1
check_interval 1
retry_interval 1
active_checks_enabled 0
passive_checks_enabled 1
In critical, shwoing soft state, want to hard state to sent notification.
Host status update taking 10 min to get status details.
Please help to fix this issue.
We are using passive check
max_check_attempts 1
check_interval 1
retry_interval 1
active_checks_enabled 0
passive_checks_enabled 1
In critical, shwoing soft state, want to hard state to sent notification.
Host status update taking 10 min to get status details.
Please help to fix this issue.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Host check issue
In the nagios.cfg
change this
to this
and restart nagios
change this
Code: Select all
passive_host_checks_are_soft=1
Code: Select all
passive_host_checks_are_soft=0
-
- Posts: 211
- Joined: Tue Dec 27, 2016 3:12 am
Re: Host check issue
passive_host_checks_are_soft=0
already updated in nagios.cfg
already updated in nagios.cfg
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Host check issue
What version of Nagios Core are you running?
These should be HARD by default, but there were a few bugs in early 4.4.x that could cause this behavior.
These should be HARD by default, but there were a few bugs in early 4.4.x that could cause this behavior.
-
- Posts: 211
- Joined: Tue Dec 27, 2016 3:12 am
Re: Host check issue
We are using
Nagios core version : 4.3.4
Nagios core version : 4.3.4
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Host check issue
Can you show an example of one of these?
-
- Posts: 211
- Joined: Tue Dec 27, 2016 3:12 am
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Host check issue
Can you show the whole configuration for this host (obfuscating any sensitive info)?
-
- Posts: 211
- Joined: Tue Dec 27, 2016 3:12 am
Re: Host check issue
Question :
What is importance of freshness_threshold in host passive check, if this is zero or not defined, ok with host definition, any impact on server resource utilization.
We have nagios core server version 4.3.4 with 1000 host and 80k services monitoring
What is importance of freshness_threshold in host passive check, if this is zero or not defined, ok with host definition, any impact on server resource utilization.
We have nagios core server version 4.3.4 with 1000 host and 80k services monitoring
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Host check issue
freshness_threshold
https://assets.nagios.com/downloads/nag ... tions.html
When the freshness_threshold is reached, an active check is performed if check_freshness is enabledThis directive is used to specify the freshness threshold (in seconds) for this host. If you set this directive to a value of 0, Nagios will determine a freshness threshold to use automatically.
https://assets.nagios.com/downloads/nag ... tions.html