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/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 | // 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 | |
---|
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 | |
---|
72 | // XML Datasource for Job Monarch |
---|
73 | // by default localhost's gmetad |
---|
74 | // [syntax: <ip>:<port>] |
---|
75 | // |
---|
76 | $DATA_SOURCE = '127.0.0.1:8652'; |
---|
77 | |
---|
78 | // Is there a jobarchive? |
---|
79 | // |
---|
80 | $JOB_ARCHIVE = false; |
---|
81 | |
---|
82 | // Path to the job archive rrd files |
---|
83 | // |
---|
84 | $JOB_ARCHIVE_DIR = "/path/to/my/archive"; |
---|
85 | |
---|
86 | // Location of the job archive (postgres) database |
---|
87 | // [syntax: <ip>/<dbase>] |
---|
88 | // |
---|
89 | $JOB_ARCHIVE_DBASE = "127.0.0.1/jobarchive"; |
---|
90 | |
---|
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 | |
---|
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 | // |
---|
105 | ?> |
---|