head 1.2; access; symbols pkgsrc-2015Q1:1.1.0.14 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.12 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.10 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.8 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.6 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.4 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.2 pkgsrc-2013Q3-base:1.1; locks; strict; comment @# @; 1.2 date 2015.04.03.17.50.27; author rodent; state dead; branches; next 1.1; commitid R5v4rt396ODNDagy; 1.1 date 2013.08.28.12.14.49; author manu; state Exp; branches; next ; commitid a9TFCj7raHGgxd3x; desc @@ 1.2 log @Updated to 2.0.3. The NEWS is almost 3000 lines and interested parties may find it here: https://github.com/nagios-plugins/nagios-plugins/blob/master/NEWS For pkgsrc, the changes aren't very interesting. Upstream applied a lot of the patches we had, notably integrating IDE S.M.A.R.T. plugin support for NetBSD. @ text @$NetBSD: patch-913085,v 1.1 2013/08/28 12:14:49 manu Exp $ Bugfix from upstream: do not send error when value is just on limit https://bugzilla.redhat.com/show_bug.cgi?id=913085 --- plugins/check_ide_smart.c.orig 2013-08-28 14:05:08.000000000 +0200 +++ plugins/check_ide_smart.c 2013-08-28 14:05:15.000000000 +0200 @@@@ -361,9 +361,9 @@@@ int passed = 0; int i; for (i = 0; i < NR_ATTRIBUTES; i++) { if (value->id && threshold->id && value->id == threshold->id) { - if (value->value <= threshold->threshold) { + if (value->value < threshold->threshold) { ++failed; } else { ++passed; @@@@ -390,9 +390,9 @@@@ int total = 0; int i; for (i = 0; i < NR_ATTRIBUTES; i++) { if (value->id && threshold->id && value->id == threshold->id) { - if (value->value <= threshold->threshold) { + if (value->value < threshold->threshold) { ++failed; if (value->status & 1) { status = PREFAILURE; ++prefailure; @@@@ -447,9 +447,9 @@@@ { printf ("Id=%3d, Status=%2d {%s , %s}, Value=%3d, Threshold=%3d, %s\n", p->id, p->status, p->status & 1 ? "PreFailure" : "Advisory ", p->status & 2 ? "OnLine " : "OffLine", p->value, t->threshold, - p->value > t->threshold ? "Passed" : "Failed"); + p->value >= t->threshold ? "Passed" : "Failed"); } @ 1.1 log @Bugfix from upstream: do not send error when value is just on limit https://bugzilla.redhat.com/show_bug.cgi?id=913085 @ text @d1 1 a1 1 $NetBSD$ @