Style-check for monitoring scripts
[bottlenecks.git] / monitor / config / collectd-client.conf
1 #
2 # Config file for collectd(1).
3 # Please read collectd.conf(5) for a list of options.
4 # http://collectd.org/
5 #
6
7 ##############################################################################
8 # Global                                                                     #
9 #----------------------------------------------------------------------------#
10 # Global settings for the daemon.                                            #
11 ##############################################################################
12
13 #Hostname    "localhost"
14 #FQDNLookup   true
15 #BaseDir     "${prefix}/var/lib/collectd"
16 #PIDFile     "${prefix}/var/run/collectd.pid"
17 #PluginDir   "${exec_prefix}/lib/collectd"
18 #TypesDB     "/usr/share/collectd/types.db"
19
20 #----------------------------------------------------------------------------#
21 # When enabled, plugins are loaded automatically with the default options    #
22 # when an appropriate <Plugin ...> block is encountered.                     #
23 # Disabled by default.                                                       #
24 #----------------------------------------------------------------------------#
25 #AutoLoadPlugin false
26
27 #----------------------------------------------------------------------------#
28 # When enabled, internal statistics are collected, using "collectd" as the   #
29 # plugin name.                                                               #
30 # Disabled by default.                                                       #
31 #----------------------------------------------------------------------------#
32 #CollectInternalStats false
33
34 #----------------------------------------------------------------------------#
35 # Interval at which to query values. This may be overwritten on a per-plugin #
36 # base by using the 'Interval' option of the LoadPlugin block:               #
37 #   <LoadPlugin foo>                                                         #
38 #       Interval 60                                                          #
39 #   </LoadPlugin>                                                            #
40 #----------------------------------------------------------------------------#
41 #Interval     10
42
43 #MaxReadInterval 86400
44 #Timeout         2
45 #ReadThreads     5
46 #WriteThreads    5
47
48 # Limit the size of the write queue. Default is no limit. Setting up a limit is
49 # recommended for servers handling a high volume of traffic.
50 #WriteQueueLimitHigh 1000000
51 #WriteQueueLimitLow   800000
52
53 ##############################################################################
54 # Logging                                                                    #
55 #----------------------------------------------------------------------------#
56 # Plugins which provide logging functions should be loaded first, so log     #
57 # messages generated when loading or configuring other plugins can be        #
58 # accessed.                                                                  #
59 ##############################################################################
60
61 LoadPlugin syslog
62 #<Plugin syslog>
63 #       LogLevel info
64 #</Plugin>
65
66 ##############################################################################
67 # LoadPlugin section                                                         #
68 #----------------------------------------------------------------------------#
69 # Lines beginning with a single `#' belong to plugins which have been built  #
70 # but are disabled by default.                                               #
71 #                                                                            #
72 # Lines begnning with `##' belong to plugins which have not been built due   #
73 # to missing dependencies or because they have been deactivated explicitly.  #
74 ##############################################################################
75
76 LoadPlugin cpu
77 LoadPlugin interface
78 LoadPlugin memory
79 LoadPlugin network
80 LoadPlugin rrdtool
81 LoadPlugin write_http
82
83 ##############################################################################
84 # Plugin configuration                                                       #
85 #----------------------------------------------------------------------------#
86 # In this section configuration stubs for each plugin are provided. A desc-  #
87 # ription of those options is available in the collectd.conf(5) manual page. #
88 ##############################################################################
89
90 #<Plugin cpu>
91 #  ReportByCpu true
92 #  ReportByState true
93 #  ValuesPercentage false
94 #</Plugin>
95
96 #<Plugin interface>
97 #       Interface "eth0"
98 #       IgnoreSelected false
99 #</Plugin>
100
101 #<Plugin memory>
102 #       ValuesAbsolute true
103 #       ValuesPercentage false
104 #</Plugin>
105
106 <Plugin network>
107   Server "192.168.121.2" "25826"
108 </Plugin>
109
110 #<Plugin rrdtool>
111 #       DataDir "${prefix}/var/lib/collectd/rrd"
112 #       CreateFilesAsync false
113 #       CacheTimeout 120
114 #       CacheFlush   900
115 #       WritesPerSecond 50
116 #</Plugin>
117
118 #<Plugin write_http>
119 #  <Node "collectd_exporter">
120 #    URL "http://192.168.121.2:9103/collectd-post"
121 #    Format "JSON"
122 #    StoreRates false
123 #  </Node>
124 #</Plugin>
125