Commit graph

4 commits

Author SHA1 Message Date
Martin Blumenstingl
d7b9595482 muninlite: Fix fetching data for interfaces with a dash in the name
munin-node passes the original interface name (as extracted from
/proc/net/dev) to if_* and if_err_*. Thus replacing dash with underscore
results in interfaces not being found anymore.

Closes: #1927

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
2015-11-11 23:43:07 +00:00
Jonathan McCrohan
cb28f6e459 muninlite: correctly parse ifname with - char
Rewrote Jo-Philipp Wich's patch so it applies to source files rather
than generated files.

Closes #701

Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
2015-04-21 23:16:14 +01:00
Jonathan McCrohan
4f8fea4e22 muninlite: revert "correctly parse ifname with - char"
This reverts commit edcad492e1.

Patch is broken and breaking build; reverting until I have time to
investigate.

Reopens #701
Closes #889

Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
2015-02-12 00:31:09 +00:00
Fabio Capriati
edcad492e1 muninlite: correctly parse ifname with - char
Jonathan McCrohan: Squashed Fabio Capriati and Jo-Philipp Wich's patches.

Closes #701

Signed-off-by: Fabio Capriati <faxcpr@tiscali.it>
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
2015-02-07 20:56:27 +00:00