defining domain for check_http for each host

Richard Galvez richy at daviesinc.com
Sun Sep 3 07:20:23 CEST 2006


Right, I understand that, but the issue is that I would have to define a
check_http then for every host. I have over 100 hosts, and I would like
to just set it in the host definition for quicker, more logical
execution.. Is this possible?

Richard

On Sat, 2006-09-02 at 20:46 -0400, Morris, Patrick wrote:
> > 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$"
> 
> !DSPAM:44fa2675121191469711690!
> 


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