[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 | // |
---|
[847] | 24 | $GANGLIA_PATH = "__GANGLIA_ROOT__"; |
---|
[110] | 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 | |
---|
[515] | 56 | // How to mark nodes that are 'down' in the batch |
---|
| 57 | // |
---|
| 58 | $NODE_DOWN_MARKING = "X"; |
---|
| 59 | |
---|
| 60 | // How to mark nodes that are 'offline' in the batch |
---|
| 61 | // |
---|
| 62 | $NODE_OFFLINE_MARKING = "."; |
---|
| 63 | |
---|
[522] | 64 | // Show empty columns in the ClusterImage? |
---|
| 65 | // |
---|
| 66 | $SHOW_EMPTY_COLUMN = false; |
---|
| 67 | |
---|
| 68 | // Show empty rows in the ClusterImage? |
---|
| 69 | // |
---|
| 70 | $SHOW_EMPTY_ROW = true; |
---|
| 71 | |
---|
[219] | 72 | // XML Datasource for Job Monarch |
---|
[110] | 73 | // by default localhost's gmetad |
---|
[207] | 74 | // [syntax: <ip>:<port>] |
---|
[110] | 75 | // |
---|
[744] | 76 | $DATA_SOURCE = '127.0.0.1:8652'; |
---|
[110] | 77 | |
---|
[129] | 78 | // Is there a jobarchive? |
---|
| 79 | // |
---|
[686] | 80 | $JOB_ARCHIVE = false; |
---|
[129] | 81 | |
---|
[207] | 82 | // Path to the job archive rrd files |
---|
[206] | 83 | // |
---|
[924] | 84 | $JOB_ARCHIVE_DIR = "__JOBARCHIVE_RRDS__"; |
---|
[206] | 85 | |
---|
[781] | 86 | // Location of the job archive (postgres) database |
---|
[207] | 87 | // [syntax: <ip>/<dbase>] |
---|
| 88 | // |
---|
[781] | 89 | $JOB_ARCHIVE_DBASE = "127.0.0.1/jobarchive"; |
---|
[207] | 90 | |
---|
[781] | 91 | // Username to connect to the SQL database |
---|
| 92 | // |
---|
| 93 | $JOB_ARCHIVE_SQL_USER = "jobarchive"; |
---|
| 94 | |
---|
| 95 | // Password to connect to the SQL database: change me |
---|
| 96 | // |
---|
| 97 | //$JOB_ARCHIVE_SQL_PASSWORD = ""; |
---|
| 98 | |
---|
[342] | 99 | // Include cluster specific settings here, |
---|
| 100 | // they will override any (global) settings above |
---|
| 101 | // on a per-cluster basis, where available. |
---|
| 102 | // |
---|
| 103 | //$CLUSTER_CONFS["Example Cluster"] = "./clusterconf/example.php"; |
---|
| 104 | // |
---|
[110] | 105 | ?> |
---|