<div dir="ltr"><div><div><div><div>Hi, i collect data from switches and save them into mysql, (snmpidx,time,up,down)<br><br></div>now i want to draw graphs using <br><br>DOWN="sql//mysql/host=<a href="http://127.0.0.1/dbname=newdsl/username=root/password=nocb4enter//g3412306061/time/down/idx=201343232">127.0.0.1/dbname=newdsl/username=root/password=nocb4enter//g3412306061/time/down/idx=201343232</a>"<br>
</div><div>UP="sql//mysql/host=<a href="http://127.0.0.1/dbname=newdsl/username=root/password=nocb4enter//g3412306061/time/up/idx=201409600">127.0.0.1/dbname=newdsl/username=root/password=nocb4enter//g3412306061/time/up/idx=201409600</a>"<br>
</div><div><br><b>rrdtool graph test.png --imgformat=PNG --start=-1day --width=600 --height=80 -S=300 "DEF:min=$UP:min:AVERAGE" "LINE1:min#336600:value" "DEF:avg=$UP:avg:AVERAGE" "LINE1:avg#00FF11:average" "DEF:max=$UP:max:AVERAGE" "LINE1:max#FF0000:max" "DEF:dw=$DOWN:min:AVERAGE" "LINE1:dw#0033CC:value" <br>
<br></b></div><b>1. the graphs drawn has gaps (i collect data every five mins) and draw them with 5 mins step but still the gape bw two occurences are empty.<br><br></b></div><b>2. it doesnt draw two lines.<br><br></b></div>
<div><b>Kindly help,<br></b></div><b><br></b></div>