Config help for webserver

Marc Powell marc at ena.com
Fri Mar 18 00:27:23 CET 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Daniel Budde II
> Sent: Thursday, March 17, 2005 5:28 PM
> To: nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] Config help for webserver
> 
> Marc,
> 
> Thanks for your help.  One last question for the moment.  What do the
"!"
> do
> in your "check_ping!www.site2.com!127.0.0.2"?  Is this how you pass
> individual arguments? Last, is it not better to use "check_http"
rather
> than

Yes, that's correct. $ARG1$ is www.site2.com and $ARG2$ is 127.0.0.2,
etc. You can pass up to 32 arguments to a command in this manner.

> "check_ping"?  If you can tell me this, that will be my last questions
> hopefully pertaining to host and service configs.

I used a check_ping just as a generic test (I just do it normally), you
can remove it if you don't want or need it or change it to check_http if
your web server is listening on your master IP address.

--
Marc 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
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