Commit Graph

11 Commits

Author SHA1 Message Date
Kim B. Heino e6f5722a04 plugins/if: include "Interface" to graph_title for better grouping
Nowadays network interfaces have names like docker0, team0, ip_vti0, eno,
wlp61s0 and so on. Including word "Interface" in beginning of
graph_title groups these graphs together in web interface, not randomly
before/after other network-graphs (ipconntrack, firewall, ...).

See commit 70711831c44 in munin repository for similar change.
2020-10-07 18:41:47 +02:00
Lars Kruse 8046268893 if_: handle "Unknown" emitted by ethtool
Previously error messages were emitted due to this non-numeric value.

Closes: #3
2020-08-22 20:28:09 +02:00
Lars Kruse 44d1c8dc3a Plugin if_: do not expose errors from ethtool
ethtool prints the error message "Cannot get device settings: No such
device" for VLAN devices.  This error message should not be exposed via
the munin protocol.
2020-02-08 23:39:44 +01:00
Lars Kruse 6b09d74c9a Remove tabs from plugins 2020-02-08 23:39:44 +01:00
Lars Kruse b5d8f7931b Plugin if_ and if_err_: use explicit variable for interface name 2020-02-08 23:39:44 +01:00
Lars Kruse 14251d6791 Add missing quoting 2020-02-08 23:39:44 +01:00
Lars Kruse 7b4f376daf 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.

Source: patch "220-modify-ifname-parser" from OpenWrt
Author: Martin Blumenstingl
2019-07-19 06:01:08 +02:00
Lars Kruse 3e0ecfe678 Fix error messages on server due to missing ethtool on node
Source: patch "100-fix-no-ethtool" from OpenWrt
Author: cshore
2019-07-19 05:49:51 +02:00
runesk a18de9ac24 Closes 2078765
git-svn-id: svn://svn.code.sf.net/p/muninlite/code/muninlite@19 35caa317-6b62-4e8a-81c0-b04f0c356266
2009-03-17 12:17:51 +00:00
runesk 2f8d3ffd06 SF#1736919
Changed type to DERIVE and added min values to 0. Added check for
ethtool to check if max value could be calculated


git-svn-id: svn://svn.code.sf.net/p/muninlite/code/muninlite@11 35caa317-6b62-4e8a-81c0-b04f0c356266
2007-06-15 12:07:51 +00:00
runesk 7c8bd1e394 Import
git-svn-id: svn://svn.code.sf.net/p/muninlite/code/muninlite@1 35caa317-6b62-4e8a-81c0-b04f0c356266
2007-06-11 15:45:16 +00:00