~andrewjbeach/juju-ci-tools/make-local-patcher

« back to all changes in this revision

Viewing changes to perf_static/collectd.conf

  • Committer: Aaron Bentley
  • Date: 2015-01-19 15:32:33 UTC
  • mto: This revision was merged to the branch mainline in revision 804.
  • Revision ID: aaron.bentley@canonical.com-20150119153233-jjcvikwiw1dx2lak
Print error on missing environment.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Global
2
 
 
3
 
Hostname "localhost"
4
 
 
5
 
# Interval at which to query values. This may be overwritten on a per-plugin #
6
 
Interval 3
7
 
 
8
 
# Logging
9
 
 
10
 
LoadPlugin logfile
11
 
# LoadPlugin syslog
12
 
 
13
 
<Plugin logfile>
14
 
    LogLevel "debug"
15
 
    File STDOUT
16
 
    Timestamp true
17
 
    PrintSeverity false
18
 
</Plugin>
19
 
 
20
 
# LoadPlugin section
21
 
 
22
 
LoadPlugin aggregation
23
 
LoadPlugin cpu
24
 
#LoadPlugin cpufreq
25
 
LoadPlugin csv
26
 
LoadPlugin df
27
 
LoadPlugin disk
28
 
LoadPlugin entropy
29
 
LoadPlugin interface
30
 
LoadPlugin irq
31
 
LoadPlugin load
32
 
LoadPlugin memory
33
 
LoadPlugin processes
34
 
LoadPlugin rrdtool
35
 
LoadPlugin swap
36
 
LoadPlugin users
37
 
 
38
 
# Plugin configuration                                                       #
39
 
 
40
 
<Plugin "aggregation">
41
 
    <Aggregation>
42
 
        #Host "unspecified"
43
 
        Plugin "cpu"
44
 
        # PluginInstance "/[0,2,4,6,8]$/"
45
 
        Type "cpu"
46
 
 
47
 
        # SetPlugin "cpu"
48
 
        # SetPluginInstance "even-%{aggregation}"
49
 
 
50
 
        GroupBy "Host"
51
 
        GroupBy "TypeInstance"
52
 
 
53
 
        CalculateNum false
54
 
        CalculateSum true
55
 
        CalculateAverage true
56
 
        CalculateMinimum false
57
 
        CalculateMaximum true
58
 
        CalculateStddev false
59
 
    </Aggregation>
60
 
</Plugin>
61
 
 
62
 
<Plugin csv>
63
 
    DataDir "/var/lib/collectd/csv"
64
 
    StoreRates true
65
 
</Plugin>
66
 
 
67
 
<Plugin df>
68
 
    # ignore rootfs; else, the root file-system would appear twice, causing
69
 
    # one of the updates to fail and spam the log
70
 
    FSType rootfs
71
 
    # ignore the usual virtual / temporary file-systems
72
 
    FSType sysfs
73
 
    FSType proc
74
 
    FSType devtmpfs
75
 
    FSType devpts
76
 
    FSType tmpfs
77
 
    FSType fusectl
78
 
    FSType cgroup
79
 
    IgnoreSelected true
80
 
</Plugin>
81
 
 
82
 
<Plugin rrdtool>
83
 
    DataDir "/var/lib/collectd/rrd"
84
 
</Plugin>
85
 
 
86
 
<Include "/etc/collectd/collectd.conf.d">
87
 
    Filter "*.conf"
88
 
</Include>