<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [Nagios-users] Any experiences with check_udp</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Isn't the "!" in the response an error? Will the data following it be considered performance data even if the return value isn't "OK"?</FONT></P>
<P><FONT SIZE=2>Just curious...</FONT>
</P>
<P><FONT SIZE=2>--</FONT>
<BR><FONT SIZE=2>"Computer science is as much about computers as</FONT>
<BR><FONT SIZE=2> astronomy is about telescopes" -- Edsger Dijkstra</FONT>
<BR><FONT SIZE=2>---------------------------------------------------------</FONT>
<BR><FONT SIZE=2>Anthony Tonns, UNIX Administrator - atonns@mail.ivillage.com</FONT>
</P>
<BR>
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Carroll, Jim P [Contractor] [<A HREF="mailto:jcarro10@sprintspectrum.com">mailto:jcarro10@sprintspectrum.com</A>]</FONT>
<BR><FONT SIZE=2>Sent: Wednesday, September 11, 2002 11:08 AM</FONT>
<BR><FONT SIZE=2>To: nagios-users@lists.sourceforge.net</FONT>
<BR><FONT SIZE=2>Subject: RE: [Nagios-users] Any experiences with check_udp</FONT>
</P>
<BR>
<P><FONT SIZE=2>That's weird. I'm having the same problem. Check this:</FONT>
</P>
<P><FONT SIZE=2>$ ../libexec/check_udp -H ml15 -p 53</FONT>
<BR><FONT SIZE=2>No data was recieved from host!</FONT>
<BR><FONT SIZE=2>No response from host on port 53</FONT>
</P>
<P><FONT SIZE=2>And now check this:</FONT>
</P>
<P><FONT SIZE=2>$ ../libexec/check_dns -H ml15</FONT>
<BR><FONT SIZE=2>DNS ok - 0 seconds response time, Address(es) is/are 10.108.56.15</FONT>
</P>
<P><FONT SIZE=2>Wild speculation, but it looks like check_udp is aB0rken.</FONT>
</P>
<P><FONT SIZE=2>jc</FONT>
</P>
<P><FONT SIZE=2>> -----Original Message-----</FONT>
<BR><FONT SIZE=2>> From: ZIEGENBEIN, Kurt [<A HREF="mailto:kurt.ziegenbein@saarstahl.de">mailto:kurt.ziegenbein@saarstahl.de</A>]</FONT>
<BR><FONT SIZE=2>> Sent: Wednesday, September 11, 2002 1:38 AM</FONT>
<BR><FONT SIZE=2>> To: nagios-users@lists.sourceforge.net</FONT>
<BR><FONT SIZE=2>> Subject: AW: [Nagios-users] Any experiences with check_udp</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> > it seems that Terminal server uses TCP/3389</FONT>
<BR><FONT SIZE=2>> > </FONT>
<BR><FONT SIZE=2>> > <A HREF="http://support.microsoft.com/default.aspx?scid=KB;EN-US;q150543&" TARGET="_blank">http://support.microsoft.com/default.aspx?scid=KB;EN-US;q150543&</A></FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Thanks for the hint! But I'm still not able to use the </FONT>
<BR><FONT SIZE=2>> check_udp plugin.</FONT>
<BR><FONT SIZE=2>> As you can see below, I have even trouble to check the UDP </FONT>
<BR><FONT SIZE=2>> port 53 (DNS).</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Please check someone the command "check_udp <ip> -p 53" for a </FONT>
<BR><FONT SIZE=2>> DNS-Server.</FONT>
<BR><FONT SIZE=2>> I'm not sure what's wrong with it.... Or how I have to use it...</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> > > Hi all!</FONT>
<BR><FONT SIZE=2>> > > </FONT>
<BR><FONT SIZE=2>> > > I've some kind of trouble with the check_udp plugin. I </FONT>
<BR><FONT SIZE=2>> want to check</FONT>
<BR><FONT SIZE=2>> > > a W2k-Terminalserver (1604/UDP), but it seems that the </FONT>
<BR><FONT SIZE=2>> way I use the</FONT>
<BR><FONT SIZE=2>> > > plugin isn't correct.</FONT>
<BR><FONT SIZE=2>> > > </FONT>
<BR><FONT SIZE=2>> > > I made the following tests with the "well-known-port" 53 </FONT>
<BR><FONT SIZE=2>> > (DNS), so that</FONT>
<BR><FONT SIZE=2>> > > I can be sure that there is nothing special with w2k.</FONT>
<BR><FONT SIZE=2>> > > </FONT>
<BR><FONT SIZE=2>> > > The command (direct from shell) "check_udp <ip> -p 54" </FONT>
<BR><FONT SIZE=2>> > exits directly</FONT>
<BR><FONT SIZE=2>> > > with "No response from host on port 54". Thats ok, because </FONT>
<BR><FONT SIZE=2>> > there is nothing</FONT>
<BR><FONT SIZE=2>> > > listening.</FONT>
<BR><FONT SIZE=2>> > > </FONT>
<BR><FONT SIZE=2>> > > The command "check_udp <ip> -p 53" waits for the timeout </FONT>
<BR><FONT SIZE=2>> > (10 sec) and then</FONT>
<BR><FONT SIZE=2>> > > exits with "No data was recieved from host! No response </FONT>
<BR><FONT SIZE=2>> > from host on port</FONT>
<BR><FONT SIZE=2>> > > 53"</FONT>
<BR><FONT SIZE=2>> > > </FONT>
<BR><FONT SIZE=2>> > > Where is the problem?</FONT>
<BR><FONT SIZE=2>> > > </FONT>
<BR><FONT SIZE=2>> > > Since the code for check_udp didn't change in the past half </FONT>
<BR><FONT SIZE=2>> > year, I don't</FONT>
<BR><FONT SIZE=2>> > > expect bugs there...</FONT>
<BR><FONT SIZE=2>> > > </FONT>
<BR><FONT SIZE=2>> > > Kurt</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> -------------------------------------------------------</FONT>
<BR><FONT SIZE=2>> In remembrance</FONT>
<BR><FONT SIZE=2>> www.osdn.com/911/</FONT>
<BR><FONT SIZE=2>> _______________________________________________</FONT>
<BR><FONT SIZE=2>> Nagios-users mailing list</FONT>
<BR><FONT SIZE=2>> Nagios-users@lists.sourceforge.net</FONT>
<BR><FONT SIZE=2>> <A HREF="https://lists.sourceforge.net/lists/listinfo/nagios-users" TARGET="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</A></FONT>
<BR><FONT SIZE=2>> </FONT>
</P>
<BR>
<P><FONT SIZE=2>-------------------------------------------------------</FONT>
<BR><FONT SIZE=2>In remembrance</FONT>
<BR><FONT SIZE=2>www.osdn.com/911/</FONT>
<BR><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>Nagios-users mailing list</FONT>
<BR><FONT SIZE=2>Nagios-users@lists.sourceforge.net</FONT>
<BR><FONT SIZE=2><A HREF="https://lists.sourceforge.net/lists/listinfo/nagios-users" TARGET="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</A></FONT>
</P>
</BODY>
</HTML>