From 22d3a315a78035b1e04db42d30ec0a01aaa5ca9d Mon Sep 17 00:00:00 2001 From: root Date: Fri, 18 Apr 2014 04:25:54 +0200 Subject: add docs --- munin/total_network_traffic.pl | 4 ++++ 1 file changed, 4 insertions(+) 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; -- cgit v1.2.3