""" % (rrd_file, rrd_file, name.upper())).strip().split("\n")
rrd_args += extra_args
- rrdtool.graph(*rrd_args)
+ try:
+ ret = rrdtool.graph(*rrd_args)
+ except rrdtool.error as e:
+ print('warning: graph: rrdtool error, skipping %s-%s.png: %s' % (name, graph, e))
################################################################################
RRA:MAX:0.5:24:775
RRA:MAX:0.5:288:795
""".strip().split("\n")
- rrdtool.create(*create)
- rrdtool.update(*update)
+ try:
+ rc = rrdtool.create(*create)
+ ru = rrdtool.update(*update)
+ except rrdtool.error as e:
+ print('warning: queue_report: rrdtool error, skipping %s.rrd: %s' % (type, e))
except NameError:
pass