Public bug reported:
The bonding_err_ plugin stopped working after upgrading 10.04 to 12.04.
The cause is this line in the plugin:
grep -A 2 "^Slave Interface: ${if}" ${PROCDIR}/${BONDINGIF} | grep
"Link Failure Count:" | cut -d " " -f 4
This looks for a Link Failure Count line within 2 lines after the Slave
Interface line.
However on 12.04's 3.2-series kernel, the proc file looks like this:
Slave Interface: eth1
MII Status: up
Speed: 100 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:21:5e:28:28:18
Slave queue ID: 0
Thus 2 lines is not sufficient. The plugin needs to be changed to 4:
grep -A 4 "^Slave Interface: ${if}" ${PROCDIR}/${BONDINGIF} | grep
"Link Failure Count:" | cut -d " " -f 4
** Affects: munin (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1113933
Title:
bonding_err_ plugin needs a longer grep on 12.04
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/munin/+bug/1113933/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs