Changeset 207
- Timestamp:
- 01/06/06 15:33:08 (17 years ago)
- Location:
- trunk/web/addons/job_monarch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web/addons/job_monarch/conf.php
r206 r207 23 23 // XML Datasource for Toga 24 24 // by default localhost's gmetad 25 // [syntax: <ip>:<port>] 25 26 // 26 27 $DATA_SOURCE = '127.0.0.1:8651'; … … 30 31 $JOB_ARCHIVE = 1; 31 32 32 // Path to the job archive 33 // Path to the job archive rrd files 33 34 // 34 $JOB_ARCHIVE_DIR = '/data/jobarch/rrds'; 35 $JOB_ARCHIVE_DIR = "/data/jobarch/rrds"; 36 37 // Location of the job archive database 38 // [syntax: <ip>/<dbase>] 39 // 40 $JOB_ARCHIVE_DBASE = "127.0.0.1/jobarch"; 35 41 36 42 // Path to rrdtool binary 37 43 // 38 $RRDTOOL = '/usr/bin/rrdtool'; 39 44 $RRDTOOL = "/usr/bin/rrdtool"; 40 45 ?> -
trunk/web/addons/job_monarch/libtoga.php
r206 r207 57 57 global $RRDTOOL; 58 58 global $JOB_ARCHIVE_DIR; 59 global $JOB_ARCHIVE_DBASE; 59 60 60 61 $my_dir = getcwd(); … … 95 96 96 97 function TarchDbase( $ip = null, $dbase = 'jobarch' ) { 97 $this->ip = $ip; 98 $this->dbase = $dbase; 98 99 global $JOB_ARCHIVE_DBASE; 100 101 $db_fields = explode( '/', $JOB_ARCHIVE_DBASE ); 102 103 $this->ip = $db_fields[0]; 104 $this->dbase = $db_fields[1]; 99 105 $this->conn = null; 100 106 }
Note: See TracChangeset
for help on using the changeset viewer.