Ignore:
Timestamp:
03/08/06 13:09:30 (18 years ago)
Author:
bastiaans
Message:

TODO:

  • updated

AUTHORS:

  • updated

jobmond/jobmond.py,
web/addons/job_monarch/libtoga.php:

  • renamed metric internals from TOGA to MONARCH

web/addons/job_monarch/conf.php:

  • renamed comment from Toga to Job Monarch
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/addons/job_monarch/libtoga.php

    r207 r219  
    528528                                $nodes[$hostname] = new NodeImage( $hostname );
    529529
    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' ) ) {
    533533
    534534                                $this->heartbeat['time'] = $attrs[VAL];
    535535                                //printf( "heartbeat %s\n", $heartbeat['time'] );
    536536
    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 );
    540540
    541541                                //printf( "jobid %s\n", $jobid );
Note: See TracChangeset for help on using the changeset viewer.