Changeset 726
- Timestamp:
- 03/22/13 13:45:32 (10 years ago)
- Location:
- branches/0.4/web/addons/job_monarch
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.4/web/addons/job_monarch/graph.php
r725 r726 151 151 foreach( $bmetric as $mname => $mval ) 152 152 { 153 if( ( $mname == 'zplugin -monarch-rj' ) || ($mname == 'zplugin-monarch-qj') )153 if( ( $mname == 'zplugin_monarch_rj' ) || ($mname == 'zplugin_monarch_qj') ) 154 154 { 155 155 $rjqj_host = $bhost; … … 160 160 $rrd_dir = $conf['rrds'] . "/$clustername/$rjqj_host/"; 161 161 162 $rj_rrd = $rrd_dir . "zplugin -monarch-rj.rrd";163 $qj_rrd = $rrd_dir . "zplugin -monarch-qj.rrd";162 $rj_rrd = $rrd_dir . "zplugin_monarch_rj.rrd"; 163 $qj_rrd = $rrd_dir . "zplugin_monarch_qj.rrd"; 164 164 165 165 $sorted_hosts = array(); -
branches/0.4/web/addons/job_monarch/libtoga.php
r725 r726 711 711 } 712 712 } 713 else if( $name == 'METRIC' and strstr( $attrs['NAME'], 'zplugin -monarch' ) and $this->proc_cluster == $this->clustername )714 { 715 if( strstr( $attrs['NAME'], 'zplugin -monarch-heartbeat' ) )713 else if( $name == 'METRIC' and strstr( $attrs['NAME'], 'zplugin_monarch' ) and $this->proc_cluster == $this->clustername ) 714 { 715 if( strstr( $attrs['NAME'], 'zplugin_monarch_heartbeat' ) ) 716 716 { 717 717 $this->heartbeat['time'] = $attrs['VAL']; 718 718 } 719 else if( strstr( $attrs['NAME'], 'zplugin -monarch-down' ) )719 else if( strstr( $attrs['NAME'], 'zplugin_monarch_down' ) ) 720 720 { 721 721 $fields = explode( ' ', $attrs['VAL'] ); … … 753 753 } 754 754 } 755 else if( strstr( $attrs['NAME'], 'zplugin -monarch-offline' ) )755 else if( strstr( $attrs['NAME'], 'zplugin_monarch_offline' ) ) 756 756 { 757 757 $fields = explode( ' ', $attrs['VAL'] ); … … 789 789 } 790 790 } 791 else if( strstr( $attrs['NAME'], 'zplugin -monarch-job' ) )792 { 793 sscanf( $attrs['NAME'], 'zplugin -monarch-job-%d-%d', $jobid, $monincr);791 else if( strstr( $attrs['NAME'], 'zplugin_monarch_job' ) ) 792 { 793 sscanf( $attrs['NAME'], 'zplugin_monarch_job_%d_%s$', $monincr, $jobid ); 794 794 795 795 if( !isset( $jobs[$jobid] ) ) -
branches/0.4/web/addons/job_monarch/overview.php
r723 r726 582 582 foreach( $bmetric as $mname => $mval ) 583 583 { 584 if( ( $mname == 'zplugin -monarch-rj' ) || ($mname == 'zplugin-monarch-qj') )584 if( ( $mname == 'zplugin_monarch_rj' ) || ($mname == 'zplugin_monarch_qj') ) 585 585 { 586 586 $rjqj_host = $bhost; -
branches/0.4/web/addons/job_monarch/templates/footer.tpl
r725 r726 8 8 9 9 Downloading and parsing ganglia's XML tree took {parsetime}.<BR> 10 Images created with <A HREF="http://www.rrdtool. com/">RRDTool</A>.<BR>10 Images created with <A HREF="http://www.rrdtool.org/">RRDTool</A>.<BR> 11 11 </FONT> 12 12 </CENTER>
Note: See TracChangeset
for help on using the changeset viewer.