[Nagiosplug-devel] [ nagiosplug-Patches-1632078 ] critical threshold % incorrectly displayed by check_icmp

SourceForge.net noreply at sourceforge.net
Sat Jan 20 07:28:24 CET 2007


Patches item #1632078, was opened at 2007-01-10 02:59
Message generated for change (Comment added) made by dermoth
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1632078&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Bugfix
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Chris Grim (cgrim)
Assigned to: Nobody/Anonymous (nobody)
Summary: critical  threshold % incorrectly displayed by check_icmp 

Initial Comment:
A misplaced paren causes a bogus value to be displayed as the default critical threshold percent. Patch is below.

Chris


Index: plugins-root/check_icmp.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins-root/check_icmp.c,v
retrieving revision 1.8
diff -r1.8 check_icmp.c
1204c1204
<   printf ("%0.3fms,%u%%)\n", (float)crit.rta), crit.pl;
---
>   printf ("%0.3fms,%u%%)\n", (float)crit.rta, crit.pl);


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

>Comment By: Thomas Guyot (dermoth)
Date: 2007-01-20 01:28

Message:
Logged In: YES 
user_id=375623
Originator: NO

Thanks for reporting! Fixed in CVS.

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

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




More information about the Devel mailing list