Changeset 219 for trunk/web/addons
- Timestamp:
- 03/08/06 13:09:30 (17 years ago)
- Location:
- trunk/web/addons/job_monarch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web/addons/job_monarch/conf.php
r207 r219 21 21 $JOB_NODE_MARKING = "J"; 22 22 23 // XML Datasource for Toga23 // XML Datasource for Job Monarch 24 24 // by default localhost's gmetad 25 25 // [syntax: <ip>:<port>] -
trunk/web/addons/job_monarch/libtoga.php
r207 r219 528 528 $nodes[$hostname] = new NodeImage( $hostname ); 529 529 530 } else if( $name == 'METRIC' and strstr( $attrs[NAME], ' TOGA' ) and $this->proc_cluster == $this->clustername ) {531 532 if( strstr( $attrs[NAME], ' TOGA-HEARTBEAT' ) ) {530 } else if( $name == 'METRIC' and strstr( $attrs[NAME], 'MONARCH' ) and $this->proc_cluster == $this->clustername ) { 531 532 if( strstr( $attrs[NAME], 'MONARCH-HEARTBEAT' ) ) { 533 533 534 534 $this->heartbeat['time'] = $attrs[VAL]; 535 535 //printf( "heartbeat %s\n", $heartbeat['time'] ); 536 536 537 } else if( strstr( $attrs[NAME], ' TOGA-JOB' ) ) {538 539 sscanf( $attrs[NAME], ' TOGA-JOB-%d', $jobid );537 } else if( strstr( $attrs[NAME], 'MONARCH-JOB' ) ) { 538 539 sscanf( $attrs[NAME], 'MONARCH-JOB-%d', $jobid ); 540 540 541 541 //printf( "jobid %s\n", $jobid );
Note: See TracChangeset
for help on using the changeset viewer.