1 #
2 # Config file for collectd(1).
3 # Please read collectd.conf(5) for a list of options.
4 # http://collectd.org/
5 #
7 ##############################################################################
8 # Global #
9 #----------------------------------------------------------------------------#
10 # Global settings for the daemon. #
11 ##############################################################################
13 #Hostname "localhost"
14 #FQDNLookup true
15 #BaseDir "@localstatedir@/lib/@PACKAGE_NAME@"
16 #PIDFile "@localstatedir@/run/@PACKAGE_NAME@.pid"
17 #PluginDir "@libdir@/@PACKAGE_NAME@"
18 #TypesDB "@prefix@/share/@PACKAGE_NAME@/types.db"
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
27 #----------------------------------------------------------------------------#
28 # Interval at which to query values. This may be overwritten on a per-plugin #
29 # base by using the 'Interval' option of the LoadPlugin block: #
30 # <LoadPlugin foo> #
31 # Interval 60 #
32 # </LoadPlugin> #
33 #----------------------------------------------------------------------------#
34 #Interval 10
36 #Timeout 2
37 #ReadThreads 5
38 #WriteThreads 5
40 # Limit the size of the write queue. Default is no limit. Setting up a limit is
41 # recommended for servers handling a high volume of traffic.
42 #WriteQueueLimitHigh 1000000
43 #WriteQueueLimitLow 800000
45 ##############################################################################
46 # Logging #
47 #----------------------------------------------------------------------------#
48 # Plugins which provide logging functions should be loaded first, so log #
49 # messages generated when loading or configuring other plugins can be #
50 # accessed. #
51 ##############################################################################
53 @LOAD_PLUGIN_SYSLOG@LoadPlugin syslog
54 @LOAD_PLUGIN_LOGFILE@LoadPlugin logfile
56 #<Plugin logfile>
57 # LogLevel @DEFAULT_LOG_LEVEL@
58 # File STDOUT
59 # Timestamp true
60 # PrintSeverity false
61 #</Plugin>
63 #<Plugin syslog>
64 # LogLevel @DEFAULT_LOG_LEVEL@
65 #</Plugin>
67 ##############################################################################
68 # LoadPlugin section #
69 #----------------------------------------------------------------------------#
70 # Lines beginning with a single `#' belong to plugins which have been built #
71 # but are disabled by default. #
72 # #
73 # Lines begnning with `##' belong to plugins which have not been built due #
74 # to missing dependencies or because they have been deactivated explicitly. #
75 ##############################################################################
77 #@BUILD_PLUGIN_AGGREGATION_TRUE@LoadPlugin aggregation
78 #@BUILD_PLUGIN_AMQP_TRUE@LoadPlugin amqp
79 #@BUILD_PLUGIN_APACHE_TRUE@LoadPlugin apache
80 #@BUILD_PLUGIN_APCUPS_TRUE@LoadPlugin apcups
81 #@BUILD_PLUGIN_APPLE_SENSORS_TRUE@LoadPlugin apple_sensors
82 #@BUILD_PLUGIN_AQUAERO_TRUE@LoadPlugin aquaero
83 #@BUILD_PLUGIN_ASCENT_TRUE@LoadPlugin ascent
84 #@BUILD_PLUGIN_BATTERY_TRUE@LoadPlugin battery
85 #@BUILD_PLUGIN_BIND_TRUE@LoadPlugin bind
86 #@BUILD_PLUGIN_CONNTRACK_TRUE@LoadPlugin conntrack
87 #@BUILD_PLUGIN_CONTEXTSWITCH_TRUE@LoadPlugin contextswitch
88 #@BUILD_PLUGIN_CGROUPS_TRUE@LoadPlugin cgroups
89 @BUILD_PLUGIN_CPU_TRUE@@BUILD_PLUGIN_CPU_TRUE@LoadPlugin cpu
90 #@BUILD_PLUGIN_CPUFREQ_TRUE@LoadPlugin cpufreq
91 @LOAD_PLUGIN_CSV@LoadPlugin csv
92 #@BUILD_PLUGIN_CURL_TRUE@LoadPlugin curl
93 #@BUILD_PLUGIN_CURL_JSON_TRUE@LoadPlugin curl_json
94 #@BUILD_PLUGIN_CURL_XML_TRUE@LoadPlugin curl_xml
95 #@BUILD_PLUGIN_DBI_TRUE@LoadPlugin dbi
96 #@BUILD_PLUGIN_DF_TRUE@LoadPlugin df
97 #@BUILD_PLUGIN_DISK_TRUE@LoadPlugin disk
98 #@BUILD_PLUGIN_DNS_TRUE@LoadPlugin dns
99 #@BUILD_PLUGIN_EMAIL_TRUE@LoadPlugin email
100 #@BUILD_PLUGIN_ENTROPY_TRUE@LoadPlugin entropy
101 #@BUILD_PLUGIN_ETHSTAT_TRUE@LoadPlugin ethstat
102 #@BUILD_PLUGIN_EXEC_TRUE@LoadPlugin exec
103 #@BUILD_PLUGIN_FILECOUNT_TRUE@LoadPlugin filecount
104 #@BUILD_PLUGIN_FSCACHE_TRUE@LoadPlugin fscache
105 #@BUILD_PLUGIN_GMOND_TRUE@LoadPlugin gmond
106 #@BUILD_PLUGIN_HDDTEMP_TRUE@LoadPlugin hddtemp
107 @BUILD_PLUGIN_INTERFACE_TRUE@@BUILD_PLUGIN_INTERFACE_TRUE@LoadPlugin interface
108 #@BUILD_PLUGIN_IPTABLES_TRUE@LoadPlugin iptables
109 #@BUILD_PLUGIN_IPMI_TRUE@LoadPlugin ipmi
110 #@BUILD_PLUGIN_IPVS_TRUE@LoadPlugin ipvs
111 #@BUILD_PLUGIN_IRQ_TRUE@LoadPlugin irq
112 #@BUILD_PLUGIN_JAVA_TRUE@LoadPlugin java
113 #@BUILD_PLUGIN_LIBVIRT_TRUE@LoadPlugin libvirt
114 @BUILD_PLUGIN_LOAD_TRUE@@BUILD_PLUGIN_LOAD_TRUE@LoadPlugin load
115 #@BUILD_PLUGIN_LPAR_TRUE@LoadPlugin lpar
116 #@BUILD_PLUGIN_LVM_TRUE@LoadPlugin lvm
117 #@BUILD_PLUGIN_MADWIFI_TRUE@LoadPlugin madwifi
118 #@BUILD_PLUGIN_MBMON_TRUE@LoadPlugin mbmon
119 #@BUILD_PLUGIN_MD_TRUE@LoadPlugin md
120 #@BUILD_PLUGIN_MEMCACHEC_TRUE@LoadPlugin memcachec
121 #@BUILD_PLUGIN_MEMCACHED_TRUE@LoadPlugin memcached
122 @BUILD_PLUGIN_MEMORY_TRUE@@BUILD_PLUGIN_MEMORY_TRUE@LoadPlugin memory
123 #@BUILD_PLUGIN_MODBUS_TRUE@LoadPlugin modbus
124 #@BUILD_PLUGIN_MULTIMETER_TRUE@LoadPlugin multimeter
125 #@BUILD_PLUGIN_MYSQL_TRUE@LoadPlugin mysql
126 #@BUILD_PLUGIN_NETAPP_TRUE@LoadPlugin netapp
127 #@BUILD_PLUGIN_NETLINK_TRUE@LoadPlugin netlink
128 @LOAD_PLUGIN_NETWORK@LoadPlugin network
129 #@BUILD_PLUGIN_NFS_TRUE@LoadPlugin nfs
130 #@BUILD_PLUGIN_NGINX_TRUE@LoadPlugin nginx
131 #@BUILD_PLUGIN_NOTIFY_DESKTOP_TRUE@LoadPlugin notify_desktop
132 #@BUILD_PLUGIN_NOTIFY_EMAIL_TRUE@LoadPlugin notify_email
133 #@BUILD_PLUGIN_NTPD_TRUE@LoadPlugin ntpd
134 #@BUILD_PLUGIN_NUMA_TRUE@LoadPlugin numa
135 #@BUILD_PLUGIN_NUT_TRUE@LoadPlugin nut
136 #@BUILD_PLUGIN_OLSRD_TRUE@LoadPlugin olsrd
137 #@BUILD_PLUGIN_ONEWIRE_TRUE@LoadPlugin onewire
138 #@BUILD_PLUGIN_OPENVPN_TRUE@LoadPlugin openvpn
139 #@BUILD_PLUGIN_ORACLE_TRUE@LoadPlugin oracle
140 #@BUILD_PLUGIN_PERL_TRUE@<LoadPlugin perl>
141 #@BUILD_PLUGIN_PERL_TRUE@ Globals true
142 #@BUILD_PLUGIN_PERL_TRUE@</LoadPlugin>
143 #@BUILD_PLUGIN_PINBA_TRUE@LoadPlugin pinba
144 #@BUILD_PLUGIN_PING_TRUE@LoadPlugin ping
145 #@BUILD_PLUGIN_POSTGRESQL_TRUE@LoadPlugin postgresql
146 #@BUILD_PLUGIN_POWERDNS_TRUE@LoadPlugin powerdns
147 #@BUILD_PLUGIN_PROCESSES_TRUE@LoadPlugin processes
148 #@BUILD_PLUGIN_PROTOCOLS_TRUE@LoadPlugin protocols
149 #@BUILD_PLUGIN_PYTHON_TRUE@<LoadPlugin python>
150 #@BUILD_PLUGIN_PYTHON_TRUE@ Globals true
151 #@BUILD_PLUGIN_PYTHON_TRUE@</LoadPlugin>
152 #@BUILD_PLUGIN_REDIS_TRUE@LoadPlugin redis
153 #@BUILD_PLUGIN_ROUTEROS_TRUE@LoadPlugin routeros
154 #@BUILD_PLUGIN_RRDCACHED_TRUE@LoadPlugin rrdcached
155 @LOAD_PLUGIN_RRDTOOL@LoadPlugin rrdtool
156 #@BUILD_PLUGIN_SENSORS_TRUE@LoadPlugin sensors
157 #@BUILD_PLUGIN_SERIAL_TRUE@LoadPlugin serial
158 #@BUILD_PLUGIN_SIGROK_TRUE@LoadPlugin sigrok
159 #@BUILD_PLUGIN_SNMP_TRUE@LoadPlugin snmp
160 #@BUILD_PLUGIN_STATSD_TRUE@LoadPlugin statsd
161 #@BUILD_PLUGIN_SWAP_TRUE@LoadPlugin swap
162 #@BUILD_PLUGIN_TABLE_TRUE@LoadPlugin table
163 #@BUILD_PLUGIN_TAIL_TRUE@LoadPlugin tail
164 #@BUILD_PLUGIN_TAIL_CSV_TRUE@LoadPlugin tail_csv
165 #@BUILD_PLUGIN_TAPE_TRUE@LoadPlugin tape
166 #@BUILD_PLUGIN_TCPCONNS_TRUE@LoadPlugin tcpconns
167 #@BUILD_PLUGIN_TEAMSPEAK2_TRUE@LoadPlugin teamspeak2
168 #@BUILD_PLUGIN_TED_TRUE@LoadPlugin ted
169 #@BUILD_PLUGIN_THERMAL_TRUE@LoadPlugin thermal
170 #@BUILD_PLUGIN_TOKYOTYRANT_TRUE@LoadPlugin tokyotyrant
171 #@BUILD_PLUGIN_UNIXSOCK_TRUE@LoadPlugin unixsock
172 #@BUILD_PLUGIN_UPTIME_TRUE@LoadPlugin uptime
173 #@BUILD_PLUGIN_USERS_TRUE@LoadPlugin users
174 #@BUILD_PLUGIN_UUID_TRUE@LoadPlugin uuid
175 #@BUILD_PLUGIN_VARNISH_TRUE@LoadPlugin varnish
176 #@BUILD_PLUGIN_MIC_TRUE@LoadPlugin mic
177 #@BUILD_PLUGIN_VMEM_TRUE@LoadPlugin vmem
178 #@BUILD_PLUGIN_VSERVER_TRUE@LoadPlugin vserver
179 #@BUILD_PLUGIN_WIRELESS_TRUE@LoadPlugin wireless
180 #@BUILD_PLUGIN_WRITE_GRAPHITE_TRUE@LoadPlugin write_graphite
181 #@BUILD_PLUGIN_WRITE_HTTP_TRUE@LoadPlugin write_http
182 #@BUILD_PLUGIN_WRITE_MONGODB_TRUE@LoadPlugin write_mongodb
183 #@BUILD_PLUGIN_WRITE_REDIS_TRUE@LoadPlugin write_redis
184 #@BUILD_PLUGIN_WRITE_RIEMANN_TRUE@LoadPlugin write_riemann
185 #@BUILD_PLUGIN_XMMS_TRUE@LoadPlugin xmms
186 #@BUILD_PLUGIN_ZFS_ARC_TRUE@LoadPlugin zfs_arc
188 ##############################################################################
189 # Plugin configuration #
190 #----------------------------------------------------------------------------#
191 # In this section configuration stubs for each plugin are provided. A desc- #
192 # ription of those options is available in the collectd.conf(5) manual page. #
193 ##############################################################################
195 #<Plugin "aggregation">
196 # <Aggregation>
197 # #Host "unspecified"
198 # Plugin "cpu"
199 # #PluginInstance "unspecified"
200 # Type "cpu"
201 # #TypeInstance "unspecified"
202 #
203 # GroupBy "Host"
204 # GroupBy "TypeInstance"
205 #
206 # CalculateNum false
207 # CalculateSum false
208 # CalculateAverage true
209 # CalculateMinimum false
210 # CalculateMaximum false
211 # CalculateStddev false
212 # </Aggregation>
213 #</Plugin>
215 #<Plugin "amqp">
216 # <Publish "name">
217 # Host "localhost"
218 # Port "5672"
219 # VHost "/"
220 # User "guest"
221 # Password "guest"
222 # Exchange "amq.fanout"
223 # RoutingKey "collectd"
224 # Persistent false
225 # StoreRates false
226 # </Publish>
227 #</Plugin>
229 #<Plugin apache>
230 # <Instance "local">
231 # URL "http://localhost/status?auto"
232 # User "www-user"
233 # Password "secret"
234 # CACert "/etc/ssl/ca.crt"
235 # </Instance>
236 #</Plugin>
238 #<Plugin apcups>
239 # Host "localhost"
240 # Port "3551"
241 # ReportSeconds true
242 #</Plugin>
244 #<Plugin aquaero>
245 # Device ""
246 #</Plugin>
248 #<Plugin ascent>
249 # URL "http://localhost/ascent/status/"
250 # User "www-user"
251 # Password "secret"
252 # CACert "/etc/ssl/ca.crt"
253 #</Plugin>
255 #<Plugin "bind">
256 # URL "http://localhost:8053/"
257 # ParseTime false
258 # OpCodes true
259 # QTypes true
260 #
261 # ServerStats true
262 # ZoneMaintStats true
263 # ResolverStats false
264 # MemoryStats true
265 #
266 # <View "_default">
267 # QTypes true
268 # ResolverStats true
269 # CacheRRSets true
270 #
271 # Zone "127.in-addr.arpa/IN"
272 # </View>
273 #</Plugin>
275 #<Plugin cgroup>
276 # CGroup "libvirt"
277 # IgnoreSelected false
278 #</Plugin>
280 #<Plugin csv>
281 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/csv"
282 # StoreRates false
283 #</Plugin>
285 #<Plugin curl>
286 # <Page "stock_quotes">
287 # URL "http://finance.google.com/finance?q=NYSE%3AAMD"
288 # User "foo"
289 # Password "bar"
290 # MeasureResponseTime false
291 # <Match>
292 # Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
293 # DSType "GaugeAverage"
294 # Type "stock_value"
295 # Instance "AMD"
296 # </Match>
297 # </Page>
298 #</Plugin>
300 #<Plugin curl_json>
301 ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
302 # <URL "http://localhost:5984/_stats">
303 # Instance "httpd"
304 # <Key "httpd/requests/count">
305 # Type "http_requests"
306 # </Key>
307 #
308 # <Key "httpd_request_methods/*/count">
309 # Type "http_request_methods"
310 # </Key>
311 #
312 # <Key "httpd_status_codes/*/count">
313 # Type "http_response_codes"
314 # </Key>
315 # </URL>
316 ## Database status metrics:
317 # <URL "http://localhost:5984/_all_dbs">
318 # Instance "dbs"
319 # <Key "*/doc_count">
320 # Type "gauge"
321 # </Key>
322 # <Key "*/doc_del_count">
323 # Type "counter"
324 # </Key>
325 # <Key "*/disk_size">
326 # Type "bytes"
327 # </Key>
328 # </URL>
329 #</Plugin>
331 #<Plugin "curl_xml">
332 # <URL "http://localhost/stats.xml">
333 # Host "my_host"
334 # Instance "some_instance"
335 # User "collectd"
336 # Password "thaiNg0I"
337 # VerifyPeer true
338 # VerifyHost true
339 # CACert "/path/to/ca.crt"
340 #
341 # <XPath "table[@id=\"magic_level\"]/tr">
342 # Type "magic_level"
343 # #InstancePrefix "prefix-"
344 # InstanceFrom "td[1]"
345 # ValuesFrom "td[2]/span[@class=\"level\"]"
346 # </XPath>
347 # </URL>
348 #</Plugin>
350 #<Plugin dbi>
351 # <Query "num_of_customers">
352 # Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value FROM customers_tbl"
353 # <Result>
354 # Type "gauge"
355 # InstancesFrom "c_key"
356 # ValuesFrom "c_value"
357 # </Result>
358 # </Query>
359 # <Database "customers_db">
360 # Driver "mysql"
361 # DriverOption "host" "localhost"
362 # DriverOption "username" "collectd"
363 # DriverOption "password" "AeXohy0O"
364 # DriverOption "dbname" "custdb0"
365 # #SelectDB "custdb0"
366 # Query "num_of_customers"
367 # #Query "..."
368 # #Host "..."
369 # </Database>
370 #</Plugin>
372 #<Plugin df>
373 # Device "/dev/hda1"
374 # Device "192.168.0.2:/mnt/nfs"
375 # MountPoint "/home"
376 # FSType "ext3"
377 # IgnoreSelected false
378 # ReportByDevice false
379 # ReportReserved false
380 # ReportInodes false
381 # ValuesAbsolute true
382 # ValuesPercentage false
383 #</Plugin>
385 #<Plugin disk>
386 # Disk "/^[hs]d[a-f][0-9]?$/"
387 # IgnoreSelected false
388 #</Plugin>
390 #<Plugin dns>
391 # Interface "eth0"
392 # IgnoreSource "192.168.0.1"
393 # SelectNumericQueryTypes true
394 #</Plugin>
396 #<Plugin email>
397 # SocketFile "@localstatedir@/run/@PACKAGE_NAME@-email"
398 # SocketGroup "collectd"
399 # SocketPerms "0770"
400 # MaxConns 5
401 #</Plugin>
403 #<Plugin ethstat>
404 # Interface "eth0"
405 # Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload"
406 # Map "multicast" "if_multicast"
407 # MappedOnly false
408 #</Plugin>
410 #<Plugin exec>
411 # Exec "user:group" "/path/to/exec"
412 # NotificationExec "user:group" "/path/to/exec"
413 #</Plugin>
415 #<Plugin filecount>
416 # <Directory "/path/to/dir">
417 # Instance "foodir"
418 # Name "*.conf"
419 # MTime "-5m"
420 # Size "+10k"
421 # Recursive true
422 # IncludeHidden false
423 # </Directory>
424 #</Plugin>
426 #<Plugin "gmond">
427 # MCReceiveFrom "239.2.11.71" "8649"
428 # <Metric "swap_total">
429 # Type "swap"
430 # TypeInstance "total"
431 # DataSource "value"
432 # </Metric>
433 # <Metric "swap_free">
434 # Type "swap"
435 # TypeInstance "free"
436 # DataSource "value"
437 # </Metric>
438 #</Plugin>
440 #<Plugin hddtemp>
441 # Host "127.0.0.1"
442 # Port "7634"
443 #</Plugin>
445 #<Plugin interface>
446 # Interface "eth0"
447 # IgnoreSelected false
448 #</Plugin>
450 #<Plugin ipmi>
451 # Sensor "some_sensor"
452 # Sensor "another_one"
453 # IgnoreSelected false
454 # NotifySensorAdd false
455 # NotifySensorRemove true
456 # NotifySensorNotPresent false
457 #</Plugin>
459 #<Plugin iptables>
460 # Chain table chain
461 #</Plugin>
463 #<Plugin irq>
464 # Irq 7
465 # Irq 8
466 # Irq 9
467 # IgnoreSelected true
468 #</Plugin>
470 #<Plugin "java">
471 # JVMArg "-verbose:jni"
472 # JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
473 #
474 # LoadPlugin "org.collectd.java.Foobar"
475 # <Plugin "org.collectd.java.Foobar">
476 # # To be parsed by the plugin
477 # </Plugin>
478 #</Plugin>
480 #<Plugin libvirt>
481 # Connection "xen:///"
482 # RefreshInterval 60
483 # Domain "name"
484 # BlockDevice "name:device"
485 # InterfaceDevice "name:device"
486 # IgnoreSelected false
487 # HostnameFormat name
488 # InterfaceFormat name
489 #</Plugin>
491 #<Plugin load>
492 # ReportRelative true
493 #</Plugin>
495 #<Plugin lpar>
496 # CpuPoolStats false
497 # ReportBySerial false
498 #</Plugin>
500 #<Plugin madwifi>
501 # Interface "wlan0"
502 # IgnoreSelected false
503 # Source "SysFS"
504 # WatchSet "None"
505 # WatchAdd "node_octets"
506 # WatchAdd "node_rssi"
507 # WatchAdd "is_rx_acl"
508 # WatchAdd "is_scan_active"
509 #</Plugin>
511 #<Plugin mbmon>
512 # Host "127.0.0.1"
513 # Port "411"
514 #</Plugin>
516 #<Plugin md>
517 # Device "/dev/md0"
518 # IgnoreSelected false
519 #</Plugin>
521 #<Plugin memcachec>
522 # <Page "plugin_instance">
523 # Server "localhost"
524 # Key "page_key"
525 # <Match>
526 # Regex "(\\d+) bytes sent"
527 # ExcludeRegex "<lines to be excluded>"
528 # DSType CounterAdd
529 # Type "ipt_octets"
530 # Instance "type_instance"
531 # </Match>
532 # </Page>
533 #</Plugin>
535 #<Plugin memcached>
536 # <Instance "local">
537 # Host "127.0.0.1"
538 # Port "11211"
539 # </Instance>
540 #</Plugin>
542 #<Plugin memory>
543 # ValuesAbsolute true
544 # ValuesPercentage false
545 #</Plugin>
547 #<Plugin modbus>
548 # <Data "data_name">
549 # RegisterBase 1234
550 # RegisterType float
551 # Type gauge
552 # Instance "..."
553 # </Data>
554 #
555 # <Host "name">
556 # Address "addr"
557 # Port "1234"
558 # Interval 60
559 #
560 # <Slave 1>
561 # Instance "foobar" # optional
562 # Collect "data_name"
563 # </Slave>
564 # </Host>
565 #</Plugin>
567 #<Plugin mysql>
568 # <Database db_name>
569 # Host "database.serv.er"
570 # User "db_user"
571 # Password "secret"
572 # Database "db_name"
573 # MasterStats true
574 # </Database>
575 #
576 # <Database db_name2>
577 # Host "localhost"
578 # Socket "/var/run/mysql/mysqld.sock"
579 # SlaveStats true
580 # SlaveNotifications true
581 # </Database>
582 #</Plugin>
584 #<Plugin netapp>
585 # <Host "netapp1.example.com">
586 # Protocol "https"
587 # Address "10.0.0.1"
588 # Port 443
589 # User "username"
590 # Password "aef4Aebe"
591 # Interval 30
592 #
593 # <WAFL>
594 # Interval 30
595 # GetNameCache true
596 # GetDirCache true
597 # GetBufferCache true
598 # GetInodeCache true
599 # </WAFL>
600 #
601 # <Disks>
602 # Interval 30
603 # GetBusy true
604 # </Disks>
605 #
606 # <VolumePerf>
607 # Interval 30
608 # GetIO "volume0"
609 # IgnoreSelectedIO false
610 # GetOps "volume0"
611 # IgnoreSelectedOps false
612 # GetLatency "volume0"
613 # IgnoreSelectedLatency false
614 # </VolumePerf>
615 #
616 # <VolumeUsage>
617 # Interval 30
618 # GetCapacity "vol0"
619 # GetCapacity "vol1"
620 # IgnoreSelectedCapacity false
621 # GetSnapshot "vol1"
622 # GetSnapshot "vol3"
623 # IgnoreSelectedSnapshot false
624 # </VolumeUsage>
625 #
626 # <System>
627 # Interval 30
628 # GetCPULoad true
629 # GetInterfaces true
630 # GetDiskOps true
631 # GetDiskIO true
632 # </System>
633 # </Host>
634 #</Plugin>
636 #<Plugin netlink>
637 # Interface "All"
638 # VerboseInterface "All"
639 # QDisc "eth0" "pfifo_fast-1:0"
640 # Class "ppp0" "htb-1:10"
641 # Filter "ppp0" "u32-1:0"
642 # IgnoreSelected false
643 #</Plugin>
645 @LOAD_PLUGIN_NETWORK@<Plugin network>
646 # # client setup:
647 @LOAD_PLUGIN_NETWORK@ Server "ff18::efc0:4a42" "25826"
648 @LOAD_PLUGIN_NETWORK@ <Server "239.192.74.66" "25826">
649 # SecurityLevel Encrypt
650 # Username "user"
651 # Password "secret"
652 # Interface "eth0"
653 @LOAD_PLUGIN_NETWORK@ </Server>
654 # TimeToLive "128"
655 #
656 # # server setup:
657 # Listen "ff18::efc0:4a42" "25826"
658 # <Listen "239.192.74.66" "25826">
659 # SecurityLevel Sign
660 # AuthFile "/etc/collectd/passwd"
661 # Interface "eth0"
662 # </Listen>
663 # MaxPacketSize 1024
664 #
665 # # proxy setup (client and server as above):
666 # Forward true
667 #
668 # # statistics about the network plugin itself
669 # ReportStats false
670 #
671 # # "garbage collection"
672 # CacheFlush 1800
673 @LOAD_PLUGIN_NETWORK@</Plugin>
675 #<Plugin nginx>
676 # URL "http://localhost/status?auto"
677 # User "www-user"
678 # Password "secret"
679 # CACert "/etc/ssl/ca.crt"
680 #</Plugin>
682 #<Plugin notify_desktop>
683 # OkayTimeout 1000
684 # WarningTimeout 5000
685 # FailureTimeout 0
686 #</Plugin>
688 #<Plugin notify_email>
689 # SMTPServer "localhost"
690 # SMTPPort 25
691 # SMTPUser "my-username"
692 # SMTPPassword "my-password"
693 # From "collectd@main0server.com"
694 # # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
695 # Subject "Aaaaaa!! %s on %s!!!!!"
696 # Recipient "email1@domain1.net"
697 # Recipient "email2@domain2.com"
698 #</Plugin>
700 #<Plugin ntpd>
701 # Host "localhost"
702 # Port 123
703 # ReverseLookups false
704 # IncludeUnitID true
705 #</Plugin>
707 #<Plugin nut>
708 # UPS "upsname@hostname:port"
709 #</Plugin>
711 #<Plugin olsrd>
712 # Host "127.0.0.1"
713 # Port "2006"
714 # CollectLinks "Summary"
715 # CollectRoutes "Summary"
716 # CollectTopology "Summary"
717 #</Plugin>
719 #<Plugin onewire>
720 # Device "-s localhost:4304"
721 # Sensor "F10FCA000800"
722 # IgnoreSelected false
723 #</Plugin>
725 #<Plugin openvpn>
726 # StatusFile "/etc/openvpn/openvpn-status.log"
727 # ImprovedNamingSchema false
728 # CollectCompression true
729 # CollectIndividualUsers true
730 # CollectUserCount false
731 #</Plugin>
733 #<Plugin oracle>
734 # <Query "out_of_stock">
735 # Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
736 # <Result>
737 # Type "gauge"
738 # InstancesFrom "category"
739 # ValuesFrom "value"
740 # </Result>
741 # </Query>
742 # <Database "product_information">
743 # ConnectID "db01"
744 # Username "oracle"
745 # Password "secret"
746 # Query "out_of_stock"
747 # </Database>
748 #</Plugin>
750 #<Plugin perl>
751 # IncludeDir "/my/include/path"
752 # BaseName "Collectd::Plugins"
753 # EnableDebugger ""
754 # LoadPlugin Monitorus
755 # LoadPlugin OpenVZ
756 #
757 # <Plugin foo>
758 # Foo "Bar"
759 # Qux "Baz"
760 # </Plugin>
761 #</Plugin>
763 #<Plugin pinba>
764 # Address "::0"
765 # Port "30002"
766 # <View "name">
767 # Host "host name"
768 # Server "server name"
769 # Script "script name"
770 # </View>
771 #</Plugin>
773 #<Plugin ping>
774 # Host "host.foo.bar"
775 # Interval 1.0
776 # Timeout 0.9
777 # TTL 255
778 # SourceAddress "1.2.3.4"
779 # Device "eth0"
780 # MaxMissed -1
781 #</Plugin>
783 #<Plugin postgresql>
784 # <Query magic>
785 # Statement "SELECT magic FROM wizard WHERE host = $1;"
786 # Param hostname
787 # <Result>
788 # Type gauge
789 # InstancePrefix "magic"
790 # ValuesFrom magic
791 # </Result>
792 # </Query>
793 # <Query rt36_tickets>
794 # Statement "SELECT COUNT(type) AS count, type \
795 # FROM (SELECT CASE \
796 # WHEN resolved = 'epoch' THEN 'open' \
797 # ELSE 'resolved' END AS type \
798 # FROM tickets) type \
799 # GROUP BY type;"
800 # <Result>
801 # Type counter
802 # InstancePrefix "rt36_tickets"
803 # InstancesFrom "type"
804 # ValuesFrom "count"
805 # </Result>
806 # </Query>
807 # <Writer sqlstore>
808 # # See contrib/postgresql/collectd_insert.sql for details
809 # Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
810 # StoreRates true
811 # </Writer>
812 # <Database foo>
813 # Host "hostname"
814 # Port "5432"
815 # User "username"
816 # Password "secret"
817 # SSLMode "prefer"
818 # KRBSrvName "kerberos_service_name"
819 # Query magic
820 # </Database>
821 # <Database bar>
822 # Interval 60
823 # Service "service_name"
824 # Query backend # predefined
825 # Query rt36_tickets
826 # </Database>
827 # <Database qux>
828 # Service "collectd_store"
829 # Writer sqlstore
830 # # see collectd.conf(5) for details
831 # CommitInterval 30
832 # </Database>
833 #</Plugin>
835 #<Plugin powerdns>
836 # <Server "server_name">
837 # Collect "latency"
838 # Collect "udp-answers" "udp-queries"
839 # Socket "/var/run/pdns.controlsocket"
840 # </Server>
841 # <Recursor "recursor_name">
842 # Collect "questions"
843 # Collect "cache-hits" "cache-misses"
844 # Socket "/var/run/pdns_recursor.controlsocket"
845 # </Recursor>
846 # LocalSocket "/opt/collectd/var/run/collectd-powerdns"
847 #</Plugin>
849 #<Plugin processes>
850 # Process "name"
851 #</Plugin>
853 #<Plugin protocols>
854 # Value "/^Tcp:/"
855 # IgnoreSelected false
856 #</Plugin>
858 #<Plugin python>
859 # ModulePath "/path/to/your/python/modules"
860 # LogTraces true
861 # Interactive true
862 # Import "spam"
863 #
864 # <Module spam>
865 # spam "wonderful" "lovely"
866 # </Module>
867 #</Plugin>
869 #<Plugin redis>
870 # <Node example>
871 # Host "redis.example.com"
872 # Port "6379"
873 # Timeout 2000
874 # </Node>
875 #</Plugin>
877 #<Plugin routeros>
878 # <Router>
879 # Host "router.example.com"
880 # Port "8728"
881 # User "admin"
882 # Password "dozaiTh4"
883 # CollectInterface true
884 # CollectRegistrationTable true
885 # CollectCPULoad true
886 # CollectMemory true
887 # CollectDF true
888 # CollectDisk true
889 # </Router>
890 #</Plugin>
892 #<Plugin rrdcached>
893 # DaemonAddress "unix:/tmp/rrdcached.sock"
894 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
895 # CreateFiles true
896 # CreateFilesAsync false
897 # CollectStatistics true
898 #</Plugin>
900 #<Plugin rrdtool>
901 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
902 # CreateFilesAsync false
903 # CacheTimeout 120
904 # CacheFlush 900
905 # WritesPerSecond 50
906 #</Plugin>
908 #<Plugin sensors>
909 # SensorConfigFile "/etc/sensors.conf"
910 # Sensor "it8712-isa-0290/temperature-temp1"
911 # Sensor "it8712-isa-0290/fanspeed-fan3"
912 # Sensor "it8712-isa-0290/voltage-in8"
913 # IgnoreSelected false
914 #</Plugin>
916 #<Plugin sigrok>
917 # LogLevel 3
918 # <Device "AC Voltage">
919 # Driver "fluke-dmm"
920 # MinimumInterval 10
921 # Conn "/dev/ttyUSB2"
922 # </Device>
923 # <Device "Sound Level">
924 # Driver "cem-dt-885x"
925 # Conn "/dev/ttyUSB1"
926 # </Device>
927 #</Plugin>
929 #<Plugin snmp>
930 # <Data "powerplus_voltge_input">
931 # Type "voltage"
932 # Table false
933 # Instance "input_line1"
934 # Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
935 # </Data>
936 # <Data "hr_users">
937 # Type "users"
938 # Table false
939 # Instance ""
940 # Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
941 # </Data>
942 # <Data "std_traffic">
943 # Type "if_octets"
944 # Table true
945 # Instance "IF-MIB::ifDescr"
946 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
947 # </Data>
948 #
949 # <Host "some.switch.mydomain.org">
950 # Address "192.168.0.2"
951 # Version 1
952 # Community "community_string"
953 # Collect "std_traffic"
954 # Interval 120
955 # </Host>
956 # <Host "some.server.mydomain.org">
957 # Address "192.168.0.42"
958 # Version 2
959 # Community "another_string"
960 # Collect "std_traffic" "hr_users"
961 # </Host>
962 # <Host "some.ups.mydomain.org">
963 # Address "192.168.0.3"
964 # Version 1
965 # Community "more_communities"
966 # Collect "powerplus_voltge_input"
967 # Interval 300
968 # </Host>
969 #</Plugin>
971 #<Plugin statsd>
972 # Host "::"
973 # Port "8125"
974 # DeleteCounters false
975 # DeleteTimers false
976 # DeleteGauges false
977 # DeleteSets false
978 # TimerPercentile 90.0
979 #</Plugin>
981 #<Plugin "swap">
982 # ReportByDevice false
983 # ReportBytes true
984 # ValuesAbsolute true
985 # ValuesPercentage false
986 #</Plugin>
988 #<Plugin "table">
989 # <Table "/proc/slabinfo">
990 # Instance "slabinfo"
991 # Separator " "
992 # <Result>
993 # Type gauge
994 # InstancePrefix "active_objs"
995 # InstancesFrom 0
996 # ValuesFrom 1
997 # </Result>
998 # <Result>
999 # Type gauge
1000 # InstancePrefix "objperslab"
1001 # InstancesFrom 0
1002 # ValuesFrom 4
1003 # </Result>
1004 # </Table>
1005 #</Plugin>
1007 #<Plugin "tail">
1008 # <File "/var/log/exim4/mainlog">
1009 # Instance "exim"
1010 # Interval 60
1011 # <Match>
1012 # Regex "S=([1-9][0-9]*)"
1013 # DSType "CounterAdd"
1014 # Type "ipt_bytes"
1015 # Instance "total"
1016 # </Match>
1017 # <Match>
1018 # Regex "\\<R=local_user\\>"
1019 # ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
1020 # DSType "CounterInc"
1021 # Type "counter"
1022 # Instance "local_user"
1023 # </Match>
1024 # </File>
1025 #</Plugin>
1027 #<Plugin "tail_csv">
1028 # <Metric "dropped">
1029 # Type "percent"
1030 # Instance "dropped"
1031 # ValueFrom 1
1032 # </Metric>
1033 # <Metric "mbps">
1034 # Type "bytes"
1035 # Instance "wire-realtime"
1036 # ValueFrom 2
1037 # </Metric>
1038 # <Metric "alerts">
1039 # Type "alerts_per_second"
1040 # ValueFrom 3
1041 # </Metric>
1042 # <Metric "kpps">
1043 # Type "kpackets_wire_per_sec.realtime"
1044 # ValueFrom 4
1045 # </Metric>
1046 # <File "/var/log/snort/snort.stats">
1047 # Instance "snort-eth0"
1048 # Interval 600
1049 # Collect "dropped" "mbps" "alerts" "kpps"
1050 # TimeFrom 0
1051 # </File>
1052 #</Plugin>
1054 #<Plugin tcpconns>
1055 # ListeningPorts false
1056 # LocalPort "25"
1057 # RemotePort "25"
1058 #</Plugin>
1060 #<Plugin teamspeak2>
1061 # Host "127.0.0.1"
1062 # Port "51234"
1063 # Server "8767"
1064 #</Plugin>
1066 #<Plugin ted>
1067 # Device "/dev/ttyUSB0"
1068 # Retries 0
1069 #</Plugin>
1071 #<Plugin thermal>
1072 # ForceUseProcfs false
1073 # Device "THRM"
1074 # IgnoreSelected false
1075 #</Plugin>
1077 #<Plugin tokyotyrant>
1078 # Host "localhost"
1079 # Port "1978"
1080 #</Plugin>
1082 #<Plugin unixsock>
1083 # SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
1084 # SocketGroup "collectd"
1085 # SocketPerms "0660"
1086 # DeleteSocket false
1087 #</Plugin>
1089 #<Plugin uuid>
1090 # UUIDFile "/etc/uuid"
1091 #</Plugin>
1093 #<Plugin mic>
1094 # ShowCPU true
1095 # ShowCPUCores true
1096 # ShowMemory true
1097 # ShowTemperatures true
1098 ## Temperature Sensors can be ignored/shown by repeated #Temperature lines, and
1099 ## then inverted with a IgnoreSelectedTemperature.
1100 ## Known Temperature sensors: die, devmem, fin, fout, vccp, vddg, vddq
1101 # Temperature vddg
1102 # IgnoreSelectedTemperature true
1103 # ShowPower true
1104 ## Power Sensors can be ignored/shown by repeated #Power lines, and
1105 ## then inverted with a IgnoreSelectedTemperature.
1106 ## Known Temperature sensors: total0, total1, inst, imax, pci3, c2x3, c2x4, vccp, vddg, vddq
1107 # Power total1
1108 # IgnoreSelectedPower true
1109 #</Plugin>
1111 #<Plugin varnish>
1112 # This tag support an argument if you want to
1113 # monitor the local instance just use </Instance>
1114 # If you prefer defining another instance you can do
1115 # so by using <Instance "myinstance">
1116 # <Instance>
1117 # CollectCache true
1118 # CollectBackend true
1119 # CollectBan false # Varnish 3 only
1120 # CollectConnections true
1121 # CollectDirectorDNS false # Varnish 3 only
1122 # CollectSHM true
1123 # CollectESI false
1124 # CollectFetch false
1125 # CollectHCB false
1126 # CollectObjects false
1127 # CollectPurge false # Varnish 2 only
1128 # CollectSession false
1129 # CollectSMA false # Varnish 2 only
1130 # CollectSMS false
1131 # CollectSM false # Varnish 2 only
1132 # CollectStruct false
1133 # CollectTotals false
1134 # CollectUptime false
1135 # CollectVCL false
1136 # CollectWorkers false
1137 # </Instance>
1138 #</Plugin>
1140 #<Plugin vmem>
1141 # Verbose false
1142 #</Plugin>
1144 #<Plugin write_graphite>
1145 # <Node "example">
1146 # Host "localhost"
1147 # Port "2003"
1148 # Protocol "tcp"
1149 # LogSendErrors true
1150 # Prefix "collectd"
1151 # Postfix "collectd"
1152 # StoreRates true
1153 # AlwaysAppendDS false
1154 # EscapeCharacter "_"
1155 # </Node>
1156 #</Plugin>
1158 #<Plugin write_http>
1159 # <URL "http://example.com/collectd-post">
1160 # User "collectd"
1161 # Password "weCh3ik0"
1162 # VerifyPeer true
1163 # VerifyHost true
1164 # CACert "/etc/ssl/ca.crt"
1165 # Format "Command"
1166 # StoreRates false
1167 # </URL>
1168 #</Plugin>
1170 #<Plugin write_mongodb>
1171 # <Node "example">
1172 # Host "localhost"
1173 # Port "27017"
1174 # Timeout 1000
1175 # StoreRates false
1176 # Database "auth_db"
1177 # User "auth_user"
1178 # Password "auth_passwd"
1179 # </Node>
1180 #</Plugin>
1182 #<Plugin write_redis>
1183 # <Node "example">
1184 # Host "localhost"
1185 # Port "6379"
1186 # Timeout 1000
1187 # </Node>
1188 #</Plugin>
1190 #<Plugin write_riemann>
1191 # <Node "example">
1192 # Host "localhost"
1193 # Port 5555
1194 # Protocol UDP
1195 # StoreRates true
1196 # AlwaysAppendDS false
1197 # TTLFactor 2.0
1198 # </Node>
1199 # Tag "foobar"
1200 # Attribute "foo" "bar"
1201 #</Plugin>
1203 ##############################################################################
1204 # Filter configuration #
1205 #----------------------------------------------------------------------------#
1206 # The following configures collectd's filtering mechanism. Before changing #
1207 # anything in this section, please read the `FILTER CONFIGURATION' section #
1208 # in the collectd.conf(5) manual page. #
1209 ##############################################################################
1211 # Load required matches:
1212 #@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter
1213 #@BUILD_PLUGIN_MATCH_HASHED_TRUE@LoadPlugin match_hashed
1214 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
1215 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
1216 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
1218 # Load required targets:
1219 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
1220 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
1221 #@BUILD_PLUGIN_TARGET_SCALE_TRUE@LoadPlugin target_scale
1222 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
1223 #@BUILD_PLUGIN_TARGET_V5UPGRADE_TRUE@LoadPlugin target_v5upgrade
1225 #----------------------------------------------------------------------------#
1226 # The following block demonstrates the default behavior if no filtering is #
1227 # configured at all: All values will be sent to all available write plugins. #
1228 #----------------------------------------------------------------------------#
1230 #<Chain "PostCache">
1231 # Target "write"
1232 #</Chain>
1234 ##############################################################################
1235 # Threshold configuration #
1236 #----------------------------------------------------------------------------#
1237 # The following outlines how to configure collectd's threshold checking #
1238 # plugin. The plugin and possible configuration options are documented in #
1239 # the collectd-threshold(5) manual page. #
1240 ##############################################################################
1242 #@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin "threshold"
1243 #<Plugin "threshold">
1244 # <Type "foo">
1245 # WarningMin 0.00
1246 # WarningMax 1000.00
1247 # FailureMin 0.00
1248 # FailureMax 1200.00
1249 # Invert false
1250 # Instance "bar"
1251 # </Type>
1252 #
1253 # <Plugin "interface">
1254 # Instance "eth0"
1255 # <Type "if_octets">
1256 # FailureMax 10000000
1257 # DataSource "rx"
1258 # </Type>
1259 # </Plugin>
1260 #
1261 # <Host "hostname">
1262 # <Type "cpu">
1263 # Instance "idle"
1264 # FailureMin 10
1265 # </Type>
1266 #
1267 # <Plugin "memory">
1268 # <Type "memory">
1269 # Instance "cached"
1270 # WarningMin 100000000
1271 # </Type>
1272 # </Plugin>
1273 #
1274 # <Type "load">
1275 # DataSource "midterm"
1276 # FailureMax 4
1277 # Hits 3
1278 # Hysteresis 3
1279 # </Type>
1280 # </Host>
1281 #</Plugin>