Service Status stuck in pending

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Service Status stuck in pending

Post by Box293 »

Code: Select all

mkdir /tmp/hosts_backup
mkdir /tmp/services_backup
mv /usr/local/nagios/etc/hosts/*.* /tmp/hosts_backup/
mv /usr/local/nagios/etc/services/*.* /tmp/services_backup/
Go into CCM
Quick Tools > Apply Configuration
Click the Apply Configuration button

Does this fix your problem?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
weapon
Posts: 16
Joined: Sun Apr 06, 2014 8:00 pm

Re: Service Status stuck in pending

Post by weapon »

No, that still does not help :(
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Service Status stuck in pending

Post by tgriep »

Could you run the following in a shell on the XI server and schedule an immediate check for that service and post back the results of the tail command?

Code: Select all

tail -f /usr/local/nagiosxi/var/cmdsubsys.log
Be sure to check out our Knowledgebase for helpful articles and solutions!
weapon
Posts: 16
Joined: Sun Apr 06, 2014 8:00 pm

Re: Service Status stuck in pending

Post by weapon »

I had to submit a passive result first before I could force a immediate check - it is still reporting a passive OK state after I submitted the command.

I have got the tail you requested attached.
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: Service Status stuck in pending

Post by lmiltchev »

I had to submit a passive result first before I could force a immediate check - it is still reporting a passive OK state after I submitted the command.
Why did you have to submit a passive check before you could force an immediate check?

Do you have any mysql errors?

Code: Select all

tail -50 /var/log/mysqld.log
Be sure to check out our Knowledgebase for helpful articles and solutions!
weapon
Posts: 16
Joined: Sun Apr 06, 2014 8:00 pm

Re: Service Status stuck in pending

Post by weapon »

I have to submit a passive check first as when it is stuck in pending, I can't force and intimidate check.

Doesn't look like I have any SQL errors
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Service Status stuck in pending

Post by abrist »

If the check is stuck as "Pending", then it is not getting scheduled at all, or it is getting recheduled before the check is run. Is there a scheduled next check time on the check's details page in XI?

If core is displaying it correctly, then it is an issue with ndo - it is either not getting inserted into the db, or it is getting read from the db correctly.
This may be a very fast resolution through a remote if you wish to open a ticket.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
weapon
Posts: 16
Joined: Sun Apr 06, 2014 8:00 pm

Re: Service Status stuck in pending

Post by weapon »

It is stuck in pending because the backend is publishing the wrong date for when the state last changed.
How do I open a ticket to get this resolved?
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Service Status stuck in pending

Post by Box293 »

Send an email to [email protected] referencing this forum post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Service Status stuck in pending

Post by tmcdonald »

We have received your ticket so I will be locking this thread.
Former Nagios employee
Locked