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