Changeset 48
- Timestamp:
- 04/07/05 11:58:50 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/daemon/togad.py
r47 r48 23 23 # 7 = daemon threading 24 24 # 25 DEBUG_LEVEL = 725 DEBUG_LEVEL = 9 26 26 27 27 # Where is the gmetad.conf located … … 132 132 self.config = config 133 133 self.clusters = { } 134 debug_msg( 0, printTime() + ' Gathering cluster timeserials and RRD last updates..' )134 debug_msg( 0, printTime() + ' Checking existing toga rrd archive..' ) 135 135 self.gatherClusters() 136 debug_msg( 0, printTime() + ' Done gathering timeserials and last updates.' )136 debug_msg( 0, printTime() + ' Check done.' ) 137 137 138 138 def gatherClusters( self ): … … 766 766 archive_secs = ARCHIVE_HOURS_PER_RRD * (60 * 60) 767 767 768 if ( metric['time']- period) > archive_secs:768 if (int( metric['time'] ) - period) > archive_secs: 769 769 770 770 # This one should get it's own new period
Note: See TracChangeset
for help on using the changeset viewer.