How to configure check_http on port 81?
Sean Knox
sean.knox at sbcglobal.net
Fri Mar 7 21:01:33 CET 2003
Anonymous Writer wrote:
>Hi there,
>
>how must a template in services.cfg look like to use check_html on an
>other port then port 80? In some cases our servers run the apache daemon
>on port 81... Any ideas?
>
>thanks
>
>Anonymous Writer
>
>
>
>
Depends on what your checkcommands.cfg looks like. The default looks
like this:
# 'check_http' command definition
define command{
command_name check_http
command_line $USER1$/check_http -H $HOSTADDRESS$ -w 4 -c 6
}
You can either add a "-p 81" above or add it in services.cfg:
#services.cfg
check_command check_http -p 81
-Sean
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
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