<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6249.1">
<TITLE>check http syntax</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">1st, I haven't been able to search the sourceforge.net mail archive, so apologies for asking a question that I'm sure has been covered many times in the past. Is there anywhere else to that archives nagios questions that I can search?</FONT></P>
<P><FONT SIZE=2 FACE="Arial">2nd, in my services.cfg file I using check_http on many different hosts. On some of the hosts I need to specify a different default path. At command line I can use /usr/local/nagios/libexec/check_http -H 192.168.1.1 -u /otherpath/ and I receive an</FONT> <FONT FACE="Times New Roman">HTTP ok: HTTP/1.1 200 OK - 0.000 second response time. How do I append the check_command? I have tried the following, but the obviously are not correct as they don't work:</FONT></P>
<P><FONT FACE="Times New Roman">check_command check_http!-u!/otherpath/</FONT>
<BR><FONT FACE="Times New Roman">And</FONT>
<BR><FONT FACE="Times New Roman">check_command check_http!-u /otherpath/</FONT>
<BR><FONT FACE="Times New Roman">I can successfully put in the command line surrounded by double quotes, but I wanted to know the proper way to append to the check_http on the check_command line.</FONT></P>
<P><FONT FACE="Times New Roman">Thanx.</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial">Tim Van Zee</FONT>
<BR><FONT SIZE=2 FACE="Arial">ITS Network Specialist</FONT>
<BR><FONT SIZE=2 FACE="Arial">Governors State University</FONT>
</P>
</BODY>
</HTML>