Page 2 of 2

Re: Service check pending

Posted: Mon Dec 20, 2010 9:38 pm
by mtkaschools
everything is using the same check command. I checked the \nagios page, and I don't have that problem thru that interface; only the XI interface. That was a great tip, so now it looks to be narrowed down to just the XI interface after the upgrade.

Re: Service check pending

Posted: Tue Dec 21, 2010 3:13 pm
by mguthrie
Any chance you could show us the plugin output from one of these checks (minus any private data)?

Re: Service check pending

Posted: Tue Dec 21, 2010 5:00 pm
by admin
It would also be helpful if you could upload a screenshot of the "Advanced" tab for one of the services that's incorrectly listed as being in a pending state. That will help in debugging the error. Feel free to modify the screenshot to remote any sensitive data (e.g. ip address).

Re: Service check pending

Posted: Tue Dec 21, 2010 7:15 pm
by mtkaschools
I think these are the screen shots you're requesting. This is FILE1. If I look at FILE2, they look identical in settings, except IP obviously.

Re: Service check pending

Posted: Wed Dec 22, 2010 11:10 am
by mguthrie
Sorry for the confusion. Can you go to the Home->Service Details->(Pending service check)->Advanced(tab) and send us a screenshot of that? We need to see the check output as well as the "last check" and a few other pieces of information.

Re: Service check pending

Posted: Wed Dec 22, 2010 2:01 pm
by mtkaschools
Here is the screen shot.

Re: Service check pending

Posted: Wed Dec 22, 2010 2:02 pm
by mtkaschools
Clicking on 'enable' doesn't change the state. I've tried that several times.

Re: Service check pending

Posted: Mon Dec 27, 2010 4:20 pm
by mguthrie
First, use the Nagios core interface to make sure everything is enabled and the service is actually doing checks with the Core engine.

Do you get any check results to show up when you "schedule an immediate check" from the "overview" tab?

For some reason it's dropping the data in XI. The "pending" status is there because it's not finding a time for the "last check result."

Can you try accessing the following URL?
[url]http://<youraddress>/nagiosxi/backend/?cmd=getservicestatus[/url]
You should see a large amount of raw XML data. If you have an XML error from that url, then there's something being generated by those checks that are escaping the XML tags and we'll need to see both the plugin output and the configs for those services.

Re: Service check pending

Posted: Tue Dec 28, 2010 3:21 pm
by mtkaschools
when I click that link, I get a 'not authenticated' message.

Re: Service check pending

Posted: Wed Dec 29, 2010 5:09 pm
by mguthrie
Sorry about that, i forgot to edit my URL. Follow the unstructions above first, then go to this address on your XI server and let us know if you get a lot of XML data or if you get an error message:
[url]
http://<yourserveraddress>/nagiosxi/backend/?cmd=getservicestatus[/url]

(You'll need to login to your Nagios XI server first in order to access this URL. )