check_http is stuck in pending.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
s.dehaan
Posts: 16
Joined: Thu Apr 12, 2012 7:18 am

Re: check_http is stuck in pending.

Post by s.dehaan »

scottwilkerson wrote:It is possible that this is the cause, the bug referenced in the link I sent will make the database (that the web page reads out of) update at an extremely slow pace...
Thanks for you continued effort. I will try the things described in the FAQ. But most likely on Monday.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check_http is stuck in pending.

Post by scottwilkerson »

let us know if this resolves the issue.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
s.dehaan
Posts: 16
Joined: Thu Apr 12, 2012 7:18 am

Re: check_http is stuck in pending.

Post by s.dehaan »

scottwilkerson wrote:let us know if this resolves the issue.
Hi Scott,

Unfortunatly, It did not resolve the issues. I verified the settings in the file, and they are exactly the same as they are in the FAQ. Even though the Nagios XI interface shows the service as pending. The notifications and alerts work perfectly fine in the background(Nagios Core?) in some weird way.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check_http is stuck in pending.

Post by scottwilkerson »

The values are likely already updated but you need to run the following for the changes to take affect

Code: Select all

sysctl -p
From the wiki:
After these settings are saved to the file, run:

Code: Select all

sysctl -p
To apply the new settings. If the system still appears to be working improperly, reboot the machine.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
s.dehaan
Posts: 16
Joined: Thu Apr 12, 2012 7:18 am

Re: check_http is stuck in pending.

Post by s.dehaan »

scottwilkerson wrote:The values are likely already updated but you need to run the following for the changes to take affect

Code: Select all

sysctl -p
From the wiki:
After these settings are saved to the file, run:

Code: Select all

sysctl -p
To apply the new settings. If the system still appears to be working improperly, reboot the machine.
Did both those things. No dice.

Thanks.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check_http is stuck in pending.

Post by scottwilkerson »

Can you tail the syslog to see if any errors are showing up

Code: Select all

tail -f /var/log/messages
Also have a loog at the nagios log to see if any errors are showing up

Code: Select all

tail -f /usr/local/nagios/var/nagios.log
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
s.dehaan
Posts: 16
Joined: Thu Apr 12, 2012 7:18 am

Re: check_http is stuck in pending.

Post by s.dehaan »

scottwilkerson wrote:Can you tail the syslog to see if any errors are showing up

Code: Select all

tail -f /var/log/messages
Also have a loog at the nagios log to see if any errors are showing up

Code: Select all

tail -f /usr/local/nagios/var/nagios.log
Been monitoring both for a while, no errors what so ever. The interface does seem to live a life off its own. Adding the pending service to every host we have... Even though we did not configure it (weird behavior. I hope the next update will fix the issues)
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check_http is stuck in pending.

Post by scottwilkerson »

s.dehaan wrote: Been monitoring both for a while, no errors what so ever. The interface does seem to live a life off its own. Adding the pending service to every host we have... Even though we did not configure it (weird behavior. I hope the next update will fix the issues)
Actually this seems like a configuration error, can you send your config snapshot to me via PM, and state the name of the service in question.

Thanks.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check_http is stuck in pending.

Post by scottwilkerson »

I have to ask, are the other services updating in the web interface normally?

Also, if you access the core interface, does the service show correct info

Code: Select all

http://<NAGIOS_IP>/nagios/
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
s.dehaan
Posts: 16
Joined: Thu Apr 12, 2012 7:18 am

Re: check_http is stuck in pending.

Post by s.dehaan »

scottwilkerson wrote:I have to ask, are the other services updating in the web interface normally?

Also, if you access the core interface, does the service show correct info

Code: Select all

http://<NAGIOS_IP>/nagios/
Yes. All other services are updating perfectly except for when I create a new check_http service. That one then goes into pending mode as well.

When I go to the core interface everything, including the malfunctioning service, works perfectly.

Thanks
Locked