Opened 3 years ago

Last modified 2 years 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)

munin-648686.diff (631 bytes) - added by zugschlus 3 years ago.

Download all attachments as: .zip

Change History (2)

Changed 3 years ago by zugschlus

comment:1 Changed 2 years ago 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.