<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=&quot;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>&quot;<br>
</div><div>UP=&quot;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>&quot;<br>
</div><div><br><b>rrdtool graph test.png --imgformat=PNG --start=-1day --width=600 --height=80    -S=300     &quot;DEF:min=$UP:min:AVERAGE&quot;     &quot;LINE1:min#336600:value&quot;     &quot;DEF:avg=$UP:avg:AVERAGE&quot;     &quot;LINE1:avg#00FF11:average&quot;     &quot;DEF:max=$UP:max:AVERAGE&quot;     &quot;LINE1:max#FF0000:max&quot; &quot;DEF:dw=$DOWN:min:AVERAGE&quot; &quot;LINE1:dw#0033CC:value&quot; <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>