From: Matthias Eble Date: Fri, 22 May 2009 21:57:36 +0000 (+0200) Subject: Fixed wrong perfdata label for output traffic in check_mrtgtraf X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=221cb4920606552d670fdd264757dffe5d884015;p=nagiosplug.git Fixed wrong perfdata label for output traffic in check_mrtgtraf check_mrtgtraf used the label "in" for both input and output traffic. This fixed, now. --- diff --git a/NEWS b/NEWS index c5d820f..4a1628a 100644 --- a/NEWS +++ b/NEWS @@ -35,6 +35,7 @@ This file documents the major additions and syntax changes between releases. Fixed check_mysql* not using password set in my.cnf (#2531905 - Ben Timby) - Specify an empty password explicitly if you need to override it. Fixed awk subst.in/subst script path error (#2722832 - Martin Foster) check_http: Add SSL/TLS hostname extension support (SNI) - (#1939022 - Joe Presbrey) + Fixed wrong perfdata label for output traffic in check_mrtgtraf (#2654308 - Gavin Williams) 1.4.13 25th Sept 2008 Fix Debian bug #460097: check_http --max-age broken (Hilko Bengen) diff --git a/plugins/check_mrtgtraf.c b/plugins/check_mrtgtraf.c index 3232f1e..376a509 100644 --- a/plugins/check_mrtgtraf.c +++ b/plugins/check_mrtgtraf.c @@ -199,7 +199,7 @@ main (int argc, char **argv) (int)incoming_warning_threshold, incoming_warning_threshold, (int)incoming_critical_threshold, incoming_critical_threshold, TRUE, 0, FALSE, 0), - fperfdata("in", adjusted_outgoing_rate, outgoing_speed_rating, + fperfdata("out", adjusted_outgoing_rate, outgoing_speed_rating, (int)outgoing_warning_threshold, outgoing_warning_threshold, (int)outgoing_critical_threshold, outgoing_critical_threshold, TRUE, 0, FALSE, 0));