[Nagiosplug-devel] [ nagiosplug-Bugs-731467 ] check_udp returns exit code 0 everytime

SourceForge.net noreply at sourceforge.net
Mon Jun 30 10:46:03 CEST 2003


Bugs item #731467, was opened at 2003-05-02 10:13
Message generated for change (Comment added) made by undrgrid
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=731467&group_id=29880

Category: None
Group: CVS
Status: Open
Resolution: None
Priority: 5
Submitted By: Kevin O'Brien (irishpadres)
Assigned to: Jeremy T. Bouse (undrgrid)
Summary: check_udp returns exit code 0 everytime

Initial Comment:
If I use the check_tcp symlinked version of check_udp I 
get and exit code of 0 every time I run the script.  I can 
give it any host and and any port and it will always exit 
0 with 0.0001 second response time.  I've tried this on 
both a Linux and Solaris box with the same result.

----------------------------------------------------------------------

>Comment By: Jeremy T. Bouse (undrgrid)
Date: 2003-06-30 10:45

Message:
Logged In: YES 
user_id=10485

I believe the problem lies in actually how the UDP ports are
being check'd as I'm sure if you ran the same tests you ran
with check_udp2 using check_udp they would all give the same
result... Only difference is that result would be a no data
from host failure...

I'm looking into this to see how it can be handled better
and more accurately...

----------------------------------------------------------------------

Comment By: Kevin O'Brien (irishpadres)
Date: 2003-06-30 10:41

Message:
Logged In: YES 
user_id=753604

yes, I'm talking about check_udp2.  I've tested against many 
different kind of udp ports (ntp, dns, nfs, etc) on localhost 
and remote hosts and always returns the same exit code 
regardless of whether they are up or not (and yes the ports 
are actually open).

----------------------------------------------------------------------

Comment By: Jeremy T. Bouse (undrgrid)
Date: 2003-06-29 11:02

Message:
Logged In: YES 
user_id=10485

I assume you mean check_udp2? Are you checking against UDP
ports you know to be open and closed or are they unknown and
trying to use it to test? I'm the one that added the symlink
but haven't been able to give it a full test for accuracy yet.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=731467&group_id=29880




More information about the Devel mailing list