1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

Update avm-fritzbox-wan-traffic to remove spikes

Switched from COUNTER to DERIVE and added .min = 0 to remove spikes on re-connect of the WAN port (which cause a reset of the counter).
This commit is contained in:
Andreas Kreisl 2017-02-16 06:40:07 +01:00 committed by GitHub
parent b26b2e0a54
commit f5857c2b03

View file

@ -27,15 +27,17 @@ if(isset($argv[1]) && $argv[1] == "autoconf") {
echo "graph_category network\n"; echo "graph_category network\n";
echo "graph_info This graph shows the traffic of the AVM Fritz!Box WAN network interface. Please note that the traffic is shown in bits per second, not bytes.\n"; echo "graph_info This graph shows the traffic of the AVM Fritz!Box WAN network interface. Please note that the traffic is shown in bits per second, not bytes.\n";
echo "down.label received\n"; echo "down.label received\n";
echo "down.type COUNTER\n"; echo "down.type DERIVE\n";
echo "down.graph no\n"; echo "down.graph no\n";
echo "down.cdef down,8,*\n"; echo "down.cdef down,8,*\n";
echo "down.min 0\n";
echo "down.max 1000000000\n"; echo "down.max 1000000000\n";
echo "up.label " . $data_prop['NewWANAccessType'] . " (" . $data_prop['NewPhysicalLinkStatus'] . ")\n"; echo "up.label " . $data_prop['NewWANAccessType'] . " (" . $data_prop['NewPhysicalLinkStatus'] . ")\n";
echo "up.type COUNTER\n"; echo "up.type DERIVE\n";
echo "up.negative down\n"; echo "up.negative down\n";
echo "up.draw AREA\n"; echo "up.draw AREA\n";
echo "up.cdef up,8,*\n"; echo "up.cdef up,8,*\n";
echo "up.min 0\n";
echo "up.max 1000000000\n"; echo "up.max 1000000000\n";
echo "up.info Traffic of the WAN interface.\n"; echo "up.info Traffic of the WAN interface.\n";
echo "maxdown.label received\n"; echo "maxdown.label received\n";