1 webserver with multiple web sites

Moshe Sharon moshesharon at gmail.com
Wed Aug 31 16:21:13 CEST 2005


Hello

You can do it easily with check_http plugin.
in the check commands file define:

command_name  check_vhost 
command_line check_http -H $ARG1$

in the service you define:

service_description WEBSITE 1
check_command       check_vhost!www.yourwebsite.com

if you need more info on http parameters do check_http -h in your plugins dir

Moshe Sharon



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