hi, i collect data from inoctets and outoctets via snmp and then want to
update the rrd file but i get the following error,

I get the foloowing error:

cannot concatenate 'str' and 'tuple' objects

CODE:

resUp = sess.getbulk(0,totalint, upBytes)
resDown = sess.getbulk(0,totalint, downBytes)
rrd_val = resUp+resDown

ret = rrdtool.update('/tmp/speed.rrd','N:' + rrd_val)
        if ret:
          print rrdtool.error()

kiindly help,
thankyou,
_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to