echo 'graph_vlabel bits per ${graph_period} in (-) / out (+)'
echo 'graph_category network'
echo "graph_info This graph shows the traffic of the $INTERFACE network interface. Please note that the traffic is shown in bits per second, not bytes."
echo 'rbytes.label received'
echo 'rbytes.type COUNTER'
echo 'rbytes.graph no'
echo 'rbytes.cdef rbytes,8,*'
echo 'obytes.label bps'
echo 'obytes.type COUNTER'
echo 'obytes.negative rbytes'
echo 'obytes.cdef obytes,8,*'
echo "obytes.info Traffic sent (+) and received (-) on the $INTERFACE network interface."
exit 0
fi
oid=`echo $INTERFACE | sed -E 's/^(em|igb)([0-9]+)$/dev\.\1\.\2\.mac_stats/g'`