I’ve got a Linux router with QoS scripts. I would like to draw in LibreNMS all the queues from it (about 3k).
The counters are in file /tmp/tc_counters and they got format:
qdisc sfq 9511: dev eth1 parent 1:1030 limit 127p quantum 1514b depth 127 divisor 1024 perturb 10sec
Sent 263121030 bytes 200582 pkt (dropped 263, overlimits 0 requeues 0)
Sent 68202743176 bytes 315401030 pkt (dropped 61660, overlimits 0 requeues 0)
qdisc sfq 8c2e: dev ifb0 parent 2:1030 limit 127p quantum 1514b depth 127 divisor 1024 perturb 10sec
I would like to draw 4 things for each of queue.
- packet rate sent,
- packet rate received,
- bytes sent,
- bytes received.
on one graph for every class.
I can get file to libre by scp or snmpd.
How to do this in most simple way?