ports/104868: [patch] check_disk plugin from net-mgmt/nagios-plugins causes "INPUT ERROR"
Artem Naluzhny
tut at nhamon.com.ua
Fri Oct 27 19:50:13 UTC 2006
>Number: 104868
>Category: ports
>Synopsis: [patch] check_disk plugin from net-mgmt/nagios-plugins causes "INPUT ERROR"
>Confidential: no
>Severity: critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Fri Oct 27 19:50:11 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Artem Naluzhny
>Release: 6.2-PRERELEASE
>Organization:
>Environment:
FreeBSD sweet.home 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Tue Oct 24 22:52:04 EEST 2006 root at sweet.home:/usr/obj/usr/src/sys/TUT i386
>Description:
check_disk plugin from net-mgmt/nagios-plugins port causes following error:
INPUT ERROR: C_IDFP (0.000000) should be less than W_IDFP (0.0) and both should be between zero and 100 percent, inclusive for /
This is know bug and here is a solution - https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1481615&group_id=29880
I've attached appropriate patch.
>How-To-Repeat:
>Fix:
--- plugins/check_disk.c.orig
+++ plugins/check_disk.c
***************
*** 462,467 ****
--- 462,469 ----
se->c_df = c_df;
se->w_dfp = w_dfp;
se->c_dfp = c_dfp;
+ se->w_idfp = w_idfp;
+ se->c_idfp = c_idfp;
se->found = 0;
se->found_len = 0;
*pathtail = se;
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list