2 # Config file for collectd(1).
3 # Please read collectd.conf(5) for a list of options.
9 #BaseDir "@prefix@/var/lib/@PACKAGE_NAME@"
10 #PIDFile "@prefix@/var/run/@PACKAGE_NAME@.pid"
11 #PluginDir "@prefix@/lib/@PACKAGE_NAME@"
12 #TypesDB "@prefix@/share/@PACKAGE_NAME@/types.db"
16 @BUILD_PLUGIN_LOGFILE_TRUE@LoadPlugin logfile
17 @BUILD_PLUGIN_SYSLOG_TRUE@LoadPlugin syslog
29 @BUILD_PLUGIN_APACHE_TRUE@LoadPlugin apache
30 @BUILD_PLUGIN_APCUPS_TRUE@LoadPlugin apcups
31 @BUILD_PLUGIN_APPLE_SENSORS_TRUE@LoadPlugin apple_sensors
32 @BUILD_PLUGIN_ASCENT_TRUE@LoadPlugin ascent
33 @BUILD_PLUGIN_BATTERY_TRUE@LoadPlugin battery
34 @BUILD_PLUGIN_BIND_TRUE@LoadPlugin bind
35 @BUILD_PLUGIN_CPU_TRUE@LoadPlugin cpu
36 @BUILD_PLUGIN_CPUFREQ_TRUE@LoadPlugin cpufreq
37 @BUILD_PLUGIN_CSV_TRUE@LoadPlugin csv
38 @BUILD_PLUGIN_CURL_TRUE@LoadPlugin curl
39 @BUILD_PLUGIN_DBI_TRUE@LoadPlugin dbi
40 @BUILD_PLUGIN_DF_TRUE@LoadPlugin df
41 @BUILD_PLUGIN_DISK_TRUE@LoadPlugin disk
42 @BUILD_PLUGIN_DNS_TRUE@LoadPlugin dns
43 @BUILD_PLUGIN_EMAIL_TRUE@LoadPlugin email
44 @BUILD_PLUGIN_ENTROPY_TRUE@LoadPlugin entropy
45 @BUILD_PLUGIN_EXEC_TRUE@LoadPlugin exec
46 @BUILD_PLUGIN_FILECOUNT_TRUE@LoadPlugin filecount
47 @BUILD_PLUGIN_HDDTEMP_TRUE@LoadPlugin hddtemp
48 @BUILD_PLUGIN_INTERFACE_TRUE@LoadPlugin interface
49 @BUILD_PLUGIN_IPTABLES_TRUE@LoadPlugin iptables
50 @BUILD_PLUGIN_IPMI_TRUE@LoadPlugin ipmi
51 @BUILD_PLUGIN_IPVS_TRUE@LoadPlugin ipvs
52 @BUILD_PLUGIN_IRQ_TRUE@LoadPlugin irq
53 @BUILD_PLUGIN_LIBVIRT_TRUE@LoadPlugin libvirt
54 @BUILD_PLUGIN_LOAD_TRUE@LoadPlugin load
55 @BUILD_PLUGIN_MBMON_TRUE@LoadPlugin mbmon
56 @BUILD_PLUGIN_MEMCACHED_TRUE@LoadPlugin memcached
57 @BUILD_PLUGIN_MEMORY_TRUE@LoadPlugin memory
58 @BUILD_PLUGIN_MULTIMETER_TRUE@LoadPlugin multimeter
59 @BUILD_PLUGIN_MYSQL_TRUE@LoadPlugin mysql
60 @BUILD_PLUGIN_NETLINK_TRUE@LoadPlugin netlink
61 @BUILD_PLUGIN_NETWORK_TRUE@LoadPlugin network
62 @BUILD_PLUGIN_NFS_TRUE@LoadPlugin nfs
63 @BUILD_PLUGIN_NGINX_TRUE@LoadPlugin nginx
64 @BUILD_PLUGIN_NOTIFY_DESKTOP_TRUE@LoadPlugin notify_desktop
65 @BUILD_PLUGIN_NOTIFY_EMAIL_TRUE@LoadPlugin notify_email
66 @BUILD_PLUGIN_NTPD_TRUE@LoadPlugin ntpd
67 @BUILD_PLUGIN_NUT_TRUE@LoadPlugin nut
68 @BUILD_PLUGIN_ONEWIRE_TRUE@LoadPlugin onewire
69 @BUILD_PLUGIN_OPENVPN_TRUE@LoadPlugin openvpn
70 @BUILD_PLUGIN_ORACLE_TRUE@LoadPlugin oracle
71 @BUILD_PLUGIN_PERL_TRUE@LoadPlugin perl
72 @BUILD_PLUGIN_PING_TRUE@LoadPlugin ping
73 @BUILD_PLUGIN_POSTGRESQL_TRUE@LoadPlugin postgresql
74 @BUILD_PLUGIN_POWERDNS_TRUE@LoadPlugin powerdns
75 @BUILD_PLUGIN_PROCESSES_TRUE@LoadPlugin processes
76 @BUILD_PLUGIN_RRDCACHED_TRUE@LoadPlugin rrdcached
77 @BUILD_PLUGIN_RRDTOOL_TRUE@LoadPlugin rrdtool
78 @BUILD_PLUGIN_SENSORS_TRUE@LoadPlugin sensors
79 @BUILD_PLUGIN_SERIAL_TRUE@LoadPlugin serial
80 @BUILD_PLUGIN_SNMP_TRUE@LoadPlugin snmp
81 @BUILD_PLUGIN_SWAP_TRUE@LoadPlugin swap
82 @BUILD_PLUGIN_TAIL_TRUE@LoadPlugin tail
83 @BUILD_PLUGIN_TAPE_TRUE@LoadPlugin tape
84 @BUILD_PLUGIN_TCPCONNS_TRUE@LoadPlugin tcpconns
85 @BUILD_PLUGIN_TEAMSPEAK2_TRUE@LoadPlugin teamspeak2
86 @BUILD_PLUGIN_THERMAL_TRUE@LoadPlugin thermal
87 @BUILD_PLUGIN_UNIXSOCK_TRUE@LoadPlugin unixsock
88 @BUILD_PLUGIN_USERS_TRUE@LoadPlugin users
90 @BUILD_PLUGIN_VMEM_TRUE@LoadPlugin vmem
91 @BUILD_PLUGIN_VSERVER_TRUE@LoadPlugin vserver
92 @BUILD_PLUGIN_WIRELESS_TRUE@LoadPlugin wireless
93 @BUILD_PLUGIN_XMMS_TRUE@LoadPlugin xmms
96 # URL "http://localhost/status?auto"
99 # CACert "/etc/ssl/ca.crt"
108 # URL "http://localhost/ascent/status/"
111 # CACert "/etc/ssl/ca.crt"
115 # URL "http://localhost:8053/"
120 # ZoneMaintStats true
121 # ResolverStats false
129 # Zone "127.in-addr.arpa/IN"
134 # DataDir "@prefix@/var/lib/@PACKAGE_NAME@/csv"
139 # <Page "stock_quotes">
140 # URL "http://finance.google.com/finance?q=NYSE%3AAMD"
144 # Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
145 # DSType "GaugeAverage"
153 # <Query "num_of_customers">
154 # Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value FROM customers_tbl"
157 # InstancesFrom "c_key"
158 # ValuesFrom "c_value"
161 # <Database "customers_db">
163 # DriverOption "host" "localhost"
164 # DriverOption "username" "collectd"
165 # DriverOption "password" "AeXohy0O"
166 # DriverOption "dbname" "custdb0"
167 # #SelectDB "custdb0"
168 # Query "num_of_customers"
175 # Device "192.168.0.2:/mnt/nfs"
178 # IgnoreSelected false
182 # Disk "/^[hs]d[a-f][0-9]?$/"
183 # IgnoreSelected false
188 # IgnoreSource "192.168.0.1"
192 # SocketFile "@prefix@/var/run/@PACKAGE_NAME@-email"
193 # SocketGroup "collectd"
199 # Exec "user:group" "/path/to/exec"
200 # NotificationExec "user:group" "/path/to/exec"
204 # <Directory "/path/to/dir">
213 @BUILD_PLUGIN_HDDTEMP_TRUE@<Plugin hddtemp>
216 @BUILD_PLUGIN_HDDTEMP_TRUE@ TranslateDevicename false
217 @BUILD_PLUGIN_HDDTEMP_TRUE@</Plugin>
221 # IgnoreSelected false
225 # Sensor "some_sensor"
226 # Sensor "another_one"
227 # IgnoreSelected false
228 # NotifySensorAdd false
229 # NotifySensorRemove true
230 # NotifySensorNotPresent false
241 # IgnoreSelected true
245 # Connection "xen:///"
248 # BlockDevice "name:device"
249 # InterfaceDevice "name:device"
250 # IgnoreSelected false
251 # HostnameFormat name
265 # Host "database.serv.er"
273 # VerboseInterface "All"
274 # QDisc "eth0" "pfifo_fast-1:0"
275 # Class "ppp0" "htb-1:10"
276 # Filter "ppp0" "u32-1:0"
277 # IgnoreSelected false
281 # Server "ff18::efc0:4a42" "25826"
282 # Server "239.192.74.66" "25826"
283 # Listen "ff18::efc0:4a42" "25826"
284 # Listen "239.192.74.66" "25826"
291 # URL "http://localhost/status?auto"
294 # CACert "/etc/ssl/ca.crt"
297 #<Plugin notify_desktop>
299 # WarningTimeout 5000
303 #<Plugin notify_email>
304 # SMTPServer "localhost"
306 # SMTPUser "my-username"
307 # SMTPPassword "my-password"
308 # From "collectd@main0server.com"
309 # # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
310 # Subject "Aaaaaa!! %s on %s!!!!!"
311 # Recipient "email1@domain1.net"
312 # Recipient "email2@domain2.com"
318 # ReverseLookups false
322 # UPS "upsname@hostname:port"
326 # Device "-s localhost:4304"
327 # Sensor "F10FCA000800"
328 # IgnoreSelected false
332 # StatusFile "/etc/openvpn/openvpn-status.log"
336 # <Query "out_of_stock">
337 # Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
340 # InstancesFrom "category"
344 # <Database "product_information">
348 # Query "out_of_stock"
353 # IncludeDir "/my/include/path"
354 # BaseName "Collectd::Plugin"
365 # Host "host.foo.bar"
371 # Statement "SELECT magic FROM wizard WHERE host = $1;"
375 # InstancePrefix "magic"
379 # <Query rt36_tickets>
380 # Statement "SELECT COUNT(type) AS count, type \
381 # FROM (SELECT CASE \
382 # WHEN resolved = 'epoch' THEN 'open' \
383 # ELSE 'resolved' END AS type \
384 # FROM tickets) type \
388 # InstancePrefix "rt36_tickets"
389 # InstancesFrom "type"
399 # KRBSrvName "kerberos_service_name"
403 # Service "service_name"
404 # Query backend # predefined
410 # <Server "server_name">
412 # Collect "udp-answers" "udp-queries"
413 # Socket "/var/run/pdns.controlsocket"
415 # <Recursor "recursor_name">
416 # Collect "questions"
417 # Collect "cache-hits" "cache-misses"
418 # Socket "/var/run/pdns_recursor.controlsocket"
420 # LocalSocket "/opt/collectd/var/run/collectd-powerdns"
428 # DaemonAddress "unix:/tmp/rrdcached.sock"
429 # DataDir "@prefix@/var/lib/@PACKAGE_NAME@/rrd"
431 # CollectStatistics true
435 # DataDir "@prefix@/var/lib/@PACKAGE_NAME@/rrd"
441 # Sensor "it8712-isa-0290/temperature-temp1"
442 # Sensor "it8712-isa-0290/fanspeed-fan3"
443 # Sensor "it8712-isa-0290/voltage-in8"
444 # IgnoreSelected false
448 # <Data "powerplus_voltge_input">
451 # Instance "input_line1"
452 # Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
458 # Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
460 # <Data "std_traffic">
463 # Instance "IF-MIB::ifDescr"
464 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
467 # <Host "some.switch.mydomain.org">
468 # Address "192.168.0.2"
470 # Community "community_string"
471 # Collect "std_traffic"
474 # <Host "some.server.mydomain.org">
475 # Address "192.168.0.42"
477 # Community "another_string"
478 # Collect "std_traffic" "hr_users"
480 # <Host "some.ups.mydomain.org">
481 # Address "192.168.0.3"
483 # Community "more_communities"
484 # Collect "powerplus_voltge_input"
490 # <File "/var/log/exim4/mainlog">
493 # Regex "S=([1-9][0-9]*)"
494 # DSType "CounterAdd"
499 # Regex "\\<R=local_user\\>"
500 # DSType "CounterInc"
502 # Instance "local_user"
508 # ListeningPorts false
520 # ForceUseProcfs false
522 # IgnoreSelected false
526 # SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
527 # SocketGroup "collectd"
532 # UUIDFile "/etc/uuid"
539 # * * * * * * * * * * * * *
540 # * FILTER CONFIGURATION *
541 # * * * * * * * * * * * * *
543 # The following configures collectd's filtering mechanism. Before changing
544 # anything in this section, please read the `FILTER CONFIGURATION' section in
545 # the collectd.conf(5) manual page.
547 # Load required matches:
548 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
549 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
550 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
552 # Load required targets:
553 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
554 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
555 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
557 # The following block demonstrates the default behavior if no filtering is
558 # configured at all: All values will be sent to all available write plugins.