<div dir="ltr"><div><div><div>hi, i collect data from inoctets and outoctets via snmp and then want to update the rrd file but i get the following error,<br><br>I get the foloowing error:<br><br>cannot concatenate 'str' and 'tuple' objects<br>
<br></div><div>CODE:<br><br></div>resUp = sess.getbulk(0,totalint, upBytes) <br>resDown = sess.getbulk(0,totalint, downBytes)<br>rrd_val = resUp+resDown<br><br>ret = rrdtool.update('/tmp/speed.rrd','N:' + rrd_val)<br>
if ret:<br> print rrdtool.error()<br><br></div>kiindly help,<br></div>thankyou,<br></div>