aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmunin/total_network_traffic.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/munin/total_network_traffic.pl b/munin/total_network_traffic.pl
index eebcba0..2c0799b 100755
--- a/munin/total_network_traffic.pl
+++ b/munin/total_network_traffic.pl
@@ -5,6 +5,10 @@ use lib 'include';
use nms;
use Data::Dumper::Simple;
+# By the looks of this code, the in/out values are from the perspective of the
+# switch. However, something gets flipped somewhere which makes it from the
+# perspective of the client. I have no idea why. Have fun!
+
my $dbh = nms::db_connect();
$dbh->{AutoCommit} = 0;