i am testing librouteros in a linux server, using collectd to graph a mikrotik server
The problem i have is i success graph CPU, Memory and DF, but Interfaces is not working, collectd makes emptys graphs, after checking with the script "ros" i get this :
./ros -u warn1ng 10.0.0.58 interface
=== <pppoe-nelidaquinteros> ===
Type: pppoe-in
Comment: (null)
Bytes: 0 / 0
Packets: 0 / 0
Errors: 0 / 0
Drops: 0 / 0
MTU: 1480
L2 MTU: 0
Running: true
Dynamic: true
Enabled: true
==========
=== <pppoe-javila> ===
Type: pppoe-in
Comment: (null)
Bytes: 0 / 0
Packets: 0 / 0
Errors: 0 / 0
Drops: 0 / 0
MTU: 1492
L2 MTU: 0
Running: true
Dynamic: true
Enabled: true
Dunno why i am getting 0 stats, on all the interfaces (like 500 interfaces if i count the pppoe ones)
What i am Running is:
Collectd version 5.1.0
Librouteros version 1.1.2
Mikrotik Routerboard server version 5.19 x86
Sorry my bad english.