Page 1 of 2

Host check is pending... after renaming some hosts

Posted: Thu May 26, 2011 10:05 pm
by Box293
I renamed some hosts today using CCM.

Afterwards these specific hosts are showing up as "Host check is pending...".
01 Host Status Detail.png
But from other views it looks OK
02 Host Status Summary.png

From the first screenshot you can see that there is no "Schedule an immediate check" link.

I've tried rebooting the Nagios XI server, no change.

With one of the hosts I've tried
  • disabling host
    applying config
    deleting host
    applying config
    creating host
    applying config
However the same problem exists.

Help :cry:

Nagios XI 2011R1.1 running on ESXi 4.1 Update 1 VM.

Re: Host check is pending... after renaming some hosts

Posted: Fri May 27, 2011 3:17 pm
by admin
Hmmmm - I suspect this is a bug in the XI code that fetches host information. Can you email us to provide us with the host name the host is currently using? That will help us in debugging. Send it to: [email protected]

Thanks!

Re: Host check is pending... after renaming some hosts

Posted: Fri May 27, 2011 11:02 pm
by Box293
Just emailed it through.

Re: Host check is pending... after renaming some hosts

Posted: Tue May 31, 2011 1:30 pm
by mguthrie
If you're running 2011R1.1, I would recommend upgrading to our latest release as soon as it's feasible for you. We discovered a bug in 1.1 that may cause table corruption in the ndoutils tables. I might recommend running the following repair procedure and see if this resolves your issue:

http://library.nagios.com/library/produ ... i-database

Re: Host check is pending... after renaming some hosts

Posted: Wed Jun 01, 2011 1:54 am
by Box293
Sure thing, I've done the following:
  • Ran the repair procedure
    No change
    Upgraded to 2011 R1.3
    No change
    Rebooted XI sever
    No change
    Ran the repair procedure
    No change
    Ran the repair procedure
    No change
After this I did a quick test:
  • Created a new host called 2150-vault16-2
    Applied config
    All working OK
    Renamed host as 2150-VAULT16-2
    Applied config
    Same problem occurs as described in first post, there is no "Schedule an immediate check" link, host is showing up as "Host check is pending...".

Re: Host check is pending... after renaming some hosts

Posted: Wed Jun 01, 2011 9:20 am
by mguthrie
I think I've seen this on one of my own test boxes, but I thought it was something I broke since it was my development test box ; ) I'll do some digging on this and see what I can find out, but it looks like this could be a bug since another user is reporting the exact same thing.

Re: Host check is pending... after renaming some hosts

Posted: Wed Jun 01, 2011 11:19 am
by mguthrie
Bug Confirmed. We found the cause of it and we're working on a fix as we speak.

http://tracker.nagios.com/view.php?id=155

Re: Host check is pending... after renaming some hosts

Posted: Wed Jun 01, 2011 10:24 pm
by Box293
Great stuff

Re: Host check is pending... after renaming some hosts

Posted: Thu Jun 02, 2011 9:15 am
by mguthrie
Our patch appears to have fixed this. This should be taken care of in 2011R1.4 when it's released.

Re: Host check is pending... after renaming some hosts

Posted: Mon Jul 04, 2011 4:59 am
by Box293
I can confirm that this problem no longer occurs when I upgraded to 2011R1.5. I didn't get around to trying 1.4.