if_ - Wildcard-plugin to monitor traffic and errors on network interfaces.
This plugin does not normally require configuration.
The plugin may need to run as root to determine the maximum speed of the network interface. This is configured like this:
[if_*] user root
If the interface speed cannot be determined automatically by this plugin, you may manually configure the speed using the "speed" environment variable, in megabits per second, like this:
[if_*] env.speed 1000
To set warning and critical levels do like this:
[if_*] env.warning 10000000
[if_*] env.if_0_warning 10000000
This is a wildcard plugin. To monitor an interface, link if_<interface> to this file. For example,
ln -s /usr/share/munin/plugins/if_ \ /etc/munin/plugins/if_eth0
will monitor eth0.
Most devices found in /proc/net/dev can be monitored. Examples include ipsec*, eth*, irda*, and lo. Please note that aliases cannot be monitored with this plugin.
Original author unknown
Copyright (C) 2011 Diego Elio PettenÃ² <firstname.lastname@example.org>
#%# family=auto #%# capabilities=autoconf suggest