[Nagiosplug-devel] [ nagiosplug-Bugs-1181554 ] 1.4-3: Bug in check_tcp

SourceForge.net noreply at sourceforge.net
Tue Apr 12 08:28:47 CEST 2005


Bugs item #1181554, was opened at 2005-04-12 17:27
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1181554&group_id=29880

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Simon Bellwood (sb-netman)
Assigned to: Nobody/Anonymous (nobody)
Summary: 1.4-3: Bug in check_tcp

Initial Comment:
I'm using check_imap with perfparse, and it's returning
critical for all values.

It seems the problem is that when no critical or
warning value is passed to it on the command line, it
defaults to use 0.000 and 0.000 respectively. Perfparse
then sees that the check time (say 0.002 seconds) is
above 0 and flags a CRITICAL warning.

I've had a look at the code, and the return happens at
check_tcp.c:389, where fperfdata is called.
fperfdata is provided by utils.h which sets both types
to a double, so I suspect it's not as simple as
changing check_tcp.c to return nulls if the -w and -c
flags aren't given :/

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

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




More information about the Devel mailing list