-
Notifications
You must be signed in to change notification settings - Fork 14
/
conf_default.php
74 lines (67 loc) · 1.88 KB
/
conf_default.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?php
$base_dir = dirname(__FILE__);
# Dashboard settings
$conf['theme_color'] = '2196F3';
$conf['dashboard_domainname'] = "graphsky.example.com";
$conf['dashboard_config'] = $base_dir . "/dashboards.json";
$conf['dashboard_refresh_interval'] = "60";
$conf['graph_template_dir'] = $base_dir . "/graph.d";
$conf['graph_domainname'] = "http://" . $conf['dashboard_domainname'];
$conf['use_random_graph_domainname'] = True;
$conf['host_metric_group_depth'] = 2;
# If you prefer PNG (for instance, because your Graphite installation
# serves broken SVGs), set the following to True:
$conf['graphite_use_png'] = False;
# If you have your metrics for an entire cluster stored seperately,
# specify that "hostname" here.
# For example, Ganglia uses __SummaryInfo__
$conf['cluster_hostname'] = "*";
# Graphite settings
$conf['graphite_servers'] = array(
'default' => 'http://graphite.example.com',
);
$conf['graphite_search_path'] = "/metrics/expand/?query=";
# Don't forget the trailing . when specifying a prefix
$conf['graphite_prefix'] = "collectd.";
$conf['graphite_default_env'] = "";
# Set to True if your Graphite installation supports Graphlot
$conf['graphlot'] = True;
# Graph settings
$conf['default_time_range'] = '-1 hour';
$conf['default_background_color'] = 'FFFFFF';
$conf['default_foreground_color'] = '000000';
$conf['graph_sizes'] = array(
'default'=>array(
'height'=>200,
'width'=>395
),
'small'=>array(
'height'=>150,
'width'=>315
),
'medium'=>array(
'height'=>250,
'width'=>535
),
'large'=>array(
'height'=>400,
'width'=>800
),
'xlarge'=>array(
'height'=>900,
'width'=>1280
)
);
$conf['graph_sizes_keys'] = array_keys( $conf['graph_sizes'] );
$conf['graph_all_periods_timeframes'] = array(
"10+minutes",
"30+minutes",
"1+hour",
"2+hours",
"4+hours",
"1+day",
"1+week",
"1+month",
"6+months",
"12+months"
);