Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Oct 2006 19:44:51 GMT
From:      Artem Naluzhny<tut@nhamon.com.ua>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/104868: [patch] check_disk plugin from net-mgmt/nagios-plugins causes "INPUT ERROR"
Message-ID:  <200610271944.k9RJip5B043145@www.freebsd.org>
Resent-Message-ID: <200610271950.k9RJoCh3041196@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610271944.k9RJip5B043145>