check_http succeeds on command line but fails in nagios

Andrew Cruse andrew at profitability.net
Fri Sep 16 23:32:22 CEST 2005


nagios-users-admin at lists.sourceforge.net wrote:
> I have a simple PHP page that checks about 1,200 Windows
> shares across a network. The page takes about 80-90 seconds
> to run in a browser.

Nagios typically only waits about 10 seconds for a plugin to return
information.  Any longer and it just times out.

The workaround here would be to have a cron job that runs at whatever
interval you're using in your check and grabs the output from that page
and publishes it at another URL.  Then just run your check_http command
against the second URL.

Andrew



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list