defining domain for check_http for each host

Morris, Patrick patrick.morris at hp.com
Sun Sep 3 02:46:59 CEST 2006


> Great, I'm glad to know I was relatively close to the correct 
> path. Now the question though is syntax. Wouldn't nagios 
> complain if I put a "domain_check www.yahoo.com" in the host 
> definition? And then, how would I summon the variable 
> "domain_check?" As $DOMAINCHECK$ ?

You would set it up as a service check, not a host check. Your
check_command would look something like "domain_check!www.yahoo.com",
and your check_command definition should look something like "check_http
$HOSTADDRESS$ -w $ARG1$"

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