Changeset 514 for trunk/jobmond
- Timestamp:
- 03/08/08 21:16:32 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/jobmond/jobmond.py
r513 r514 490 490 if BATCH_API == 'pbs': 491 491 492 domain = fqdn_parts( socket.getfqdn() )[1] 493 492 494 downed_nodes = list() 493 495 offline_nodes = list() … … 505 507 offline_nodes.append( name ) 506 508 507 self.dp.multicastGmetric( 'MONARCH-DOWN' , string.join( downed_nodes, ',' ) ) 508 self.dp.multicastGmetric( 'MONARCH-OFFLINE', string.join( offline_nodes, ',' ) ) 509 downnodeslist = do_nodelist( downed_nodes ) 510 offlinenodeslist = do_nodelist( offline_nodes ) 511 512 down_str = 'nodes=%s domain=%s reported=%s' %( string.join( downnodeslist, ';' ), domain, str( int( int( self.cur_time ) + int( self.timeoffset ) ) ) ) 513 offl_str = 'nodes=%s domain=%s reported=%s' %( string.join( offlinenodeslist, ';' ), domain, str( int( int( self.cur_time ) + int( self.timeoffset ) ) ) ) 514 self.dp.multicastGmetric( 'MONARCH-DOWN' , down_str ) 515 self.dp.multicastGmetric( 'MONARCH-OFFLINE', offl_str ) 509 516 510 517 # Now let's spread the knowledge
Note: See TracChangeset
for help on using the changeset viewer.