check_http, not default

Marc Powell marc at ena.com
Fri Sep 1 23:16:18 CEST 2006


Please don't hijack other threads. It increases the likelihood that you
will be ignored/missed and can be confusing when reviewing the archives.

> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Richard Galvez
> Sent: Friday, September 01, 2006 3:54 PM
> To: Nagios Users Mailing List
> Subject: [Nagios-users] check_http, not default
> 
> Hello, for a particular machine, I would like to check_http not for
the
> default host name, but a website on that machine. How can I alter the
> check_http command so not check the default?

check_http --help 

-H, --hostname=ADDRESS
    Host name argument for servers using host headers (virtual host)
    Append a port to include it in the header (eg: example.com:5000)

define command {
    command_name                   check_http
    command_line                   $USER1$/check_http -H
mysite.domain.com -I $HOSTADDRESS$ -wt 20 -ct 30 -to 35
    }

> 
> Richard
> 
> On Fri, 2006-09-01 at 14:54 +0200, moshe sharon wrote:

--
Marc

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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