simple http syntax quesion

opensrcguru opensrcguru at inzauro.com
Mon Nov 18 02:53:52 CET 2002


Try something lke this

check_http 192.168.1.1!-p!443!



----- Original Message ----- 
From: "Peter Krzystofiak" <pkrzystofiak at endeavors.com>
To: <nagios-users at lists.sourceforge.net>
Sent: Friday, November 15, 2002 3:00 PM
Subject: [Nagios-users] simple http syntax quesion


I can easily run

./check_http 192.168.1.1 port 443 (I want to check http ssl page)

But, how do I translate this to use it in my services.cfg file.

check_http (-H <vhost> | -I <IP-address>) [-u <uri>] [-p <port>]
            [-w <warn time>] [-c <critical time>] [-t <timeout>] [-L]
            [-a auth] [-f <ok | warn | critcal | follow>] [-e <expect>]
            [-s string] [-r <regex> | -R <case-insensitive regex>]
            [-P string]
----------------------------------------------
services.cfg
...
...
...
notification_period 24x7
notification_options c,r
check_command check_http!help
}






-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users



-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html




More information about the Users mailing list