aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@frank.tg14.gathering.org>2014-04-18 04:25:54 +0200
committerroot <root@frank.tg14.gathering.org>2014-04-18 04:25:54 +0200
commit22d3a315a78035b1e04db42d30ec0a01aaa5ca9d (patch)
tree5f985e8f6346b62f7f6165470862c1bf63b710c4
parent28573ab4d756872d884e49649c9afed57bc8a093 (diff)
add docs
-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;