Changeset 734 for branches/0.4/web/addons/job_monarch/host_view.php
- Timestamp:
- 03/24/13 15:16:58 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.4/web/addons/job_monarch/host_view.php
r720 r734 4 4 * This file is part of Jobmonarch 5 5 * 6 * Copyright (C) 2006 Ramon Bastiaans6 * Copyright (C) 2006-2013 Ramon Bastiaans 7 7 * 8 8 * Jobmonarch is free software; you can redistribute it and/or modify … … 58 58 global $cluster_ul, $hosts_up, $get_metric_string; 59 59 global $cluster, $period_start, $period_stop; 60 global $job_start, $job_stop; 61 62 $trd = new TarchRrdGraph( $clustername, $hostname ); 63 $rrdirs = $trd->getRrdDirs( $period_start, $period_stop ); 64 65 $longtitle = "Batch Archive Node Report :: Powered by Job Monarch!"; 66 $title = "Batch Archive Node Report"; 60 global $job_start, $job_stop, $view, $conf; 61 62 $rrdirs = array(); 63 if( $view == "overview-host" ) 64 { 65 $trd = new TarchRrdGraph( $clustername, $hostname ); 66 $rrdirs = $trd->getRrdDirs( $period_start, $period_stop ); 67 } 68 else 69 { 70 $rrdirs[] = $conf['rrds'] . '/' . $cluster .'/'. $hostname; 71 } 72 73 $longtitle = "Batch Archive Node Report :: Powered by Job Monarch!"; 74 $title = "Batch Archive Node Report"; 67 75 68 76 makeHeader( 'host_view', $title, $longtitle );
Note: See TracChangeset
for help on using the changeset viewer.