Changeset 48


Ignore:
Timestamp:
04/07/05 11:58:50 (19 years ago)
Author:
bastiaans
Message:

daemon/togad.py:

  • Bugfix
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/daemon/togad.py

    r47 r48  
    2323# 7  = daemon threading
    2424#
    25 DEBUG_LEVEL = 7
     25DEBUG_LEVEL = 9
    2626
    2727# Where is the gmetad.conf located
     
    132132                self.config = config
    133133                self.clusters = { }
    134                 debug_msg( 0, printTime() + ' Gathering cluster timeserials and RRD last updates..' )
     134                debug_msg( 0, printTime() + ' Checking existing toga rrd archive..' )
    135135                self.gatherClusters()
    136                 debug_msg( 0, printTime() + ' Done gathering timeserials and last updates.' )
     136                debug_msg( 0, printTime() + ' Check done.' )
    137137
    138138        def gatherClusters( self ):
     
    766766                                archive_secs = ARCHIVE_HOURS_PER_RRD * (60 * 60)
    767767
    768                                 if (metric['time'] - period) > archive_secs:
     768                                if (int( metric['time'] ) - period) > archive_secs:
    769769
    770770                                        # This one should get it's own new period
Note: See TracChangeset for help on using the changeset viewer.