I'm having a strange issue with Nagios. On one of my switches it lists "No Services Found" Even though there are services listed in the Core configuration manager.
I also had the disk space service on two of my servers disappear as well. The disk checks are also listed in the config manager. After a restart of the machine, the disk space checks reappeared. The checks on the switch also came back. But now, my other switch, which happens to be the same type lists "No Services Found".
Services disappearing in NagiosXI
Re: Services disappearing in NagiosXI
We had one other customer with an issue like this, but we never did quite nail down the issue. Lets see if we can narrow it down.
Does the service show up correctly in Nagios core?
If the service is not in Nagios Core, but is visible in the Core Config Manager, check to see if you can find the status information in the /usr/local/nagios/var/status.dat file.
Do you get a valid xml document by accessing the following url:
[url]http://<yourhost>/nagiosxi/backend/?cmd=getservicestatus[/url]
We did run into an issue recently where certain services were returning non UTF-8 characters, which was throwing off the xml used by Nagios XI. Not sure if that's the issue here or not. Here's the FAQ link for it:
http://support.nagios.com/wiki/index.ph ... No_Results
Does the service show up correctly in Nagios core?
If the service is not in Nagios Core, but is visible in the Core Config Manager, check to see if you can find the status information in the /usr/local/nagios/var/status.dat file.
Do you get a valid xml document by accessing the following url:
[url]http://<yourhost>/nagiosxi/backend/?cmd=getservicestatus[/url]
We did run into an issue recently where certain services were returning non UTF-8 characters, which was throwing off the xml used by Nagios XI. Not sure if that's the issue here or not. Here's the FAQ link for it:
http://support.nagios.com/wiki/index.ph ... No_Results
Re: Services disappearing in NagiosXI
How do I look in Nagios Core? Is it by checking the /usr/local/nagios/etc directory?
The services are not showing up in the status.dat file.
If I try to go to the backend, I receive the response: ERROR: NOT AUTHENTICATED
The services are not showing up in the status.dat file.
If I try to go to the backend, I receive the response: ERROR: NOT AUTHENTICATED
Re: Services disappearing in NagiosXI
You can check the service status in Nagios Core by accessing: (requires your nagiosadmin password)How do I look in Nagios Core? Is it by checking the /usr/local/nagios/etc directory?
http://<yourhostname>/nagios
Hmm, are you getting any errors when you apply configuration?The services are not showing up in the status.dat file.
Have you tried using the Core Config Manager->Write Config tool to manually write the DB information to the config files.
Sorry for the poor communication, I forgot to tell you to log into XI first, then access the following URL and see if you get an XML errorIf I try to go to the backend, I receive the response: ERROR: NOT AUTHENTICATED
[url]http://<yourhost>/nagiosxi/backend/?cmd=getservicestatus[/url]
Other things to try:
Try the following command from the command line:
killall -9 nagios
And then start the Nagios Monitoring engine from the Admin page.
Re: Services disappearing in NagiosXI
The services are not listed in Nagios Core.
No errors when applying configuration.
I've tried the write tool with no success.
The Backend brings back a valid XML file.
I've also tried killing nagios and restarting it from the admin page.
No errors when applying configuration.
I've tried the write tool with no success.
The Backend brings back a valid XML file.
I've also tried killing nagios and restarting it from the admin page.
Re: Services disappearing in NagiosXI
Ok, we're going to have to do some digging then to see what might cause that. I'm wondering if we've got a bug somewhere in NagiosQL...
Re: Services disappearing in NagiosXI
Any news on this problem?
I just restarted nagios and now that device's services came back and an entire host group's service disappeared.
I just restarted nagios and now that device's services came back and an entire host group's service disappeared.
Re: Services disappearing in NagiosXI
Is this problem with the services disappearing localized just to host and service groups, or are they disappearing from the main host and service tables as well?
Re: Services disappearing in NagiosXI
The services are no where to be found. But they are listed in the Configuration Manager.
Re: Services disappearing in NagiosXI
Ok, let me back up a step then. When you use the Write Config Tool, are you getting any errors related to file permissions, or does everything "appear" to work ok? If you're getting errors with permissions, you can run the /usr/local/nagiosxi/scripts/reset_config_perms script to make sure the permissions are set correctly.
Oh, can you also check the Core Config Manager->Config Manager Admin->Config Manager log to see if you have any error messages?
Oh, can you also check the Core Config Manager->Config Manager Admin->Config Manager log to see if you have any error messages?