<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<html>

<head>





<meta name=Generator content="Microsoft Word 10 (filtered)">

<style>
<!--
                        
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
        {margin:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle17
        {font-family:Arial;
        color:windowtext;}

div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple dir=ltr>
<DIV>I think you're looking for something like this:</DIV>
<DIV> </DIV>
<DIV># 'check_caching' command definition<BR>define 
command{<BR>        
command_name    
check_caching<BR>        
command_line    $USER1$/check_http -H $HOSTADDRESS$ --onredirect 
follow -p 8080 -wt 20 -ct 30 -to 35 -u <A 
href="http://www.cnn.com">http://www.cnn.com</A> 
-s<BR>\/html<BR>        }</DIV>
<DIV> </DIV>
<DIV>You'll need to change your -p flag to match the proxy port on the device 
you are monitoring and the -u for a URL you want to verify is being served 
correctly. I've also made some minor changes to check_http that allow me to 
verify that an HTTP filtering device is returning a 403 Forbidden as it should 
for blocked sites. I think it really should be a flag to check_http though that 
403's can be an OK state and not an automatic warning state.</DIV>
<DIV> </DIV>
<DIV>--</DIV>
<DIV>Marc</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV><FONT size=2>-----Original Message----- <BR><B>From:</B> Robert S. 
  Galloway [mailto:securityguy@ikano.com] <BR><B>Sent:</B> Tue 2/11/2003 7:51 PM 
  <BR><B>To:</B> 'Nagios List' <BR><B>Cc:</B> <BR><B>Subject:</B> [Nagios-users] 
  Dans Guardian - Proxy Flitering Software<BR><BR></FONT></DIV>
  <DIV class=Section1>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Has anyone here tried to monitor 
  the Dans Guardian proxy/filtering software? I’m trying to use the check_http 
  plugin, but it returns an “HTTP/1.0 400 Bad Request”.</SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thank you,</SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P>
  <P class=MsoNormal><FONT face="Courier New" size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Robert S. 
  Galloway</SPAN></FONT></P>
  <P class=MsoNormal><FONT face="Courier New" size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Chief Network Security 
  Engineer</SPAN></FONT></P>
  <P class=MsoNormal><FONT face="Courier New" size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">IKANO 
  Communications</SPAN></FONT></P>
  <P class=MsoNormal><FONT face="Courier New" size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">...the Internet branding 
  company</SPAN></FONT></P>
  <P class=MsoNormal><FONT face="Courier New" size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Official Data Networking 
  Services Provider for the</SPAN></FONT></P>
  <P class=MsoNormal><FONT face="Courier New" size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Salt</SPAN></FONT><FONT 
  face="Courier New" size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"> </SPAN></FONT><FONT 
  face="Courier New" size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Lake</SPAN></FONT><FONT 
  face="Courier New" size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"> Olympic Winter Games of 
  2002</SPAN></FONT></P>
  <P class=MsoNormal><FONT face="Courier New" size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">securityguy@ikano.com</SPAN></FONT></P>
  <P class=MsoAutoSig><FONT face="Courier New" size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">801-415-8089</SPAN></FONT></P>
  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
  style="FONT-SIZE: 12pt"></SPAN></FONT> </P></DIV></BLOCKQUOTE>

</body>

</html>