List of monitored hosts

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
gsl_ops_practice
Posts: 151
Joined: Thu Apr 09, 2015 9:14 pm

List of monitored hosts

Post by gsl_ops_practice »

Hello,

Can you please help me understand how it is possible that the GUI shows notifications for services are enabled but the backend XML shows notifications are disabled?

As per below:
$138B38CED612775.jpg
$37547575F62ED4F5.jpg
$49D00ACB6972BCE1.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: List of monitored hosts

Post by lmiltchev »

Most probably, the notifications are still disabled in the "retention.dat". How often this value will get updated would depend on the "retention_update_interval". The default is 60 minutes.

Code: Select all

grep "retain_state_information\|retention_update_interval" /usr/local/nagios/etc/nagios.cfg
Be sure to check out our Knowledgebase for helpful articles and solutions!
gsl_ops_practice
Posts: 151
Joined: Thu Apr 09, 2015 9:14 pm

Re: List of monitored hosts

Post by gsl_ops_practice »

Hello,

The config on our installation is set to the default 60 minutes.

Code: Select all

 grep "retain_state_information\|retention_update_interval" /usr/local/nagios/etc/nagios.cfg
retain_state_information=1
retention_update_interval=60
This has been the case for at least 48 hours. Anything else we can check before chalking this up to a bug in R2.6?
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: List of monitored hosts

Post by tgriep »

For a test, lets try this to see if the issue goes away. Run these commands in this order in a shell on the server.

Code: Select all

service nagios stop
service ndo2db stop
service ndo2db start
service nagios start
Let us know if this works for you.
Be sure to check out our Knowledgebase for helpful articles and solutions!
gsl_ops_practice
Posts: 151
Joined: Thu Apr 09, 2015 9:14 pm

Re: List of monitored hosts

Post by gsl_ops_practice »

Hello,

This resolved my issue, please mark this thread closed.

Thank you for your support.
Locked