check_http succeeds on command line but fails in nagios

Gary Danko gdanko at gmail.com
Fri Sep 16 23:35:36 CEST 2005


Then what is the purpose of the "-t" switch in check_http?

On 9/16/05, Andrew Cruse <andrew at profitability.net> wrote:
> 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
>


-------------------------------------------------------
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