Nagios Core 4.3.4 - Host Appear - Disappear
-
- Posts: 7
- Joined: Wed Sep 05, 2018 9:57 am
Nagios Core 4.3.4 - Host Appear - Disappear
Hi,
I have the following problem, i have 711 host in my nagios core (version 4.3.4) but, some hosts appear and disappaear without action of my part.
result of /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg:
Checking objects...
Checked 2749 services.
Checked 711 hosts.
Checked 0 host groups.
Checked 0 service groups.
Checked 13 contacts.
Checked 10 contact groups.
Checked 76 commands.
Checked 5 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 711 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 5 timeperiods
OK State:
Host Status Totals
Up Down Unreachable Pending
704 7 0 0
All Problems All Types
7 711
Fail State
Host Status Totals
Up Down Unreachable Pending
662 4 0 0
All Problems All Types
4 666
When i refresh the page the host appear automatically. Please, your support.
I have the following problem, i have 711 host in my nagios core (version 4.3.4) but, some hosts appear and disappaear without action of my part.
result of /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg:
Checking objects...
Checked 2749 services.
Checked 711 hosts.
Checked 0 host groups.
Checked 0 service groups.
Checked 13 contacts.
Checked 10 contact groups.
Checked 76 commands.
Checked 5 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 711 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 5 timeperiods
OK State:
Host Status Totals
Up Down Unreachable Pending
704 7 0 0
All Problems All Types
7 711
Fail State
Host Status Totals
Up Down Unreachable Pending
662 4 0 0
All Problems All Types
4 666
When i refresh the page the host appear automatically. Please, your support.
Re: Nagios Core 4.3.4 - Host Appear - Disappear
Can you post the nagios.cfg file from the server so we can check the main configuration file settings?
Also, can you post the first 100 lines of the status.dat file?
One thing to check, is the time settings for the Nagios server stable?
If it is drifting, it could cause the issue you are having.
You may also want to upgrade to the latest version of Core on your server.
Also, can you post the first 100 lines of the status.dat file?
One thing to check, is the time settings for the Nagios server stable?
If it is drifting, it could cause the issue you are having.
You may also want to upgrade to the latest version of Core on your server.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 7
- Joined: Wed Sep 05, 2018 9:57 am
Re: Nagios Core 4.3.4 - Host Appear - Disappear
Hi tgriep,
Attached as requested
Attached as requested
- Attachments
-
- nagios.cfg
- nagios.cfg
- (43.87 KiB) Downloaded 303 times
Re: Nagios Core 4.3.4 - Host Appear - Disappear
One thing I see is that the Host Freshness option is not enabled on your server.
Restart nagios and see if that updates the Host Status better.
Edit the nagios.cfg file and set the option to 1 which will update the Host checks (Active and Passive) in a more timely manner.# This option determines whether or not Nagios will periodically
# check the "freshness" of host results. Enabling this option
# is useful for ensuring passive checks are received in a timely
# manner.
# Values: 1 = enabled freshness checking, 0 = disable freshness checking
Code: Select all
check_host_freshness=1
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 7
- Joined: Wed Sep 05, 2018 9:57 am
Re: Nagios Core 4.3.4 - Host Appear - Disappear
thanks for the answer tgriep,
I have noticed that the refreshment is faster, but some host still appear and disappear. as a data I tell you that now I have 725 host and at times I still see only 666, even having increased the total number of hosts (725) always decreases to the same value (666)
I have noticed that the refreshment is faster, but some host still appear and disappear. as a data I tell you that now I have 725 host and at times I still see only 666, even having increased the total number of hosts (725) always decreases to the same value (666)
Re: Nagios Core 4.3.4 - Host Appear - Disappear
It could be just a browser and the web server timing issue but always going to 666 is weird.
I suggest upgrading to the latest version of Core and you can download that at this link.
https://assets.nagios.com/downloads/nag ... 4.2.tar.gz
I suggest upgrading to the latest version of Core and you can download that at this link.
https://assets.nagios.com/downloads/nag ... 4.2.tar.gz
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 7
- Joined: Wed Sep 05, 2018 9:57 am
Re: Nagios Core 4.3.4 - Host Appear - Disappear
Hi,
before making the upgrade, I have another additional verification?
before making the upgrade, I have another additional verification?
Re: Nagios Core 4.3.4 - Host Appear - Disappear
One more thing to try, edit the /usr/local/nagios/etc/cgi.cfg file and change the following option.
That option changes the refreshing of the other cgi scripts and the data in the GUI. That may work as well.
Remember to restart the Apache and Nagios processes after changing that setting.
Code: Select all
refresh_rate=90
Remember to restart the Apache and Nagios processes after changing that setting.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 7
- Joined: Wed Sep 05, 2018 9:57 am
Re: Nagios Core 4.3.4 - Host Appear - Disappear
Hi,
change the refresh_rate=10 parameter but I still have the same problem, the only option I have is to update?
change the refresh_rate=10 parameter but I still have the same problem, the only option I have is to update?
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Nagios Core 4.3.4 - Host Appear - Disappear
Your issue could be caused by multiple Nagios processes running at the same time. Please run the following commands in order:
Let me know if this fixes your issue. Also, when did you start noticing this problem? What changes were made to the system prior to that?service nagios stop
killall -9 nagios
service nagios start
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.