check host_name or IP

bjlockie at lockie.ca bjlockie at lockie.ca
Thu Jan 24 19:46:03 CET 2008


99% of the time I can check and IP but sometimes I need to check the
host_name.
I tried:
command_line    $USER1$/check_http --hostname=$HOST_NAME$ -u$ARG1$ -r$ARG2
$
instead of:
command_line    $USER1$/check_http --hostname=$HOSTADDRESS$ -u$ARG1$ -r$AR
G2$
but it didn't work.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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