From 221cb4920606552d670fdd264757dffe5d884015 Mon Sep 17 00:00:00 2001 From: Matthias Eble Date: Fri, 22 May 2009 23:57:36 +0200 Subject: [PATCH] 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. --- NEWS | 1 + plugins/check_mrtgtraf.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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)); -- 2.30.2