1 | <?php |
---|
2 | // Show hosts in a jobview by default? |
---|
3 | // |
---|
4 | $default_showhosts = 1; |
---|
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 = 0; |
---|
13 | |
---|
14 | // Show the column job attribute 'queued' (since)? |
---|
15 | // |
---|
16 | $COLUMN_QUEUED = 1; |
---|
17 | |
---|
18 | // Show the column job attribute 'nodes' hostnames? |
---|
19 | // |
---|
20 | $COLUMN_NODES = 0; |
---|
21 | |
---|
22 | // Path to Ganglia's web frontend root |
---|
23 | // |
---|
24 | $GANGLIA_PATH = "/var/www/ganglia"; |
---|
25 | |
---|
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 | |
---|
30 | // Max size of small clusterimage |
---|
31 | // (250 pixels is same width as Ganglia's pie chart) |
---|
32 | // |
---|
33 | $SMALL_CLUSTERIMAGE_MAXWIDTH = 300; |
---|
34 | |
---|
35 | // The size of a single node in the small clusterimage |
---|
36 | // |
---|
37 | $SMALL_CLUSTERIMAGE_NODEWIDTH = 7; |
---|
38 | |
---|
39 | // Max size of small clusterimage |
---|
40 | // (250 pixels is same width as Ganglia's pie chart) |
---|
41 | // |
---|
42 | $BIG_CLUSTERIMAGE_MAXWIDTH = 500; |
---|
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 | |
---|
52 | // How to mark nodes with a job in clusterimage |
---|
53 | // |
---|
54 | $JOB_NODE_MARKING = "J"; |
---|
55 | |
---|
56 | // XML Datasource for Job Monarch |
---|
57 | // by default localhost's gmetad |
---|
58 | // [syntax: <ip>:<port>] |
---|
59 | // |
---|
60 | $DATA_SOURCE = '127.0.0.1:8651'; |
---|
61 | |
---|
62 | // Is there a jobarchive? |
---|
63 | // |
---|
64 | $JOB_ARCHIVE = 1; |
---|
65 | |
---|
66 | // Path to the job archive rrd files |
---|
67 | // |
---|
68 | $JOB_ARCHIVE_DIR = "/data/gfs/jobarch/rrds"; |
---|
69 | |
---|
70 | // Location of the job archive database |
---|
71 | // [syntax: <ip>/<dbase>] |
---|
72 | // |
---|
73 | $JOB_ARCHIVE_DBASE = "127.0.0.1/jobarch"; |
---|
74 | |
---|
75 | // Path to rrdtool binary |
---|
76 | // |
---|
77 | $RRDTOOL = "/usr/bin/rrdtool"; |
---|
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"; |
---|
88 | ?> |
---|