Page 1 of 1

Host check is pending... Check is scheduled for 2014-12-15 1

Posted: Mon Dec 15, 2014 12:28 pm
by dsolberg
Greetings,

I have just upgraded to NagiosXI VM OVA installation from Nagios 3.0.3, I folloservice checks wed the links below for the import for the cfg files.

http://assets.nagios.com/downloads/nagi ... p-Tool.pdf
http://assets.nagios.com/downloads/nagi ... ios-XI.pdf

I did have some issues with service checks being duplicated which I resolved.

I am now faced with 242 of 250 hosts being stuck in hosts status information reporting such as: Host check is pending... Check is scheduled for 2014-12-15 11:25:27, when the time comes for a new check, just increments a new time and never fully checks. I have 620 service checks that appear to be functioning without issue.

I am new to NagiosXI and not sure what direction to go, any assistance would be appreciated.

Thank you in advance,

-Don

Re: Host check is pending... Check is scheduled for 2014-12-

Posted: Mon Dec 15, 2014 12:30 pm
by abrist
What version did you upgrade to?
You may want to just open a ticket by emailing [email protected]. We should be able to resolve this in a remote this afternoon.

Re: Host check is pending... Check is scheduled for 2014-12-

Posted: Mon Dec 15, 2014 12:35 pm
by dsolberg
Upgraded to Nagios XI 2014R2.0

I will look at opening a SR request, not in the office today and home internet connection is sometimes less than desirable. :?

Thank you for your response.

Re: Host check is pending... Check is scheduled for 2014-12-

Posted: Mon Dec 15, 2014 12:43 pm
by abrist
No problem. You can start by editing:

Code: Select all

/usr/local/nagios/etc/nagios.etc
Change:

Code: Select all

auto_rescheduling_window=180
To:

Code: Select all

auto_rescheduling_window=45
Save out and restart nagios.
If that does not work, Try restarting ndo2db and then applying config once as well.

Code: Select all

service ndo2db restart
Finally, lets check to make sure the db has the new columns and table:

Code: Select all

echo "use nagios;desc nagios_hosts;desc nagios_services;desc nagios_contacts;" | mysql -pnagiosxi | grep importance
echo "use nagios;show tables;" | mysql -pnagiosxi | grep parentservices

Re: Host check is pending... Check is scheduled for 2014-12-

Posted: Mon Dec 15, 2014 12:53 pm
by dsolberg
The auto_rescheduling_window was already set at 45

SQL Output:

echo "use nagios;desc nagios_hosts;desc nagios_services;desc nagios_contacts;" | mysql -pXXXXXX | grep importance
importance int(11) NO 0
importance int(11) NO 0
minimum_importance int(11) NO 0

echo "use nagios;show tables;" | mysql -pXXXXXX | grep parentservices
nagios_service_parentservices

Thanks!

Re: Host check is pending... Check is scheduled for 2014-12-

Posted: Mon Dec 15, 2014 12:58 pm
by abrist
Well, all looks good there. Lets move to the ticket system. I will try to personally take the ticket - just ask for "Andy" I will try to set up a remote asap.

Re: Host check is pending... Check is scheduled for 2014-12-

Posted: Mon Dec 15, 2014 1:00 pm
by dsolberg
Will do, we can attempt a remote, hopefully that will work for us....

If not hopefully we can reschedule when I am back in the office?

Thanks!

Re: Host check is pending... Check is scheduled for 2014-12-

Posted: Mon Dec 15, 2014 1:11 pm
by tmcdonald
We've received the ticket and I handed it to Andy. I'm going to close the thread now while we work in the ticket.