Because cisco resets the in/out bytes counters after 4GB I got weird output from check_graph_traffic with my routers.
I made a quick and dirty change for this in check_graph_traffic at line 261 just before the '$in_traffic =' line:
Probably there already is a plugin for this, but changing this plugin was faster than looking for another one.
It works fine here, maybe someone else can use this too..
Regards
Menno van Bennekom
I made a quick and dirty change for this in check_graph_traffic at line 261 just before the '$in_traffic =' line:
Code:
# cisco resets the counters every 4GB .... if ($in_bytes < $last_in_bytes) {$last_in_bytes -= 4294967296}; if ($out_bytes < $last_out_bytes) {$last_out_bytes -= 4294967296};
It works fine here, maybe someone else can use this too..
Regards
Menno van Bennekom
Comment