forwarded #648686 http://munin-monitoring.org/ticket/1181
thanks

On Mon, Nov 14, 2011 at 10:03:06AM +0800, Jim Barber wrote:
> --- bonding_err_.orig   2011-11-14 12:42:18.332577791 +1100
> +++ bonding_err_        2011-11-14 12:44:24.594788291 +1100
> @@ -97,7 +97,7 @@
>  grep "^Slave Interface:" ${PROCDIR}/${BONDINGIF} | while read a b if; do
>    fieldname=$(clean_fieldname "$if")
>    echo -n "if_${fieldname}.value "
> -  grep -A 2 "^Slave Interface: ${if}" ${PROCDIR}/${BONDINGIF} | grep "Link 
> Failure Count:" | cut -d " " -f 4
> +  sed "0,/^Slave Interface: ${if}/d; /^\$/,\$d" ${PROCDIR}/${BONDINGIF} | 
> grep "Link Failure Count:" | cut -d " " -f 4
>  done

I have forwarded this upstream.

Greetings
Marc



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to