#Network graph with ip address #!Replace eth1 with Your network device x=0 y=440 image x=0 y=0 path="img/back_40a.png" # Network up/down graph image x=63 y=1 path="img/backgrix.png" graph x=63 y=0 w=149 h=30 points=75 color=255,0,0 sensor=network device="eth1" format="%out" max=64 graph x=63 y=0 w=149 h=30 points=75 color=0,0,255 sensor=network device="eth1" format="%in" max=64 text x=70 y=5 sensor=network device="eth1" format="%out kB/s ul" color=255,0,0 text x=70 y=15 sensor=network device="eth1" format="%in kB/s dl" color=0,0,255 text x=63 y=30 value="Network" text x=213 y=30 sensor=program program="IPADDR=`ip addr show eth1`; if [ 0 -eq `echo $IPADDR | grep -c UP` ] ; then echo down ; elif [ 0 -eq `echo $IPADDR | grep -c 'inet '` ] ; then echo up, no IP ; else echo $IPADDR | sed -e 's/.*inet //;s/ .*$//' ; fi" align="right" interval=60000