check_http is caching somehow!

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
oldsckoolboy
Posts: 1
Joined: Wed Jul 14, 2010 11:12 am

check_http is caching somehow!

Post by oldsckoolboy »

first time posting! :)
but this is driving me crazy. :0

My check_http is working correctly (its tests correctly on the command line, and through the service definition)

It reads as up when the service is running, and as soon as I stop the service it alerts as it should.

however I am having an issue where the service is hanging, however nagios still reports it as up.

however if I browse to the url it cannot be seen.

Nagios must be caching this somewhere. how? where? help!


nagios core 3.2.1
2.6.32-21-generic #32-Ubuntu
check_http v1861 (nagios-plugins 1.4.11)


thanks -
jimavery
Posts: 15
Joined: Thu Jul 15, 2010 2:40 pm

Re: check_http is caching somehow!

Post by jimavery »

It may just be that Nagios hasn't run the next check yet, especially if the check_interval in the service definition is quite long.

In the service detail screen, check the last check time and next check time.

Also, in the tactical overview screen, check the service check latency. If Nagios is performing checks too slowly it might be a while before it gets around to checking the web service you're interested in.
Locked