http port problem

Subhendu Ghosh sghosh at sghosh.org
Fri Aug 26 23:52:58 CEST 2005


On Sat, 27 Aug 2005, Chandresh Suthar wrote:

> Yes i have checked the options.
> I want following command to executes.
> *./check_http -H 203.124.230.11 <http://203.124.230.11/> -p 80*
> **I used following option in minimal.cfg
> define service{
> .....................................
> check_command check_http!8003
> }


define command {
check_http_port  $USER1$/check_http -H $HOSTADDRESS$ -p$ARG1$
}

define service{
...
command check_http_port!8003
}

define service{
...
Command check_http_port!80
}

-- 
-sg


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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