- Timestamp:
- 04/01/05 11:26:59 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/daemon/togad.py
r29 r30 14 14 # Specify debugging level here; 15 15 # 16 # >=11 = metric XML 17 # >=10 = host,cluster,grid,ganglia XML 18 # >=9 = RRD activity,gmetad config parsing 19 # >=7 = daemon threading 20 # 21 DEBUG_LEVEL = 9 16 # <=11 = metric XML 17 # <=10 = host,cluster,grid,ganglia XML 18 # <=9 = RRD activity,gmetad config parsing 19 # <=8 = host processing 20 # <=7 = daemon threading 21 # 22 DEBUG_LEVEL = 8 22 23 23 24 # Where is the gmetad.conf located … … 116 117 correct_serial = self.rrd.checkNewRrdPeriod( self.hostName, mytime ) 117 118 119 debug_msg( 8, 'time %s: Storing metrics for %s' %(mytime, self.hostName) ) 118 120 self.storeMetrics( self.hostName, correct_serial ) 119 121 … … 365 367 366 368 last_timeserial = int( self.getLastRrdTimeSerial( host ) ) 367 debug_msg( 8, 'last timeserial of %s is %s' %( host, last_timeserial ) )369 debug_msg( 9, 'last timeserial of %s is %s' %( host, last_timeserial ) ) 368 370 369 371 if not last_timeserial: … … 383 385 "Check if an .rrd allready exists for this metric, create if not" 384 386 385 debug_msg( 8, 'rrdcreate: using timeserial %s for %s/%s' %( timeserial, host, metric['name'] ) )387 debug_msg( 9, 'rrdcreate: using timeserial %s for %s/%s' %( timeserial, host, metric['name'] ) ) 386 388 387 389 rrd_dir, rrd_file = self.makeRrdPath( host, metric, timeserial ) … … 411 413 def update( self, host, metric, timeserial ): 412 414 413 debug_msg( 8, 'rrdupdate: using timeserial %s for %s/%s' %( timeserial, host, metric['name'] ) )415 debug_msg( 9, 'rrdupdate: using timeserial %s for %s/%s' %( timeserial, host, metric['name'] ) ) 414 416 415 417 rrd_dir, rrd_file = self.makeRrdPath( host, metric, timeserial )
Note: See TracChangeset
for help on using the changeset viewer.