Code

Updated to collectd-4.1.0-1.
[pkg-collectd.git] / debian / collectd.conf
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 #BaseDir "/var/lib/collectd"
8 #PIDFile "/var/run/collectd.pid"
9 #PluginDir "/usr/lib/collectd"
10 #TypesDB "/usr/lib/collectd/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 irq
31 LoadPlugin load
32 #LoadPlugin logfile
33 #LoadPlugin mbmon
34 LoadPlugin memory
35 #LoadPlugin multimeter
36 #LoadPlugin mysql
37 #LoadPlugin netlink
38 #LoadPlugin network
39 #LoadPlugin nfs
40 #LoadPlugin ntpd
41 #LoadPlugin nut
42 #LoadPlugin perl
43 #LoadPlugin ping
44 LoadPlugin processes
45 LoadPlugin rrdtool
46 #LoadPlugin sensors
47 #LoadPlugin serial
48 #LoadPlugin snmp
49 LoadPlugin swap
50 LoadPlugin syslog
51 #LoadPlugin tape
52 #LoadPlugin unixsock
53 LoadPlugin users
54 #LoadPlugin vserver
55 #LoadPlugin wireless
56 #LoadPlugin xmms
58 #<Plugin apache>
59 #   URL "http://localhost/status?auto"
60 #   User "www-user"
61 #   Password "secret"
62 #   CACert "/etc/ssl/ca.crt"
63 #</Plugin>
65 #<Plugin apcups>
66 #   Host "localhost"
67 #   Port 3551
68 #</Plugin>
70 #<Plugin csv>
71 #   DataDir "/var/lib/collectd/csv"
72 #</Plugin>
74 #<Plugin df>
75 #   Device "/dev/sda1"
76 #   Device "192.168.0.2:/mnt/nfs"
77 #   MountPoint "/home"
78 #   FSType "ext3"
79 #   IgnoreSelected false
80 #</Plugin>
82 #<Plugin dns>
83 #   Interface "eth0"
84 #   IgnoreSource "192.168.0.1"
85 #</Plugin>
87 #<Plugin email>
88 #   SocketGroup "collectd"
89 #   SocketPerms "0770"
90 #   MaxConns 5
91 #</Plugin>
93 #<Plugin exec>
94 #   Exec user "/path/to/exec"
95 #</Plugin>
97 #<Plugin hddtemp>
98 #   Host "127.0.0.1"
99 #   Port 7634
100 #</Plugin>
102 #<Plugin interface>
103 #   Interface "eth0"
104 #   IgnoreSelected false
105 #</Plugin>
107 #<Plugin iptables>
108 #   Chain table chain
109 #</Plugin>
111 #<Plugin irq>
112 #   Irq 7
113 #   Irq 8
114 #   Irq 9
115 #   IgnoreSelected true
116 #</Plugin>
118 #<Plugin logfile>
119 #   LogLevel "info"
120 #   File STDOUT
121 #</Plugin>
123 #<Plugin mbmon>
124 #   Host "127.0.0.1"
125 #   Port 411
126 #</Plugin>
128 #<Plugin mysql>
129 #   Host "database.serv.er"
130 #   User "db_user"
131 #   Password "secret"
132 #   Database "db_name"
133 #</Plugin>
135 #<Plugin netlink>
136 #   Interface "All"
137 #   VerboseInterface "All"
138 #   QDisc "eth0" "pfifo_fast-1:0"
139 #   Class "ppp0" "htb-1:10"
140 #   Filter "ppp0" "u32-1:0"
141 #</Plugin>
143 #<Plugin network>
144 #   Server "ff18::efc0:4a42" "25826"
145 #   Server "239.192.74.66" "25826"
146 #   Listen "ff18::efc0:4a42" "25826"
147 #   Listen "239.192.74.66" "25826"
148 #   TimeToLive "128"
149 #   Forward false
150 #   CacheFlush 1800
151 #</Plugin>
153 #<Plugin ntpd>
154 #   Host "localhost"
155 #   Port 123
156 #</Plugin>
158 #<Plugin nut>
159 #   UPS "upsname@hostname:port"
160 #</Plugin>
162 #<Plugin perl>
163 #   IncludeDir "/my/include/path"
164 #   BaseName "Collectd::Plugin"
165 #   LoadPlugin "foo"
166 #   LoadPlugin "bar"
167 #</Plugin>
169 #<Plugin ping>
170 #   Host "host.foo.bar"
171 #   Host "host.baz.qux"
172 #</Plugin>
174 #<Plugin processes>
175 #   Process "name"
176 #</Plugin>
178 <Plugin rrdtool>
179    DataDir "/var/lib/collectd/rrd"
180 #   StepSize 10
181 #   HeartBeat 20
182 #   RRARows 1200
183 #   XFF 0.1
184 #   CacheTimeout 120
185 #   CacheFlush 900
186 </Plugin>
188 #<Plugin sensors>
189 #   Sensor "it8712-isa-0290/temperature-temp1"
190 #   Sensor "it8712-isa-0290/fanspeed-fan3"
191 #   Sensor "it8712-isa-0290/voltage-in8"
192 #   IgnoreSelected false
193 #</Plugin>
195 #<Plugin snmp>
196 #   <Data "powerplus_voltge_input">
197 #       Type "voltage"
198 #       Table false
199 #       Instance "input_line1"
200 #       Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
201 #   </Data>
202 #   <Data "hr_users">
203 #       Type "users"
204 #       Table false
205 #       Instance ""
206 #       Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
207 #   </Data>
208 #   <Data "std_traffic">
209 #       Type "if_octets"
210 #       Table true
211 #       Instance "IF-MIB::ifDescr"
212 #       Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
213 #   </Data>
214 #   
215 #   <Host "some.switch.mydomain.org">
216 #       Address "192.168.0.2"
217 #       Version 1
218 #       Community "community_string"
219 #       Collect "std_traffic"
220 #       Inverval 120
221 #   </Host>
222 #   <Host "some.server.mydomain.org">
223 #       Address "192.168.0.42"
224 #       Version 2
225 #       Community "another_string"
226 #       Collect "std_traffic" "hr_users"
227 #   </Host>
228 #   <Host "some.ups.mydomain.org">
229 #       Address "192.168.0.3"
230 #       Version 1
231 #       Community "more_communities"
232 #       Collect "powerplus_voltge_input"
233 #       Interval 300
234 #   </Host>
235 #</Plugin>
237 <Plugin syslog>
238    LogLevel info
239 </Plugin>
241 #<Plugin unixsock>
242 #   SocketFile "/var/run/collectd-unixsock"
243 #   SocketGroup "collectd"
244 #   SocketPerms "0660"
245 #</Plugin>