#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)

munin-648686.diff (631 bytes) - added by zugschlus at 2012-01-15T12:51:54+01:00.

Download all attachments as: .zip

Change History (2)

Changed at 2012-01-15T12:51:54+01:00 by zugschlus

comment:1 Changed at 2012-10-17T10:44:00+02:00 by wferi

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}
Note: See TracTickets for help on using tickets.