Package: munin-node
Version: 1.4.5-1
Severity: minor
File: /usr/share/munin/plugins/if_
Tags: patch
Munin uses the following regexp to suggest device names from
/proc/net/dev:
/^ *(eth|tap|bond|wlan|ath|ra|sw|vlan|venet|veth|msh)[0-9]+(\.[0-9]+)?:/
The days of silly device names are over, as udev allows for easy and
consistent static renaming, and various user-space use freely-named
TUN devices (e.g. iodine, kvm, bluez, etc.).
Instead of the awk expression, might I suggest the following to
obtain the names of interfaces?
sed -rne 's,^[[:space:]]*([^:]+):.*,\1,p' /proc/net/dev
If you want to exclude certain interfaces, e.g. lo or sit*, then use this:
sed -rne
'/^[[:space:]]*(lo|sit[[:digit:]]+):/d;s,^[[:space:]]*([^:]+):.*,\1,p'
/proc/net/dev
Thanks,
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.35-rc6-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages munin-node depends on:
ii adduser 3.112 add and remove users and groups
ii gawk 1:3.1.7.dfsg-5 GNU awk, a pattern scanning and pr
ii libnet-server-perl0.97-1 An extensible, general perl server
ii lsb-base 3.2-23.1 Linux Standard Base 3.2 init scrip
ii munin-common 1.4.5-1network-wide graphing framework (c
ii perl 5.10.1-13 Larry Wall's Practical Extraction
ii procps1:3.2.8-9 /proc file system utilities
Versions of packages munin-node recommends:
pn libnet-snmp-perl none (no description available)
Versions of packages munin-node suggests:
ii acpi1.5-2displays information on ACPI devic
ii ethtool 1:2.6.34-2 display or change Ethernet device
ii hdparm 9.27-2 tune hard disk parameters for high
pn libcache-cache-perl none (no description available)
pn libcrypt-ssleay-perlnone (no description available)
pn libdbd-mysql-perl none (no description available)
pn libdbd-pg-perl none (no description available)
pn liblwp-useragent-determ none (no description available)
pn libnet-irc-perl none (no description available)
ii libnet-ssleay-perl 1.36-1 Perl module for Secure Sockets Lay
pn libtext-csv-xs-perl none (no description available)
ii libwww-perl 5.836-1 Perl HTTP/WWW client/server librar
ii libxml-simple-perl 2.18-3 Perl module for reading and writin
ii logtail 1.3.11 Print log file lines that have not
ii munin 1.4.5-1 network-wide graphing framework (g
pn munin-java-plugins none (no description available)
ii munin-plugins-extra 1.4.5-1 network-wide graphing framework (u
pn mysql-clientnone (no description available)
ii net-tools 1.60-23 The NET-3 networking toolkit
ii python 2.6.5-11 interactive high-level object-orie
ii ruby4.5 An interpreter of object-oriented
ii smartmontools 5.39.1+svn3124-1 control and monitor storage system
-- Configuration Files:
/etc/munin/plugin-conf.d/munin-node [Errno 13] Permission denied:
u'/etc/munin/plugin-conf.d/munin-node'
-- no debconf information
--
.''`. martin f. krafft madd...@d.o Related projects:
: :' : proud Debian developer http://debiansystem.info
`. `'` http://people.debian.org/~madduckhttp://vcs-pkg.org
`- Debian - when you have better things to do than fixing systems
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)