[110] | 1 | <?php |
---|
[129] | 2 | // Show hosts in a jobview by default? |
---|
| 3 | // |
---|
[522] | 4 | $default_showhosts = true; |
---|
[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 | // |
---|
[522] | 12 | $COLUMN_REQUESTED_MEMORY = false; |
---|
[241] | 13 | |
---|
[242] | 14 | // Show the column job attribute 'queued' (since)? |
---|
| 15 | // |
---|
[522] | 16 | $COLUMN_QUEUED = true; |
---|
[242] | 17 | |
---|
[299] | 18 | // Show the column job attribute 'nodes' hostnames? |
---|
| 19 | // |
---|
[522] | 20 | $COLUMN_NODES = true; |
---|
[299] | 21 | |
---|
[110] | 22 | // Path to Ganglia's web frontend root |
---|
| 23 | // |
---|
[686] | 24 | $GANGLIA_PATH = "/data/ganglia-web-current/"; |
---|
[522] | 25 | //$GANGLIA_PATH = "../.."; |
---|
[110] | 26 | |
---|
[246] | 27 | // Format of how to display a date and time in human readable format |
---|
| 28 | // |
---|
| 29 | $DATETIME_FORMAT = "%a %d %b %Y %H:%M:%S"; |
---|
| 30 | |
---|
[110] | 31 | // Max size of small clusterimage |
---|
| 32 | // (250 pixels is same width as Ganglia's pie chart) |
---|
| 33 | // |
---|
[333] | 34 | $SMALL_CLUSTERIMAGE_MAXWIDTH = 300; |
---|
[110] | 35 | |
---|
| 36 | // The size of a single node in the small clusterimage |
---|
| 37 | // |
---|
[305] | 38 | $SMALL_CLUSTERIMAGE_NODEWIDTH = 7; |
---|
[110] | 39 | |
---|
[305] | 40 | // Max size of small clusterimage |
---|
| 41 | // (250 pixels is same width as Ganglia's pie chart) |
---|
| 42 | // |
---|
[332] | 43 | $BIG_CLUSTERIMAGE_MAXWIDTH = 500; |
---|
[305] | 44 | |
---|
| 45 | // The size of a single node in the small clusterimage |
---|
| 46 | // |
---|
| 47 | $BIG_CLUSTERIMAGE_NODEWIDTH = 11; |
---|
| 48 | |
---|
| 49 | // Max size of small host image |
---|
| 50 | // |
---|
| 51 | $SMALL_HOSTIMAGE_MAXWIDTH = 450; |
---|
| 52 | |
---|
[111] | 53 | // How to mark nodes with a job in clusterimage |
---|
| 54 | // |
---|
[115] | 55 | $JOB_NODE_MARKING = "J"; |
---|
[111] | 56 | |
---|
[515] | 57 | // How to mark nodes that are 'down' in the batch |
---|
| 58 | // |
---|
| 59 | $NODE_DOWN_MARKING = "X"; |
---|
| 60 | |
---|
| 61 | // How to mark nodes that are 'offline' in the batch |
---|
| 62 | // |
---|
| 63 | $NODE_OFFLINE_MARKING = "."; |
---|
| 64 | |
---|
[522] | 65 | // Show empty columns in the ClusterImage? |
---|
| 66 | // |
---|
| 67 | $SHOW_EMPTY_COLUMN = false; |
---|
| 68 | |
---|
| 69 | // Show empty rows in the ClusterImage? |
---|
| 70 | // |
---|
| 71 | $SHOW_EMPTY_ROW = true; |
---|
| 72 | |
---|
[219] | 73 | // XML Datasource for Job Monarch |
---|
[110] | 74 | // by default localhost's gmetad |
---|
[207] | 75 | // [syntax: <ip>:<port>] |
---|
[110] | 76 | // |
---|
[163] | 77 | $DATA_SOURCE = '127.0.0.1:8651'; |
---|
[110] | 78 | |
---|
[129] | 79 | // Is there a jobarchive? |
---|
| 80 | // |
---|
[686] | 81 | $JOB_ARCHIVE = false; |
---|
[129] | 82 | |
---|
[207] | 83 | // Path to the job archive rrd files |
---|
[206] | 84 | // |
---|
[505] | 85 | $JOB_ARCHIVE_DIR = "/path/to/my/archive"; |
---|
[206] | 86 | |
---|
[207] | 87 | // Location of the job archive database |
---|
| 88 | // [syntax: <ip>/<dbase>] |
---|
| 89 | // |
---|
| 90 | $JOB_ARCHIVE_DBASE = "127.0.0.1/jobarch"; |
---|
| 91 | |
---|
[206] | 92 | // Path to rrdtool binary |
---|
| 93 | // |
---|
[207] | 94 | $RRDTOOL = "/usr/bin/rrdtool"; |
---|
[342] | 95 | |
---|
| 96 | // Include cluster specific settings here, |
---|
| 97 | // they will override any (global) settings above |
---|
| 98 | // on a per-cluster basis, where available. |
---|
| 99 | // |
---|
| 100 | //$CLUSTER_CONFS["Example Cluster"] = "./clusterconf/example.php"; |
---|
| 101 | // |
---|
[614] | 102 | //$CLUSTER_CONFS["LISA Cluster"] = "./clusterconf/lisa-example.php"; |
---|
| 103 | //$CLUSTER_CONFS["GINA Cluster"] = "./clusterconf/gina-example.php"; |
---|
[110] | 104 | ?> |
---|