Page 1 of 1
Pending checks
Posted: Thu May 24, 2018 6:06 am
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
Re: Pending checks
Posted: Thu May 24, 2018 1:09 pm
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?
Re: Pending checks
Posted: Fri May 25, 2018 9:45 am
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
Re: Pending checks
Posted: Fri May 25, 2018 12:32 pm
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?
Re: Pending checks
Posted: Tue May 29, 2018 5:56 am
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
Re: Pending checks
Posted: Tue May 29, 2018 9:51 am
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.
Re: Pending checks
Posted: Tue May 29, 2018 12:00 pm
by jenstar13
ok thank you, you can close this out then