[110] | 1 | <?php |
---|
[129] | 2 | // Show hosts in a jobview by default? |
---|
| 3 | // |
---|
| 4 | $default_showhosts = 1; |
---|
[110] | 5 | |
---|
[248] | 6 | // Stop displaying archive search results after SEARCH_RESULT_LIMIT |
---|
| 7 | // |
---|
| 8 | $SEARCH_RESULT_LIMIT = 20; |
---|
| 9 | |
---|
[241] | 10 | // Show the column job attribute 'requested memory'? |
---|
| 11 | // |
---|
| 12 | $COLUMN_REQUESTED_MEMORY = 0; |
---|
| 13 | |
---|
[242] | 14 | // Show the column job attribute 'queued' (since)? |
---|
| 15 | // |
---|
| 16 | $COLUMN_QUEUED = 1; |
---|
| 17 | |
---|
[299] | 18 | // Show the column job attribute 'nodes' hostnames? |
---|
| 19 | // |
---|
[342] | 20 | $COLUMN_NODES = 0; |
---|
[299] | 21 | |
---|
[110] | 22 | // Path to Ganglia's web frontend root |
---|
| 23 | // |
---|
| 24 | $GANGLIA_PATH = "/var/www/ganglia"; |
---|
| 25 | |
---|
[246] | 26 | // Format of how to display a date and time in human readable format |
---|
| 27 | // |
---|
| 28 | $DATETIME_FORMAT = "%a %d %b %Y %H:%M:%S"; |
---|
| 29 | |
---|
[110] | 30 | // Max size of small clusterimage |
---|
| 31 | // (250 pixels is same width as Ganglia's pie chart) |
---|
| 32 | // |
---|
[333] | 33 | $SMALL_CLUSTERIMAGE_MAXWIDTH = 300; |
---|
[110] | 34 | |
---|
| 35 | // The size of a single node in the small clusterimage |
---|
| 36 | // |
---|
[305] | 37 | $SMALL_CLUSTERIMAGE_NODEWIDTH = 7; |
---|
[110] | 38 | |
---|
[305] | 39 | // Max size of small clusterimage |
---|
| 40 | // (250 pixels is same width as Ganglia's pie chart) |
---|
| 41 | // |
---|
[332] | 42 | $BIG_CLUSTERIMAGE_MAXWIDTH = 500; |
---|
[305] | 43 | |
---|
| 44 | // The size of a single node in the small clusterimage |
---|
| 45 | // |
---|
| 46 | $BIG_CLUSTERIMAGE_NODEWIDTH = 11; |
---|
| 47 | |
---|
| 48 | // Max size of small host image |
---|
| 49 | // |
---|
| 50 | $SMALL_HOSTIMAGE_MAXWIDTH = 450; |
---|
| 51 | |
---|
[111] | 52 | // How to mark nodes with a job in clusterimage |
---|
| 53 | // |
---|
[115] | 54 | $JOB_NODE_MARKING = "J"; |
---|
[111] | 55 | |
---|
[219] | 56 | // XML Datasource for Job Monarch |
---|
[110] | 57 | // by default localhost's gmetad |
---|
[207] | 58 | // [syntax: <ip>:<port>] |
---|
[110] | 59 | // |
---|
[163] | 60 | $DATA_SOURCE = '127.0.0.1:8651'; |
---|
[110] | 61 | |
---|
[129] | 62 | // Is there a jobarchive? |
---|
| 63 | // |
---|
[206] | 64 | $JOB_ARCHIVE = 1; |
---|
[129] | 65 | |
---|
[207] | 66 | // Path to the job archive rrd files |
---|
[206] | 67 | // |
---|
[294] | 68 | $JOB_ARCHIVE_DIR = "/data/gfs/jobarch/rrds"; |
---|
[206] | 69 | |
---|
[207] | 70 | // Location of the job archive database |
---|
| 71 | // [syntax: <ip>/<dbase>] |
---|
| 72 | // |
---|
| 73 | $JOB_ARCHIVE_DBASE = "127.0.0.1/jobarch"; |
---|
| 74 | |
---|
[206] | 75 | // Path to rrdtool binary |
---|
| 76 | // |
---|
[207] | 77 | $RRDTOOL = "/usr/bin/rrdtool"; |
---|
[342] | 78 | |
---|
| 79 | // Include cluster specific settings here, |
---|
| 80 | // they will override any (global) settings above |
---|
| 81 | // on a per-cluster basis, where available. |
---|
| 82 | // |
---|
| 83 | //$CLUSTER_CONFS["Example Cluster"] = "./clusterconf/example.php"; |
---|
| 84 | // |
---|
| 85 | $CLUSTER_CONFS["LISA Cluster"] = "./clusterconf/lisa-example.php"; |
---|
| 86 | $CLUSTER_CONFS["GINA Cluster"] = "./clusterconf/gina-example.php"; |
---|
| 87 | $CLUSTER_CONFS["MATRIX Cluster"] = "./clusterconf/matrix-example.php"; |
---|
[110] | 88 | ?> |
---|