Re: Traffic Control Diagnostic Graphing Utility

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 line 159.
Use of uninitialized value in string eq
at /etc/munin/plugins/polltc_eth0 line 159.
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 line 159.
Use of uninitialized value in string eq
at /etc/munin/plugins/polltc_eth0 line 159.
Can't use an undefined value as an ARRAY reference
at /etc/munin/plugins/polltc_eth0 line 327.


polltc_eth0 is linked to polltc_ as explained in the Readme. And It is
modified to point to /sbin/tc.


I'm checking polltc_ to see if something else need to be modified.

Best regards.

Jason Boxman writes:

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 each ten second polling interval. If invoked via Munin[2], it handles graphing and samples at five minute intervals.

[1] http://ee-staff.ethz.ch/~oetiker/webtools/rrdtool/
[2] http://www.linpro.no/projects/munin/
[3] http://trekweb.com/~jasonb/images/eth0-24-tc.png
[4] http://trekweb.com/~jasonb/images/eth0-1-tc.png


The aim is to graphically represent bandwidth utilization for each leaf class to help diagnose issues with misclassification, performance, and for long term profiling.

The script is available[5] here. The included README explains basic configuration.

[5] http://trekweb.com/~jasonb/code/polltc-1.0.tar.gz

I hope someone else finds it useful.

Comments welcome.

--

Jason Boxman
Perl Programmer / *NIX Systems Administrator
Shimberg Center for Affordable Housing | University of Florida
http://edseek.com/ - Linux and FOSS stuff


_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux