Changes in / [fc63b30:86442cb]
- File:
-
- 1 edited
-
src/python/gnuboat/daemon/rrdhandler.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/python/gnuboat/daemon/rrdhandler.py
rfc63b30 r86442cb 19 19 import rrdtool 20 20 import os 21 import traceback22 21 23 22 def rrd_create_database(database_file, logperiod, start_time = 'N'): … … 53 52 54 53 def rrd_update(rrdfile, value_string): 55 try: 56 rrdtool.update(rrdfile, value_string) 57 except: 58 print "Failed to update rrd database %s with values\n %s" % (rrdfile, value_string) 59 print(traceback.format_exc()) 54 rrdtool.update(rrdfile, value_string) 60 55 61 56 def _rows(duration, resolution, step):
Note:
See TracChangeset
for help on using the changeset viewer.
