Hi,
I am using Nagios Xi 5.6.7. i was told in earlier posts that nagios doesn't send service alerts if the node is inaccessible, instead only one host alert. but yesterday i had only one inaccessible node, i received service alerts but not host alert.
do i need to check or change any configuration in nagios?
Thanks,
Nagios alerts on inaceesible node
Re: Nagios alerts on inaceesible node
If you run a State History report for that Host and Services, does it show that the Host was down before or after the Service Critical?
Does it show the host being down at all during that time?
One thing, if you have a short check interval for the service and a much longer check interval for the host check, it the timing is right, the service check could go critical before the host check and send the Notification.
Does it show the host being down at all during that time?
One thing, if you have a short check interval for the service and a much longer check interval for the host check, it the timing is right, the service check could go critical before the host check and send the Notification.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios alerts on inaceesible node
I wonder, i don't see any host alerts, either in state history or notifications. The server blade lost its connection and its offline all the time during those alerts.
All the host alerts and service alerts have the same check and recheck intervals.
All the host alerts and service alerts have the same check and recheck intervals.
Re: Nagios alerts on inaceesible node
What do you see for the current Host Status?
Are the stats updating?
Check the Advanced Tab and verify that Active Checks are enabled.
If there are duplicated nagios processes, that may be the cause.
Run this as root
Then check the system to see if that Host is still updating and wait to see if the issue happens again.
Are the stats updating?
Check the Advanced Tab and verify that Active Checks are enabled.
If there are duplicated nagios processes, that may be the cause.
Run this as root
Code: Select all
service nagios stop
killall -9 nagios
service nagios startBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios alerts on inaceesible node
I see current Host Status from Host status advanced tab. I have active checks enabled but am not sure why last check is updating.
See attached advanced status details.
See attached advanced status details.
You do not have the required permissions to view the files attached to this post.
Re: Nagios alerts on inaceesible node
Previous versions Nagios Core that came with older versions of XI had a but that could cause that issue so if the server was updated to 5.6.9, it should be running Nagios Core 4.4.5
Run this as root to verify the version.
Not to fix the issue, you will have to remove the status of that host so Core can reset the counters and update the data.
Stop the nagios process
Edit the /usr/local/nagios/var/retention.dat file
Find the entry for that Host and delete all of it so it will be updated.
Start the nagios process
Wait for 5 minutes so the check can run and look as the GUI to see if the data is updated.
Run this as root to verify the version.
Code: Select all
/usr/local/nagios/bin/nagiosStop the nagios process
Code: Select all
service nagios stopFind the entry for that Host and delete all of it so it will be updated.
Start the nagios process
Code: Select all
service nagios startBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios alerts on inaceesible node
recently, i have upgraded to 5.6.10 this friday. so am on higher version. May i know the reason why it sent service alerts, not host alert if the host is inaccessible? the server lost its connection from the blade which shows its not available during the whole time.
Re: Nagios alerts on inaceesible node
Could you post or PM me your Nagios XI System Profile so we can review it?
To get your system profile. Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and upload it to the forum post or PM it to me.
What is the name of the Host and Service in question?
To get your system profile. Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and upload it to the forum post or PM it to me.
What is the name of the Host and Service in question?
Be sure to check out our Knowledgebase for helpful articles and solutions!