Changeset 49 for trunk/daemon


Ignore:
Timestamp:
04/07/05 12:08:48 (19 years ago)
Author:
bastiaans
Message:

daemon/togad.py:

More bugfixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/daemon/togad.py

    r48 r49  
    635635                return update_list
    636636
    637         def checkStoreMetric( self, host, metricname, metric ):
     637        def checkStoreMetric( self, host, metric ):
    638638
    639639                if self.lastStored.has_key( host ):
     
    766766                                archive_secs = ARCHIVE_HOURS_PER_RRD * (60 * 60)
    767767
    768                                 if (int( metric['time'] ) - period) > archive_secs:
     768                                if (int( metric['time'] ) - int( period ) ) > archive_secs:
    769769
    770770                                        # This one should get it's own new period
     
    773773                                if not metric_serial_table.has_key( period ):
    774774
    775                                         metric_serial_table = [ ]
     775                                        metric_serial_table[ period ] = [ ]
    776776
    777777                                metric_serial_table[ period ].append( metric )
Note: See TracChangeset for help on using the changeset viewer.