Hi Jason,
I'm trying your script with munin. But I can't make it work. Here you
have the error I get:
munin-run polltc_eth0
Use of uninitialized value in hash element
at /etc/munin/plugins/polltc_eth0 line 126.
Use of uninitialized value in string eq
at /etc/munin/plugins/polltc_eth0
hi Jason, and thx for your perl script. but i can't do it work. I can't
use perl, so i feel myself an idiot :(
the script answer this error:
Use of uninitialized value in hash element at polltc_eth1 line 126.
Use of uninitialized value in string eq at polltc_eth1 line 159.
Use of uninitialized
hi jason, this is the output:
tc -s class show dev eth1
class htb 1:11 parent 1:1 prio 1 rate 40Kbit ceil 110Kbit burst 1650b
cburst 1739b
Sent 1116054 bytes 6654 pkts (dropped 0, overlimits 0)
lended: 6654 borrowed: 0 giants: 0
tokens: 256479 ctokens: 98443
class htb 1:1 root rate 110Kbit
I wrote a Perl script to poll `tc` for traffic control statistics (just bytes
presently) for leaf qdiscs. The information is fed to either RRDTool or
Munin[2], depending on what parameter is passed to the script. If the option
for a RRD database is used, graphs[3][4] are written to disk for