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