Opened 17 months ago
Last modified 8 months ago
#1181 new defect
bonding_err_ does not correctly parse kernel 3.0 output
| Reported by: | zugschlus | Owned by: | nobody |
|---|---|---|---|
| Priority: | normal | Milestone: | Munin 2.0.0 |
| Component: | plugins | Version: | 1.4.6 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
This is Debian Bug #648686
The patch proposed by the reporter (against svn head) is attached.
Attachments (1)
Note: See
TracTickets for help on using
tickets.

Fixing this would also fix #1026.
Using sed also makes it possible to avoid grep and cut (for performance) like this:
sed "0,/^Slave Interface: ${if}/d; /^\$/,\$d; s/^Link Failure Count: //;t;d" ${PROCDIR}/${BONDINGIF}