36774256fe71dfa2284f5a452d6b90da717e4c93
1 # Config file for collectd(1).
2 #
3 # Some plugins need additional configuration and are disabled by default.
4 # Please read collectd.conf(5) for details.
5 #
6 # You should also read /usr/share/doc/collectd/README.Debian.plugins before
7 # enabling any more plugins.
9 #Hostname "localhost"
10 FQDNLookup true
11 #BaseDir "/var/lib/collectd"
12 #PluginDir "/usr/lib/collectd"
13 #TypesDB "/usr/lib/collectd/types.db" "/etc/collectd/my_types.db"
14 #Interval 10
15 #ReadThreads 5
17 #LoadPlugin logfile
18 LoadPlugin syslog
20 #<Plugin logfile>
21 # LogLevel "info"
22 # File STDOUT
23 # Timestamp true
24 #</Plugin>
26 <Plugin syslog>
27 LogLevel info
28 </Plugin>
30 #LoadPlugin apache
31 #LoadPlugin apcups
32 #LoadPlugin apple_sensors
33 LoadPlugin battery
34 LoadPlugin cpu
35 #LoadPlugin cpufreq
36 #LoadPlugin csv
37 LoadPlugin df
38 LoadPlugin disk
39 #LoadPlugin dns
40 #LoadPlugin email
41 LoadPlugin entropy
42 #LoadPlugin exec
43 #LoadPlugin hddtemp
44 LoadPlugin interface
45 #LoadPlugin ipvs
46 LoadPlugin irq
47 #LoadPlugin libvirt
48 LoadPlugin load
49 #LoadPlugin mbmon
50 #LoadPlugin memcached
51 LoadPlugin memory
52 #LoadPlugin multimeter
53 #LoadPlugin mysql
54 #LoadPlugin netlink
55 #LoadPlugin network
56 #LoadPlugin nfs
57 #LoadPlugin nginx
58 #LoadPlugin ntpd
59 #LoadPlugin nut
60 #LoadPlugin perl
61 #LoadPlugin ping
62 LoadPlugin processes
63 LoadPlugin rrdtool
64 #LoadPlugin sensors
65 #LoadPlugin serial
66 #LoadPlugin snmp
67 LoadPlugin swap
68 #LoadPlugin tape
69 LoadPlugin tcpconns
70 #LoadPlugin unixsock
71 LoadPlugin users
72 #LoadPlugin uuid
73 #LoadPlugin vserver
74 #LoadPlugin wireless
76 #<Plugin apache>
77 # URL "http://localhost/status?auto"
78 # User "www-user"
79 # Password "secret"
80 # CACert "/etc/ssl/ca.crt"
81 #</Plugin>
83 #<Plugin apcups>
84 # Host "localhost"
85 # Port 3551
86 #</Plugin>
88 #<Plugin csv>
89 # DataDir "/var/lib/collectd/csv"
90 # StoreRates false
91 #</Plugin>
93 #<Plugin df>
94 # Device "/dev/sda1"
95 # Device "192.168.0.2:/mnt/nfs"
96 # MountPoint "/home"
97 # FSType "ext3"
98 # IgnoreSelected false
99 #</Plugin>
101 #<Plugin dns>
102 # Interface "eth0"
103 # IgnoreSource "192.168.0.1"
104 #</Plugin>
106 #<Plugin email>
107 # SocketGroup "collectd"
108 # SocketPerms "0770"
109 # MaxConns 5
110 #</Plugin>
112 #<Plugin exec>
113 # Exec user "/path/to/exec"
114 # NotificationExec "/path/to/exec"
115 #</Plugin>
117 #<Plugin hddtemp>
118 # Host "127.0.0.1"
119 # Port 7634
120 # TranslateDevicename false
121 #</Plugin>
123 #<Plugin interface>
124 # Interface "eth0"
125 # IgnoreSelected false
126 #</Plugin>
128 #<Plugin irq>
129 # Irq 7
130 # Irq 8
131 # Irq 9
132 # IgnoreSelected true
133 #</Plugin>
135 #<Plugin libvirt>
136 # Connection "xen:///"
137 # RefreshInterval 60
138 # Domain "name"
139 # BlockDevice "name:device"
140 # InterfaceDevice "name:device"
141 # IgnoreSelected false
142 # HostnameFormat name
143 #</Plugin>
145 #<Plugin mbmon>
146 # Host "127.0.0.1"
147 # Port 411
148 #</Plugin>
150 #<Plugin memcached>
151 # Host "127.0.0.1"
152 # Port "11211"
153 #</Plugin>
155 #<Plugin mysql>
156 # Host "database.serv.er"
157 # User "db_user"
158 # Password "secret"
159 # Database "db_name"
160 #</Plugin>
162 #<Plugin netlink>
163 # Interface "All"
164 # VerboseInterface "All"
165 # QDisc "eth0" "pfifo_fast-1:0"
166 # Class "ppp0" "htb-1:10"
167 # Filter "ppp0" "u32-1:0"
168 # IgnoreSelected false
169 #</Plugin>
171 #<Plugin network>
172 # Server "ff18::efc0:4a42" "25826"
173 # Server "239.192.74.66" "25826"
174 # Listen "ff18::efc0:4a42" "25826"
175 # Listen "239.192.74.66" "25826"
176 # TimeToLive "128"
177 # Forward false
178 # CacheFlush 1800
179 #</Plugin>
181 #<Plugin nginx>
182 # URL "http://localhost/status?auto"
183 # User "www-user"
184 # Password "secret"
185 # CACert "/etc/ssl/ca.crt"
186 #</Plugin>
188 #<Plugin ntpd>
189 # Host "localhost"
190 # Port 123
191 # ReverseLookups false
192 #</Plugin>
194 #<Plugin nut>
195 # UPS "upsname@hostname:port"
196 #</Plugin>
198 #<Plugin perl>
199 # IncludeDir "/my/include/path"
200 # BaseName "Collectd::Plugin"
201 # EnableDebugger ""
202 # LoadPlugin "foo"
203 # LoadPlugin "bar"
204 #</Plugin>
206 #<Plugin ping>
207 # Host "host.foo.bar"
208 # Host "host.baz.qux"
209 # TTL 255
210 #</Plugin>
212 #<Plugin processes>
213 # Process "name"
214 #</Plugin>
216 <Plugin rrdtool>
217 DataDir "/var/lib/collectd/rrd"
218 # CacheTimeout 120
219 # CacheFlush 900
220 #
221 # The following settings are rather advanced
222 # and should usually not be touched:
223 # StepSize 10
224 # HeartBeat 20
225 # RRARows 1200
226 # RRATimespan 158112000
227 # XFF 0.1
228 </Plugin>
230 #<Plugin sensors>
231 # Sensor "it8712-isa-0290/temperature-temp1"
232 # Sensor "it8712-isa-0290/fanspeed-fan3"
233 # Sensor "it8712-isa-0290/voltage-in8"
234 # IgnoreSelected false
235 #</Plugin>
237 # See /usr/share/doc/collectd/examples/snmp-data.conf.gz for a
238 # comprehensive sample configuration.
239 #<Plugin snmp>
240 # <Data "powerplus_voltge_input">
241 # Type "voltage"
242 # Table false
243 # Instance "input_line1"
244 # Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
245 # </Data>
246 # <Data "hr_users">
247 # Type "users"
248 # Table false
249 # Instance ""
250 # Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
251 # </Data>
252 # <Data "std_traffic">
253 # Type "if_octets"
254 # Table true
255 # Instance "IF-MIB::ifDescr"
256 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
257 # </Data>
258 #
259 # <Host "some.switch.mydomain.org">
260 # Address "192.168.0.2"
261 # Version 1
262 # Community "community_string"
263 # Collect "std_traffic"
264 # Inverval 120
265 # </Host>
266 # <Host "some.server.mydomain.org">
267 # Address "192.168.0.42"
268 # Version 2
269 # Community "another_string"
270 # Collect "std_traffic" "hr_users"
271 # </Host>
272 # <Host "some.ups.mydomain.org">
273 # Address "192.168.0.3"
274 # Version 1
275 # Community "more_communities"
276 # Collect "powerplus_voltge_input"
277 # Interval 300
278 # </Host>
279 #</Plugin>
281 #<Plugin tcpconns>
282 # ListeningPorts false
283 # LocalPort "25"
284 # RemotePort "25"
285 #</Plugin>
287 #<Plugin unixsock>
288 # SocketFile "/var/run/collectd-unixsock"
289 # SocketGroup "collectd"
290 # SocketPerms "0660"
291 #</Plugin>
293 #<Plugin uuid>
294 # UUIDFile "/etc/uuid"
295 #</Plugin>
297 Include "/etc/collectd/thresholds.conf"