Service check pending

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
mtkaschools
Posts: 58
Joined: Tue Sep 14, 2010 7:53 am

Re: Service check pending

Post 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.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Service check pending

Post by mguthrie »

Any chance you could show us the plugin output from one of these checks (minus any private data)?
User avatar
admin
Site Admin
Posts: 256
Joined: Mon Oct 12, 2009 8:21 am

Re: Service check pending

Post 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).
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Ethan Galstad
President
mtkaschools
Posts: 58
Joined: Tue Sep 14, 2010 7:53 am

Re: Service check pending

Post 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.
You do not have the required permissions to view the files attached to this post.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Service check pending

Post 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.
mtkaschools
Posts: 58
Joined: Tue Sep 14, 2010 7:53 am

Re: Service check pending

Post by mtkaschools »

Here is the screen shot.
You do not have the required permissions to view the files attached to this post.
mtkaschools
Posts: 58
Joined: Tue Sep 14, 2010 7:53 am

Re: Service check pending

Post by mtkaschools »

Clicking on 'enable' doesn't change the state. I've tried that several times.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Service check pending

Post 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.
mtkaschools
Posts: 58
Joined: Tue Sep 14, 2010 7:53 am

Re: Service check pending

Post by mtkaschools »

when I click that link, I get a 'not authenticated' message.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Service check pending

Post 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. )
Locked