Changeset 772 for branches/0.4


Ignore:
Timestamp:
03/28/13 16:45:57 (11 years ago)
Author:
ramonb
Message:
  • update to new jobmond
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.4/jobarchived/jobarchived.py

    r771 r772  
    850850            metricname = str( attrs.get( 'NAME', "" ) )
    851851
    852             if metricname == 'MONARCH-HEARTBEAT':
     852            if metricname == 'zplugin_monarch_heartbeat':
    853853                self.heartbeat = str( attrs.get( 'VAL', "" ) )
    854854
    855             elif metricname.find( 'MONARCH-JOB' ) != -1:
    856 
    857                 job_id    = metricname.split( 'MONARCH-JOB-' )[1].split( '-' )[0]
     855            elif metricname.find( 'zplugin_monarch_job' ) != -1:
     856
     857                job_id    = metricname.split( 'zplugin_monarch_job_' )[1].split( '_' )[0]
    858858                val    = str( attrs.get( 'VAL', "" ) )
    859859
Note: See TracChangeset for help on using the changeset viewer.