<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN
class=259462112-19102004>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=259462112-19102004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=259462112-19102004>Try -u parameter as
:</SPAN></FONT></DIV>
<DIV><FONT size=2><FONT face=Arial>command_line
$USER1$/check_http -H $HOSTADDRESS$ -u
/forum/list_messages/967646</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=259462112-19102004><FONT face=Arial size=2>and
:</FONT></SPAN></DIV>
<DIV><SPAN class=259462112-19102004><FONT face=Arial
size=2>check_http_site!gathering.tweakers.net</FONT></SPAN></DIV>
<DIV><SPAN class=259462112-19102004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=259462112-19102004><FONT face=Arial size=2>and then, you can
pass "/forum..." as paramters...</FONT></SPAN></DIV>
<DIV><SPAN class=259462112-19102004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=259462112-19102004><FONT face=Arial
size=2>NS</FONT></SPAN></DIV>
<DIV><SPAN class=259462112-19102004><FONT face=Courier
size=2></FONT></SPAN> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Message d'origine-----<BR><B>De :</B>
joost@informatiefabriek.nl
[mailto:joost@informatiefabriek.nl]<BR><B>Envoyé :</B> mardi 19 octobre
2004 14:13<BR><B>À :</B>
nagios-users@lists.sourceforge.net<BR><B>Objet :</B> [Nagios-users]
problem with check_http_site<BR><BR></FONT></DIV><BR><FONT face=sans-serif
size=2>This is in my service.cfg</FONT> <BR><BR><FONT face=Courier
size=2>define service{</FONT> <BR><FONT face=Courier size=2>
use
generic-service</FONT> <BR><FONT
face=Courier size=2> host_name
ares</FONT> <BR><FONT
face=Courier size=2> service_description
TEST SITE</FONT> <BR><FONT face=Courier
size=2> is_volatile
0</FONT> <BR><FONT face=Courier
size=2> check_period
24x7</FONT> <BR><FONT face=Courier
size=2> max_check_attempts
4</FONT> <BR><FONT face=Courier size=2>
normal_check_interval
5</FONT> <BR><FONT face=Courier size=2>
retry_check_interval 1</FONT>
<BR><FONT face=Courier size=2> contact_groups
linux-admins</FONT> <BR><FONT face=Courier size=2>
notification_interval 960</FONT>
<BR><FONT face=Courier size=2> notification_period
24x7</FONT> <BR><FONT face=Courier
size=2> check_command
check_http_site!"gathering.tweakers.net/forum/list_messages/967646"</FONT>
<BR><FONT face=Courier size=2>}</FONT> <BR><BR><FONT face=sans-serif
size=2>This is in my checkcommands.cfg</FONT> <BR><BR><FONT face=Courier
size=2>define command{</FONT> <BR><FONT face=Courier size=2>
command_name check_http_site</FONT> <BR><FONT
face=Courier size=2> command_line
$USER1$/check_http -H $ARG1$</FONT> <BR><FONT face=Courier
size=2>}</FONT> <BR><BR><FONT face=sans-serif size=2>the command </FONT><FONT
face=Courier
size=2>check_http_site!"gathering.tweakers.net/forum/list_messages/967646"</FONT><FONT
face=sans-serif size=2> gives as result: </FONT><FONT face=Courier size=2>Name
or service not known</FONT> <BR><FONT face=sans-serif size=2>The adress is
working (up).</FONT> <BR><BR><FONT face=sans-serif size=2>I Think it has to do
with the slashes I used in the URL, because when I try a regular address like
www.cnn.com it works fine.</FONT> <BR><BR><FONT face=sans-serif size=2>Anyone
have an idea how I can call the function with a parameter containing
slashes?</FONT> <BR><BR><FONT face=sans-serif size=2>regards,</FONT>
<BR><BR><FONT face=sans-serif size=2>Joost
Saanen<BR>www.Informatiefabriek.nl</FONT></BLOCKQUOTE></BODY></HTML>