Pending checks

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jenstar13
Posts: 174
Joined: Wed May 11, 2016 7:48 am

Pending checks

Post by jenstar13 »

I'm migrating a lot of checks from core into XI and I'm just wondering why does "Pending" checks show up on the Service Problems page?

Nagios version installed
Latest Available Version: 5.4.13
Installed Version: 5.4.13
Last Update Check: 2018-05-23 12:25:02
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Pending checks

Post by npolovenko »

Hello, @jenstar13. Interesting, I checked and this report doesn't show pending checks on my XI. Could you take a screenshot of the whole report page and upload it to this thread?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
jenstar13
Posts: 174
Joined: Wed May 11, 2016 7:48 am

Re: Pending checks

Post by jenstar13 »

Ok, here it is, I had to white out some info
but here are two in red that were in a pending state with a real error
pending_checks_showing_operations_screen.jpg
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: Pending checks

Post by lmiltchev »

Well, technically they are not in a pending state, but in critical state. How did you migrate these services from Core to XI? Did you follow the steps, outlined in the document below?
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

The timestamps on these two services are 0 (epoc time)... What kind of check are these - active or passive? Can you show us the configuration files for these services?

Have you tried forcing an immediate check from the GUI? Do the state and timestamps change?
Be sure to check out our Knowledgebase for helpful articles and solutions!
jenstar13
Posts: 174
Joined: Wed May 11, 2016 7:48 am

Re: Pending checks

Post by jenstar13 »

I moved them by hand, with the bulk add tool copying an existing machine, and i didn't force an immediate check because i was still adding more, it was my colleges that noticed the operation screen. All the checks were active and went away on first scheduled run. I was just wondering why pending showed up as critical on the operation screen
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Pending checks

Post by lmiltchev »

I was just wondering why pending showed up as critical on the operation screen
It is hard to say after the fact. It is possible that these services had "initial_state" directive set to "c" (CRITICAL). The pending state should not show up as critical in the Operations Screen... There is nothing in the component's code that even mentions pending state as "pending" state is not one of the "non-ok" states.
Be sure to check out our Knowledgebase for helpful articles and solutions!
jenstar13
Posts: 174
Joined: Wed May 11, 2016 7:48 am

Re: Pending checks

Post by jenstar13 »

ok thank you, you can close this out then
Locked