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

SourceForge.net noreply at sourceforge.net
Wed Jan 10 08:59:02 CET 2007


Patches item #1632078, was opened at 2007-01-10 07:59
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: Open
Resolution: None
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);


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

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