Page 1 of 1

List of monitored hosts

Posted: Mon Jun 01, 2015 8:50 am
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

Re: List of monitored hosts

Posted: Mon Jun 01, 2015 11:03 am
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

Re: List of monitored hosts

Posted: Mon Jun 01, 2015 11:29 am
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?

Re: List of monitored hosts

Posted: Mon Jun 01, 2015 1:51 pm
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.

Re: List of monitored hosts

Posted: Mon Jun 01, 2015 2:35 pm
by gsl_ops_practice
Hello,

This resolved my issue, please mark this thread closed.

Thank you for your support.