Changeset 19 for trunk/daemon/togad.py


Ignore:
Timestamp:
03/23/05 14:54:34 (18 years ago)
Author:
bastiaans
Message:

daemon/togad.py:

Working for all hosts and metric now.

  • However, kind of slooowwww..
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/daemon/togad.py

    r18 r19  
    1818# >8  = RRD activity,gmetad config parsing
    1919#
    20 DEBUG_LEVEL = 8
     20DEBUG_LEVEL = 7
    2121
    2222# Where is the gmetad.conf located
     
    118118                                self.rrd.update( hostname, metric, timeserial )
    119119                                debug_msg( 9, 'stored metric %s for %s: %s' %( hostname, metric['name'], metric['val'] ) )
    120                                 sys.exit(1)
     120                                #sys.exit(1)
    121121       
    122122
     
    293293                rrd_dir, rrd_file = self.makeRrdPath( host, metric )
    294294
     295                newest_timeserial = 0
     296
    295297                if os.path.exists( rrd_dir ):
    296298                        for root, dirs, files in os.walk( rrd_dir ):
    297 
    298                                 newest_timeserial = 0
    299299
    300300                                for file in files:
Note: See TracChangeset for help on using the changeset viewer.