I have this code that gives this error on Linux and will be grateful if you can help
import rrdtool
try:
ret_asd = rrdtool.update(myfile.rrd,'N:%s:%s' %(metric1, metric2));
except rrdtool.error, e:
print e
When i run the above i get the below error
except rrdtool.error, e:
AttributeError: 'module' object has no attribute 'error'
The code is intended to skip this error while updating the rrd file
illegal attempt to update using time 1363358441 when last update time is 1363358441 (minimum one second step)
Appreciate if you can help me get a solution for this
Thanks