Changeset 705 for branches/0.4/jobmond
- Timestamp:
- 03/21/13 17:13:30 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.4/jobmond/jobmond.py
r704 r705 375 375 if c.has_key( option ): 376 376 377 cluster_name = c[ option ][0]378 379 return cluster_name377 value = c[ option ][0] 378 379 return value 380 380 381 381 def getClusterName( self ): … … 637 637 self.binary = binary 638 638 639 if not self.binary :639 if not self.binary and not GMETRIC_TARGET: 640 640 self.binary = GMETRIC_BINARY 641 641 … … 649 649 self.dmax = str( int( int( BATCH_POLL_INTERVAL ) * 2 ) ) 650 650 651 if GMOND_CONF :651 if GMOND_CONF and not GMETRIC_TARGET: 652 652 653 653 incompatible = self.checkGmetricVersion() … … 725 725 except NameError: 726 726 727 debug_msg( 10, 'Assuming /etc/g mond.conf for gmetric cmd (omitting)' )727 debug_msg( 10, 'Assuming /etc/ganglia/gmond.conf for gmetric cmd' ) 728 728 729 729 cmd = cmd + ' -n' + str( metricname )+ ' -v"' + str( metricval )+ '" -t' + str( valtype ) + ' -d' + str( self.dmax )
Note: See TracChangeset
for help on using the changeset viewer.