Browse Source

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.
Matthias Eble 17 years ago
parent
commit
221cb49206
2 changed files with 2 additions and 1 deletions
  1. 1 0
      NEWS
  2. 1 1
      plugins/check_mrtgtraf.c

+ 1 - 0
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 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)
 	Fixed awk subst.in/subst script path error (#2722832 - Martin Foster)
 	check_http: Add SSL/TLS hostname extension support (SNI) - (#1939022 - Joe Presbrey)
 	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
 1.4.13 25th Sept 2008
 	Fix Debian bug #460097: check_http --max-age broken (Hilko Bengen)
 	Fix Debian bug #460097: check_http --max-age broken (Hilko Bengen)

+ 1 - 1
plugins/check_mrtgtraf.c

@@ -199,7 +199,7 @@ main (int argc, char **argv)
 	                   (int)incoming_warning_threshold, incoming_warning_threshold,
 	                   (int)incoming_warning_threshold, incoming_warning_threshold,
 	                   (int)incoming_critical_threshold, incoming_critical_threshold,
 	                   (int)incoming_critical_threshold, incoming_critical_threshold,
 	                   TRUE, 0, FALSE, 0),
 	                   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_warning_threshold, outgoing_warning_threshold,
 	                   (int)outgoing_critical_threshold, outgoing_critical_threshold,
 	                   (int)outgoing_critical_threshold, outgoing_critical_threshold,
 	                   TRUE, 0, FALSE, 0));
 	                   TRUE, 0, FALSE, 0));