1 | <?php |
---|
2 | // Show hosts in a jobview by default? |
---|
3 | // |
---|
4 | $default_showhosts = true; |
---|
5 | |
---|
6 | // Stop displaying archive search results after SEARCH_RESULT_LIMIT |
---|
7 | // |
---|
8 | $SEARCH_RESULT_LIMIT = 20; |
---|
9 | |
---|
10 | // Show the column job attribute 'requested memory'? |
---|
11 | // |
---|
12 | $COLUMN_REQUESTED_MEMORY = false; |
---|
13 | |
---|
14 | // Show the column job attribute 'queued' (since)? |
---|
15 | // |
---|
16 | $COLUMN_QUEUED = true; |
---|
17 | |
---|
18 | // Show the column job attribute 'nodes' hostnames? |
---|
19 | // |
---|
20 | $COLUMN_NODES = true; |
---|
21 | |
---|
22 | // Path to Ganglia's web frontend root |
---|
23 | // |
---|
24 | $GANGLIA_PATH = "/var/www/test-ganglia"; |
---|
25 | //$GANGLIA_PATH = "../.."; |
---|
26 | |
---|
27 | // Format of how to display a date and time in human readable format |
---|
28 | // |
---|
29 | $DATETIME_FORMAT = "%d %b %Y %H:%M:%S"; |
---|
30 | |
---|
31 | // Max size of small clusterimage |
---|
32 | // (250 pixels is same width as Ganglia's pie chart) |
---|
33 | // |
---|
34 | $SMALL_CLUSTERIMAGE_MAXWIDTH = 300; |
---|
35 | |
---|
36 | // The size of a single node in the small clusterimage |
---|
37 | // |
---|
38 | $SMALL_CLUSTERIMAGE_NODEWIDTH = 7; |
---|
39 | |
---|
40 | // Max size of small clusterimage |
---|
41 | // (250 pixels is same width as Ganglia's pie chart) |
---|
42 | // |
---|
43 | $BIG_CLUSTERIMAGE_MAXWIDTH = 500; |
---|
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 | |
---|
53 | // How to mark nodes with a job in clusterimage |
---|
54 | // |
---|
55 | $JOB_NODE_MARKING = "J"; |
---|
56 | |
---|
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 | |
---|
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 | |
---|
73 | // XML Datasource for Job Monarch |
---|
74 | // by default localhost's gmetad |
---|
75 | // [syntax: <ip>:<port>] |
---|
76 | // |
---|
77 | $DATA_SOURCE = '127.0.0.1:8651'; |
---|
78 | |
---|
79 | // Is there a jobarchive? |
---|
80 | // |
---|
81 | $JOB_ARCHIVE = true; |
---|
82 | |
---|
83 | // Path to the job archive rrd files |
---|
84 | // |
---|
85 | $JOB_ARCHIVE_DIR = "/path/to/my/archive"; |
---|
86 | |
---|
87 | // Location of the job archive database |
---|
88 | // [syntax: <ip>/<dbase>] |
---|
89 | // |
---|
90 | $JOB_ARCHIVE_DBASE = "127.0.0.1/jobarch"; |
---|
91 | |
---|
92 | // Path to rrdtool binary |
---|
93 | // |
---|
94 | $RRDTOOL = "/usr/bin/rrdtool"; |
---|
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 | // |
---|
102 | $CLUSTER_CONFS["LISA Cluster"] = "./clusterconf/lisa-example.php"; |
---|
103 | $CLUSTER_CONFS["GINA Cluster"] = "./clusterconf/gina-example.php"; |
---|
104 | ?> |
---|