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_DRBD_TRUE@LoadPlugin drbd
100 #@BUILD_PLUGIN_EMAIL_TRUE@LoadPlugin email
101 #@BUILD_PLUGIN_ENTROPY_TRUE@LoadPlugin entropy
102 #@BUILD_PLUGIN_ETHSTAT_TRUE@LoadPlugin ethstat
103 #@BUILD_PLUGIN_EXEC_TRUE@LoadPlugin exec
104 #@BUILD_PLUGIN_FILECOUNT_TRUE@LoadPlugin filecount
105 #@BUILD_PLUGIN_FSCACHE_TRUE@LoadPlugin fscache
106 #@BUILD_PLUGIN_GMOND_TRUE@LoadPlugin gmond
107 #@BUILD_PLUGIN_HDDTEMP_TRUE@LoadPlugin hddtemp
108 @BUILD_PLUGIN_INTERFACE_TRUE@@BUILD_PLUGIN_INTERFACE_TRUE@LoadPlugin interface
109 #@BUILD_PLUGIN_IPTABLES_TRUE@LoadPlugin iptables
110 #@BUILD_PLUGIN_IPMI_TRUE@LoadPlugin ipmi
111 #@BUILD_PLUGIN_IPVS_TRUE@LoadPlugin ipvs
112 #@BUILD_PLUGIN_IRQ_TRUE@LoadPlugin irq
113 #@BUILD_PLUGIN_JAVA_TRUE@LoadPlugin java
114 #@BUILD_PLUGIN_LIBVIRT_TRUE@LoadPlugin libvirt
115 @BUILD_PLUGIN_LOAD_TRUE@@BUILD_PLUGIN_LOAD_TRUE@LoadPlugin load
116 #@BUILD_PLUGIN_LPAR_TRUE@LoadPlugin lpar
117 #@BUILD_PLUGIN_LVM_TRUE@LoadPlugin lvm
118 #@BUILD_PLUGIN_MADWIFI_TRUE@LoadPlugin madwifi
119 #@BUILD_PLUGIN_MBMON_TRUE@LoadPlugin mbmon
120 #@BUILD_PLUGIN_MD_TRUE@LoadPlugin md
121 #@BUILD_PLUGIN_MEMCACHEC_TRUE@LoadPlugin memcachec
122 #@BUILD_PLUGIN_MEMCACHED_TRUE@LoadPlugin memcached
123 @BUILD_PLUGIN_MEMORY_TRUE@@BUILD_PLUGIN_MEMORY_TRUE@LoadPlugin memory
124 #@BUILD_PLUGIN_MODBUS_TRUE@LoadPlugin modbus
125 #@BUILD_PLUGIN_MULTIMETER_TRUE@LoadPlugin multimeter
126 #@BUILD_PLUGIN_MYSQL_TRUE@LoadPlugin mysql
127 #@BUILD_PLUGIN_NETAPP_TRUE@LoadPlugin netapp
128 #@BUILD_PLUGIN_NETLINK_TRUE@LoadPlugin netlink
129 @LOAD_PLUGIN_NETWORK@LoadPlugin network
130 #@BUILD_PLUGIN_NFS_TRUE@LoadPlugin nfs
131 #@BUILD_PLUGIN_NGINX_TRUE@LoadPlugin nginx
132 #@BUILD_PLUGIN_NOTIFY_DESKTOP_TRUE@LoadPlugin notify_desktop
133 #@BUILD_PLUGIN_NOTIFY_EMAIL_TRUE@LoadPlugin notify_email
134 #@BUILD_PLUGIN_NTPD_TRUE@LoadPlugin ntpd
135 #@BUILD_PLUGIN_NUMA_TRUE@LoadPlugin numa
136 #@BUILD_PLUGIN_NUT_TRUE@LoadPlugin nut
137 #@BUILD_PLUGIN_OLSRD_TRUE@LoadPlugin olsrd
138 #@BUILD_PLUGIN_ONEWIRE_TRUE@LoadPlugin onewire
139 #@BUILD_PLUGIN_OPENVPN_TRUE@LoadPlugin openvpn
140 #@BUILD_PLUGIN_ORACLE_TRUE@LoadPlugin oracle
141 #@BUILD_PLUGIN_PERL_TRUE@<LoadPlugin perl>
142 #@BUILD_PLUGIN_PERL_TRUE@ Globals true
143 #@BUILD_PLUGIN_PERL_TRUE@</LoadPlugin>
144 #@BUILD_PLUGIN_PINBA_TRUE@LoadPlugin pinba
145 #@BUILD_PLUGIN_PING_TRUE@LoadPlugin ping
146 #@BUILD_PLUGIN_POSTGRESQL_TRUE@LoadPlugin postgresql
147 #@BUILD_PLUGIN_POWERDNS_TRUE@LoadPlugin powerdns
148 #@BUILD_PLUGIN_PROCESSES_TRUE@LoadPlugin processes
149 #@BUILD_PLUGIN_PROTOCOLS_TRUE@LoadPlugin protocols
150 #@BUILD_PLUGIN_PYTHON_TRUE@<LoadPlugin python>
151 #@BUILD_PLUGIN_PYTHON_TRUE@ Globals true
152 #@BUILD_PLUGIN_PYTHON_TRUE@</LoadPlugin>
153 #@BUILD_PLUGIN_REDIS_TRUE@LoadPlugin redis
154 #@BUILD_PLUGIN_ROUTEROS_TRUE@LoadPlugin routeros
155 #@BUILD_PLUGIN_RRDCACHED_TRUE@LoadPlugin rrdcached
156 @LOAD_PLUGIN_RRDTOOL@LoadPlugin rrdtool
157 #@BUILD_PLUGIN_SENSORS_TRUE@LoadPlugin sensors
158 #@BUILD_PLUGIN_SERIAL_TRUE@LoadPlugin serial
159 #@BUILD_PLUGIN_SIGROK_TRUE@LoadPlugin sigrok
160 #@BUILD_PLUGIN_SNMP_TRUE@LoadPlugin snmp
161 #@BUILD_PLUGIN_STATSD_TRUE@LoadPlugin statsd
162 #@BUILD_PLUGIN_SWAP_TRUE@LoadPlugin swap
163 #@BUILD_PLUGIN_TABLE_TRUE@LoadPlugin table
164 #@BUILD_PLUGIN_TAIL_TRUE@LoadPlugin tail
165 #@BUILD_PLUGIN_TAIL_CSV_TRUE@LoadPlugin tail_csv
166 #@BUILD_PLUGIN_TAPE_TRUE@LoadPlugin tape
167 #@BUILD_PLUGIN_TCPCONNS_TRUE@LoadPlugin tcpconns
168 #@BUILD_PLUGIN_TEAMSPEAK2_TRUE@LoadPlugin teamspeak2
169 #@BUILD_PLUGIN_TED_TRUE@LoadPlugin ted
170 #@BUILD_PLUGIN_THERMAL_TRUE@LoadPlugin thermal
171 #@BUILD_PLUGIN_TOKYOTYRANT_TRUE@LoadPlugin tokyotyrant
172 #@BUILD_PLUGIN_UNIXSOCK_TRUE@LoadPlugin unixsock
173 #@BUILD_PLUGIN_UPTIME_TRUE@LoadPlugin uptime
174 #@BUILD_PLUGIN_USERS_TRUE@LoadPlugin users
175 #@BUILD_PLUGIN_UUID_TRUE@LoadPlugin uuid
176 #@BUILD_PLUGIN_VARNISH_TRUE@LoadPlugin varnish
177 #@BUILD_PLUGIN_MIC_TRUE@LoadPlugin mic
178 #@BUILD_PLUGIN_VMEM_TRUE@LoadPlugin vmem
179 #@BUILD_PLUGIN_VSERVER_TRUE@LoadPlugin vserver
180 #@BUILD_PLUGIN_WIRELESS_TRUE@LoadPlugin wireless
181 #@BUILD_PLUGIN_WRITE_GRAPHITE_TRUE@LoadPlugin write_graphite
182 #@BUILD_PLUGIN_WRITE_HTTP_TRUE@LoadPlugin write_http
183 #@BUILD_PLUGIN_WRITE_MONGODB_TRUE@LoadPlugin write_mongodb
184 #@BUILD_PLUGIN_WRITE_REDIS_TRUE@LoadPlugin write_redis
185 #@BUILD_PLUGIN_WRITE_RIEMANN_TRUE@LoadPlugin write_riemann
186 #@BUILD_PLUGIN_XMMS_TRUE@LoadPlugin xmms
187 #@BUILD_PLUGIN_ZFS_ARC_TRUE@LoadPlugin zfs_arc
189 ##############################################################################
190 # Plugin configuration #
191 #----------------------------------------------------------------------------#
192 # In this section configuration stubs for each plugin are provided. A desc- #
193 # ription of those options is available in the collectd.conf(5) manual page. #
194 ##############################################################################
196 #<Plugin "aggregation">
197 # <Aggregation>
198 # #Host "unspecified"
199 # Plugin "cpu"
200 # #PluginInstance "unspecified"
201 # Type "cpu"
202 # #TypeInstance "unspecified"
203 #
204 # GroupBy "Host"
205 # GroupBy "TypeInstance"
206 #
207 # CalculateNum false
208 # CalculateSum false
209 # CalculateAverage true
210 # CalculateMinimum false
211 # CalculateMaximum false
212 # CalculateStddev false
213 # </Aggregation>
214 #</Plugin>
216 #<Plugin "amqp">
217 # <Publish "name">
218 # Host "localhost"
219 # Port "5672"
220 # VHost "/"
221 # User "guest"
222 # Password "guest"
223 # Exchange "amq.fanout"
224 # RoutingKey "collectd"
225 # Persistent false
226 # StoreRates false
227 # </Publish>
228 #</Plugin>
230 #<Plugin apache>
231 # <Instance "local">
232 # URL "http://localhost/status?auto"
233 # User "www-user"
234 # Password "secret"
235 # CACert "/etc/ssl/ca.crt"
236 # </Instance>
237 #</Plugin>
239 #<Plugin apcups>
240 # Host "localhost"
241 # Port "3551"
242 # ReportSeconds true
243 #</Plugin>
245 #<Plugin aquaero>
246 # Device ""
247 #</Plugin>
249 #<Plugin ascent>
250 # URL "http://localhost/ascent/status/"
251 # User "www-user"
252 # Password "secret"
253 # CACert "/etc/ssl/ca.crt"
254 #</Plugin>
256 #<Plugin "bind">
257 # URL "http://localhost:8053/"
258 # ParseTime false
259 # OpCodes true
260 # QTypes true
261 #
262 # ServerStats true
263 # ZoneMaintStats true
264 # ResolverStats false
265 # MemoryStats true
266 #
267 # <View "_default">
268 # QTypes true
269 # ResolverStats true
270 # CacheRRSets true
271 #
272 # Zone "127.in-addr.arpa/IN"
273 # </View>
274 #</Plugin>
276 #<Plugin cgroup>
277 # CGroup "libvirt"
278 # IgnoreSelected false
279 #</Plugin>
281 #<Plugin csv>
282 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/csv"
283 # StoreRates false
284 #</Plugin>
286 #<Plugin curl>
287 # <Page "stock_quotes">
288 # URL "http://finance.google.com/finance?q=NYSE%3AAMD"
289 # User "foo"
290 # Password "bar"
291 # MeasureResponseTime false
292 # <Match>
293 # Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
294 # DSType "GaugeAverage"
295 # Type "stock_value"
296 # Instance "AMD"
297 # </Match>
298 # </Page>
299 #</Plugin>
301 #<Plugin curl_json>
302 ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
303 # <URL "http://localhost:5984/_stats">
304 # Instance "httpd"
305 # <Key "httpd/requests/count">
306 # Type "http_requests"
307 # </Key>
308 #
309 # <Key "httpd_request_methods/*/count">
310 # Type "http_request_methods"
311 # </Key>
312 #
313 # <Key "httpd_status_codes/*/count">
314 # Type "http_response_codes"
315 # </Key>
316 # </URL>
317 ## Database status metrics:
318 # <URL "http://localhost:5984/_all_dbs">
319 # Instance "dbs"
320 # <Key "*/doc_count">
321 # Type "gauge"
322 # </Key>
323 # <Key "*/doc_del_count">
324 # Type "counter"
325 # </Key>
326 # <Key "*/disk_size">
327 # Type "bytes"
328 # </Key>
329 # </URL>
330 #</Plugin>
332 #<Plugin "curl_xml">
333 # <URL "http://localhost/stats.xml">
334 # Host "my_host"
335 # Instance "some_instance"
336 # User "collectd"
337 # Password "thaiNg0I"
338 # VerifyPeer true
339 # VerifyHost true
340 # CACert "/path/to/ca.crt"
341 #
342 # <XPath "table[@id=\"magic_level\"]/tr">
343 # Type "magic_level"
344 # #InstancePrefix "prefix-"
345 # InstanceFrom "td[1]"
346 # ValuesFrom "td[2]/span[@class=\"level\"]"
347 # </XPath>
348 # </URL>
349 #</Plugin>
351 #<Plugin dbi>
352 # <Query "num_of_customers">
353 # Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value FROM customers_tbl"
354 # <Result>
355 # Type "gauge"
356 # InstancesFrom "c_key"
357 # ValuesFrom "c_value"
358 # </Result>
359 # </Query>
360 # <Database "customers_db">
361 # Driver "mysql"
362 # DriverOption "host" "localhost"
363 # DriverOption "username" "collectd"
364 # DriverOption "password" "AeXohy0O"
365 # DriverOption "dbname" "custdb0"
366 # #SelectDB "custdb0"
367 # Query "num_of_customers"
368 # #Query "..."
369 # #Host "..."
370 # </Database>
371 #</Plugin>
373 #<Plugin df>
374 # Device "/dev/hda1"
375 # Device "192.168.0.2:/mnt/nfs"
376 # MountPoint "/home"
377 # FSType "ext3"
378 # IgnoreSelected false
379 # ReportByDevice false
380 # ReportReserved false
381 # ReportInodes false
382 # ValuesAbsolute true
383 # ValuesPercentage false
384 #</Plugin>
386 #<Plugin disk>
387 # Disk "/^[hs]d[a-f][0-9]?$/"
388 # IgnoreSelected false
389 #</Plugin>
391 #<Plugin dns>
392 # Interface "eth0"
393 # IgnoreSource "192.168.0.1"
394 # SelectNumericQueryTypes true
395 #</Plugin>
397 #<Plugin email>
398 # SocketFile "@localstatedir@/run/@PACKAGE_NAME@-email"
399 # SocketGroup "collectd"
400 # SocketPerms "0770"
401 # MaxConns 5
402 #</Plugin>
404 #<Plugin ethstat>
405 # Interface "eth0"
406 # Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload"
407 # Map "multicast" "if_multicast"
408 # MappedOnly false
409 #</Plugin>
411 #<Plugin exec>
412 # Exec "user:group" "/path/to/exec"
413 # NotificationExec "user:group" "/path/to/exec"
414 #</Plugin>
416 #<Plugin filecount>
417 # <Directory "/path/to/dir">
418 # Instance "foodir"
419 # Name "*.conf"
420 # MTime "-5m"
421 # Size "+10k"
422 # Recursive true
423 # IncludeHidden false
424 # </Directory>
425 #</Plugin>
427 #<Plugin "gmond">
428 # MCReceiveFrom "239.2.11.71" "8649"
429 # <Metric "swap_total">
430 # Type "swap"
431 # TypeInstance "total"
432 # DataSource "value"
433 # </Metric>
434 # <Metric "swap_free">
435 # Type "swap"
436 # TypeInstance "free"
437 # DataSource "value"
438 # </Metric>
439 #</Plugin>
441 #<Plugin hddtemp>
442 # Host "127.0.0.1"
443 # Port "7634"
444 #</Plugin>
446 #<Plugin interface>
447 # Interface "eth0"
448 # IgnoreSelected false
449 #</Plugin>
451 #<Plugin ipmi>
452 # Sensor "some_sensor"
453 # Sensor "another_one"
454 # IgnoreSelected false
455 # NotifySensorAdd false
456 # NotifySensorRemove true
457 # NotifySensorNotPresent false
458 #</Plugin>
460 #<Plugin iptables>
461 # Chain table chain
462 #</Plugin>
464 #<Plugin irq>
465 # Irq 7
466 # Irq 8
467 # Irq 9
468 # IgnoreSelected true
469 #</Plugin>
471 #<Plugin "java">
472 # JVMArg "-verbose:jni"
473 # JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
474 #
475 # LoadPlugin "org.collectd.java.Foobar"
476 # <Plugin "org.collectd.java.Foobar">
477 # # To be parsed by the plugin
478 # </Plugin>
479 #</Plugin>
481 #<Plugin libvirt>
482 # Connection "xen:///"
483 # RefreshInterval 60
484 # Domain "name"
485 # BlockDevice "name:device"
486 # InterfaceDevice "name:device"
487 # IgnoreSelected false
488 # HostnameFormat name
489 # InterfaceFormat name
490 #</Plugin>
492 #<Plugin load>
493 # ReportRelative true
494 #</Plugin>
496 #<Plugin lpar>
497 # CpuPoolStats false
498 # ReportBySerial false
499 #</Plugin>
501 #<Plugin madwifi>
502 # Interface "wlan0"
503 # IgnoreSelected false
504 # Source "SysFS"
505 # WatchSet "None"
506 # WatchAdd "node_octets"
507 # WatchAdd "node_rssi"
508 # WatchAdd "is_rx_acl"
509 # WatchAdd "is_scan_active"
510 #</Plugin>
512 #<Plugin mbmon>
513 # Host "127.0.0.1"
514 # Port "411"
515 #</Plugin>
517 #<Plugin md>
518 # Device "/dev/md0"
519 # IgnoreSelected false
520 #</Plugin>
522 #<Plugin memcachec>
523 # <Page "plugin_instance">
524 # Server "localhost"
525 # Key "page_key"
526 # <Match>
527 # Regex "(\\d+) bytes sent"
528 # ExcludeRegex "<lines to be excluded>"
529 # DSType CounterAdd
530 # Type "ipt_octets"
531 # Instance "type_instance"
532 # </Match>
533 # </Page>
534 #</Plugin>
536 #<Plugin memcached>
537 # <Instance "local">
538 # Host "127.0.0.1"
539 # Port "11211"
540 # </Instance>
541 #</Plugin>
543 #<Plugin memory>
544 # ValuesAbsolute true
545 # ValuesPercentage false
546 #</Plugin>
548 #<Plugin modbus>
549 # <Data "data_name">
550 # RegisterBase 1234
551 # RegisterType float
552 # Type gauge
553 # Instance "..."
554 # </Data>
555 #
556 # <Host "name">
557 # Address "addr"
558 # Port "1234"
559 # Interval 60
560 #
561 # <Slave 1>
562 # Instance "foobar" # optional
563 # Collect "data_name"
564 # </Slave>
565 # </Host>
566 #</Plugin>
568 #<Plugin mysql>
569 # <Database db_name>
570 # Host "database.serv.er"
571 # User "db_user"
572 # Password "secret"
573 # Database "db_name"
574 # MasterStats true
575 # </Database>
576 #
577 # <Database db_name2>
578 # Host "localhost"
579 # Socket "/var/run/mysql/mysqld.sock"
580 # SlaveStats true
581 # SlaveNotifications true
582 # </Database>
583 #</Plugin>
585 #<Plugin netapp>
586 # <Host "netapp1.example.com">
587 # Protocol "https"
588 # Address "10.0.0.1"
589 # Port 443
590 # User "username"
591 # Password "aef4Aebe"
592 # Interval 30
593 #
594 # <WAFL>
595 # Interval 30
596 # GetNameCache true
597 # GetDirCache true
598 # GetBufferCache true
599 # GetInodeCache true
600 # </WAFL>
601 #
602 # <Disks>
603 # Interval 30
604 # GetBusy true
605 # </Disks>
606 #
607 # <VolumePerf>
608 # Interval 30
609 # GetIO "volume0"
610 # IgnoreSelectedIO false
611 # GetOps "volume0"
612 # IgnoreSelectedOps false
613 # GetLatency "volume0"
614 # IgnoreSelectedLatency false
615 # </VolumePerf>
616 #
617 # <VolumeUsage>
618 # Interval 30
619 # GetCapacity "vol0"
620 # GetCapacity "vol1"
621 # IgnoreSelectedCapacity false
622 # GetSnapshot "vol1"
623 # GetSnapshot "vol3"
624 # IgnoreSelectedSnapshot false
625 # </VolumeUsage>
626 #
627 # <System>
628 # Interval 30
629 # GetCPULoad true
630 # GetInterfaces true
631 # GetDiskOps true
632 # GetDiskIO true
633 # </System>
634 # </Host>
635 #</Plugin>
637 #<Plugin netlink>
638 # Interface "All"
639 # VerboseInterface "All"
640 # QDisc "eth0" "pfifo_fast-1:0"
641 # Class "ppp0" "htb-1:10"
642 # Filter "ppp0" "u32-1:0"
643 # IgnoreSelected false
644 #</Plugin>
646 @LOAD_PLUGIN_NETWORK@<Plugin network>
647 # # client setup:
648 @LOAD_PLUGIN_NETWORK@ Server "ff18::efc0:4a42" "25826"
649 @LOAD_PLUGIN_NETWORK@ <Server "239.192.74.66" "25826">
650 # SecurityLevel Encrypt
651 # Username "user"
652 # Password "secret"
653 # Interface "eth0"
654 @LOAD_PLUGIN_NETWORK@ </Server>
655 # TimeToLive "128"
656 #
657 # # server setup:
658 # Listen "ff18::efc0:4a42" "25826"
659 # <Listen "239.192.74.66" "25826">
660 # SecurityLevel Sign
661 # AuthFile "/etc/collectd/passwd"
662 # Interface "eth0"
663 # </Listen>
664 # MaxPacketSize 1024
665 #
666 # # proxy setup (client and server as above):
667 # Forward true
668 #
669 # # statistics about the network plugin itself
670 # ReportStats false
671 #
672 # # "garbage collection"
673 # CacheFlush 1800
674 @LOAD_PLUGIN_NETWORK@</Plugin>
676 #<Plugin nginx>
677 # URL "http://localhost/status?auto"
678 # User "www-user"
679 # Password "secret"
680 # CACert "/etc/ssl/ca.crt"
681 #</Plugin>
683 #<Plugin notify_desktop>
684 # OkayTimeout 1000
685 # WarningTimeout 5000
686 # FailureTimeout 0
687 #</Plugin>
689 #<Plugin notify_email>
690 # SMTPServer "localhost"
691 # SMTPPort 25
692 # SMTPUser "my-username"
693 # SMTPPassword "my-password"
694 # From "collectd@main0server.com"
695 # # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
696 # Subject "Aaaaaa!! %s on %s!!!!!"
697 # Recipient "email1@domain1.net"
698 # Recipient "email2@domain2.com"
699 #</Plugin>
701 #<Plugin ntpd>
702 # Host "localhost"
703 # Port 123
704 # ReverseLookups false
705 # IncludeUnitID true
706 #</Plugin>
708 #<Plugin nut>
709 # UPS "upsname@hostname:port"
710 #</Plugin>
712 #<Plugin olsrd>
713 # Host "127.0.0.1"
714 # Port "2006"
715 # CollectLinks "Summary"
716 # CollectRoutes "Summary"
717 # CollectTopology "Summary"
718 #</Plugin>
720 #<Plugin onewire>
721 # Device "-s localhost:4304"
722 # Sensor "F10FCA000800"
723 # IgnoreSelected false
724 #</Plugin>
726 #<Plugin openvpn>
727 # StatusFile "/etc/openvpn/openvpn-status.log"
728 # ImprovedNamingSchema false
729 # CollectCompression true
730 # CollectIndividualUsers true
731 # CollectUserCount false
732 #</Plugin>
734 #<Plugin oracle>
735 # <Query "out_of_stock">
736 # Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
737 # <Result>
738 # Type "gauge"
739 # InstancesFrom "category"
740 # ValuesFrom "value"
741 # </Result>
742 # </Query>
743 # <Database "product_information">
744 # ConnectID "db01"
745 # Username "oracle"
746 # Password "secret"
747 # Query "out_of_stock"
748 # </Database>
749 #</Plugin>
751 #<Plugin perl>
752 # IncludeDir "/my/include/path"
753 # BaseName "Collectd::Plugins"
754 # EnableDebugger ""
755 # LoadPlugin Monitorus
756 # LoadPlugin OpenVZ
757 #
758 # <Plugin foo>
759 # Foo "Bar"
760 # Qux "Baz"
761 # </Plugin>
762 #</Plugin>
764 #<Plugin pinba>
765 # Address "::0"
766 # Port "30002"
767 # <View "name">
768 # Host "host name"
769 # Server "server name"
770 # Script "script name"
771 # </View>
772 #</Plugin>
774 #<Plugin ping>
775 # Host "host.foo.bar"
776 # Interval 1.0
777 # Timeout 0.9
778 # TTL 255
779 # SourceAddress "1.2.3.4"
780 # Device "eth0"
781 # MaxMissed -1
782 #</Plugin>
784 #<Plugin postgresql>
785 # <Query magic>
786 # Statement "SELECT magic FROM wizard WHERE host = $1;"
787 # Param hostname
788 # <Result>
789 # Type gauge
790 # InstancePrefix "magic"
791 # ValuesFrom magic
792 # </Result>
793 # </Query>
794 # <Query rt36_tickets>
795 # Statement "SELECT COUNT(type) AS count, type \
796 # FROM (SELECT CASE \
797 # WHEN resolved = 'epoch' THEN 'open' \
798 # ELSE 'resolved' END AS type \
799 # FROM tickets) type \
800 # GROUP BY type;"
801 # <Result>
802 # Type counter
803 # InstancePrefix "rt36_tickets"
804 # InstancesFrom "type"
805 # ValuesFrom "count"
806 # </Result>
807 # </Query>
808 # <Writer sqlstore>
809 # # See contrib/postgresql/collectd_insert.sql for details
810 # Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
811 # StoreRates true
812 # </Writer>
813 # <Database foo>
814 # Host "hostname"
815 # Port "5432"
816 # User "username"
817 # Password "secret"
818 # SSLMode "prefer"
819 # KRBSrvName "kerberos_service_name"
820 # Query magic
821 # </Database>
822 # <Database bar>
823 # Interval 60
824 # Service "service_name"
825 # Query backend # predefined
826 # Query rt36_tickets
827 # </Database>
828 # <Database qux>
829 # Service "collectd_store"
830 # Writer sqlstore
831 # # see collectd.conf(5) for details
832 # CommitInterval 30
833 # </Database>
834 #</Plugin>
836 #<Plugin powerdns>
837 # <Server "server_name">
838 # Collect "latency"
839 # Collect "udp-answers" "udp-queries"
840 # Socket "/var/run/pdns.controlsocket"
841 # </Server>
842 # <Recursor "recursor_name">
843 # Collect "questions"
844 # Collect "cache-hits" "cache-misses"
845 # Socket "/var/run/pdns_recursor.controlsocket"
846 # </Recursor>
847 # LocalSocket "/opt/collectd/var/run/collectd-powerdns"
848 #</Plugin>
850 #<Plugin processes>
851 # Process "name"
852 #</Plugin>
854 #<Plugin protocols>
855 # Value "/^Tcp:/"
856 # IgnoreSelected false
857 #</Plugin>
859 #<Plugin python>
860 # ModulePath "/path/to/your/python/modules"
861 # LogTraces true
862 # Interactive true
863 # Import "spam"
864 #
865 # <Module spam>
866 # spam "wonderful" "lovely"
867 # </Module>
868 #</Plugin>
870 #<Plugin redis>
871 # <Node example>
872 # Host "redis.example.com"
873 # Port "6379"
874 # Timeout 2000
875 # </Node>
876 #</Plugin>
878 #<Plugin routeros>
879 # <Router>
880 # Host "router.example.com"
881 # Port "8728"
882 # User "admin"
883 # Password "dozaiTh4"
884 # CollectInterface true
885 # CollectRegistrationTable true
886 # CollectCPULoad true
887 # CollectMemory true
888 # CollectDF true
889 # CollectDisk true
890 # </Router>
891 #</Plugin>
893 #<Plugin rrdcached>
894 # DaemonAddress "unix:/tmp/rrdcached.sock"
895 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
896 # CreateFiles true
897 # CreateFilesAsync false
898 # CollectStatistics true
899 #</Plugin>
901 #<Plugin rrdtool>
902 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
903 # CreateFilesAsync false
904 # CacheTimeout 120
905 # CacheFlush 900
906 # WritesPerSecond 50
907 #</Plugin>
909 #<Plugin sensors>
910 # SensorConfigFile "/etc/sensors.conf"
911 # Sensor "it8712-isa-0290/temperature-temp1"
912 # Sensor "it8712-isa-0290/fanspeed-fan3"
913 # Sensor "it8712-isa-0290/voltage-in8"
914 # IgnoreSelected false
915 #</Plugin>
917 #<Plugin sigrok>
918 # LogLevel 3
919 # <Device "AC Voltage">
920 # Driver "fluke-dmm"
921 # MinimumInterval 10
922 # Conn "/dev/ttyUSB2"
923 # </Device>
924 # <Device "Sound Level">
925 # Driver "cem-dt-885x"
926 # Conn "/dev/ttyUSB1"
927 # </Device>
928 #</Plugin>
930 #<Plugin snmp>
931 # <Data "powerplus_voltge_input">
932 # Type "voltage"
933 # Table false
934 # Instance "input_line1"
935 # Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
936 # </Data>
937 # <Data "hr_users">
938 # Type "users"
939 # Table false
940 # Instance ""
941 # Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
942 # </Data>
943 # <Data "std_traffic">
944 # Type "if_octets"
945 # Table true
946 # Instance "IF-MIB::ifDescr"
947 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
948 # </Data>
949 #
950 # <Host "some.switch.mydomain.org">
951 # Address "192.168.0.2"
952 # Version 1
953 # Community "community_string"
954 # Collect "std_traffic"
955 # Interval 120
956 # </Host>
957 # <Host "some.server.mydomain.org">
958 # Address "192.168.0.42"
959 # Version 2
960 # Community "another_string"
961 # Collect "std_traffic" "hr_users"
962 # </Host>
963 # <Host "some.ups.mydomain.org">
964 # Address "192.168.0.3"
965 # Version 1
966 # Community "more_communities"
967 # Collect "powerplus_voltge_input"
968 # Interval 300
969 # </Host>
970 #</Plugin>
972 #<Plugin statsd>
973 # Host "::"
974 # Port "8125"
975 # DeleteCounters false
976 # DeleteTimers false
977 # DeleteGauges false
978 # DeleteSets false
979 # TimerPercentile 90.0
980 #</Plugin>
982 #<Plugin "swap">
983 # ReportByDevice false
984 # ReportBytes true
985 # ValuesAbsolute true
986 # ValuesPercentage false
987 #</Plugin>
989 #<Plugin "table">
990 # <Table "/proc/slabinfo">
991 # Instance "slabinfo"
992 # Separator " "
993 # <Result>
994 # Type gauge
995 # InstancePrefix "active_objs"
996 # InstancesFrom 0
997 # ValuesFrom 1
998 # </Result>
999 # <Result>
1000 # Type gauge
1001 # InstancePrefix "objperslab"
1002 # InstancesFrom 0
1003 # ValuesFrom 4
1004 # </Result>
1005 # </Table>
1006 #</Plugin>
1008 #<Plugin "tail">
1009 # <File "/var/log/exim4/mainlog">
1010 # Instance "exim"
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>