issues using check_http ..HELP!!

nagios at mm.quex.org nagios at mm.quex.org
Wed Sep 1 04:43:40 CEST 2004


On Wed, Sep 01, 2004 at 12:15:05PM +1000, Jarrod FRIEDLAND wrote:
> 
> I have recently installed nagios 1.2 on a RH9 box. I am trying to test
> a proxy port ie 8080.
> 
> Any lead in the right direction will be muchly appreciated.

Trying reading the Nagios documentation on check commands. ;)

> What am I missing???????

> # Service definition
> define service{
>         check_command  check_http -H proxy.syd-co.au.dhl.com -p 8080
>       }

The check_command you specify must be the name of a command you
have defined elsewhere using a "define command" stanza.  You can
pass arguments to it from a service definition using

  check_command  check_http!arg1!arg2

In the command check, the arguments are accessed with $ARG1$,
$ARG2$ etcetera.  Just go read the documentation and look at
the existing commands and it should all make sense.



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
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