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 #</Plugin>
383 #<Plugin disk>
384 # Disk "/^[hs]d[a-f][0-9]?$/"
385 # IgnoreSelected false
386 #</Plugin>
388 #<Plugin dns>
389 # Interface "eth0"
390 # IgnoreSource "192.168.0.1"
391 # SelectNumericQueryTypes true
392 #</Plugin>
394 #<Plugin email>
395 # SocketFile "@localstatedir@/run/@PACKAGE_NAME@-email"
396 # SocketGroup "collectd"
397 # SocketPerms "0770"
398 # MaxConns 5
399 #</Plugin>
401 #<Plugin ethstat>
402 # Interface "eth0"
403 # Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload"
404 # Map "multicast" "if_multicast"
405 # MappedOnly false
406 #</Plugin>
408 #<Plugin exec>
409 # Exec "user:group" "/path/to/exec"
410 # NotificationExec "user:group" "/path/to/exec"
411 #</Plugin>
413 #<Plugin filecount>
414 # <Directory "/path/to/dir">
415 # Instance "foodir"
416 # Name "*.conf"
417 # MTime "-5m"
418 # Size "+10k"
419 # Recursive true
420 # IncludeHidden false
421 # </Directory>
422 #</Plugin>
424 #<Plugin "gmond">
425 # MCReceiveFrom "239.2.11.71" "8649"
426 # <Metric "swap_total">
427 # Type "swap"
428 # TypeInstance "total"
429 # DataSource "value"
430 # </Metric>
431 # <Metric "swap_free">
432 # Type "swap"
433 # TypeInstance "free"
434 # DataSource "value"
435 # </Metric>
436 #</Plugin>
438 #<Plugin hddtemp>
439 # Host "127.0.0.1"
440 # Port "7634"
441 #</Plugin>
443 #<Plugin interface>
444 # Interface "eth0"
445 # IgnoreSelected false
446 #</Plugin>
448 #<Plugin ipmi>
449 # Sensor "some_sensor"
450 # Sensor "another_one"
451 # IgnoreSelected false
452 # NotifySensorAdd false
453 # NotifySensorRemove true
454 # NotifySensorNotPresent false
455 #</Plugin>
457 #<Plugin iptables>
458 # Chain table chain
459 #</Plugin>
461 #<Plugin irq>
462 # Irq 7
463 # Irq 8
464 # Irq 9
465 # IgnoreSelected true
466 #</Plugin>
468 #<Plugin "java">
469 # JVMArg "-verbose:jni"
470 # JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
471 #
472 # LoadPlugin "org.collectd.java.Foobar"
473 # <Plugin "org.collectd.java.Foobar">
474 # # To be parsed by the plugin
475 # </Plugin>
476 #</Plugin>
478 #<Plugin libvirt>
479 # Connection "xen:///"
480 # RefreshInterval 60
481 # Domain "name"
482 # BlockDevice "name:device"
483 # InterfaceDevice "name:device"
484 # IgnoreSelected false
485 # HostnameFormat name
486 # InterfaceFormat name
487 #</Plugin>
489 #<Plugin lpar>
490 # CpuPoolStats false
491 # ReportBySerial false
492 #</Plugin>
494 #<Plugin madwifi>
495 # Interface "wlan0"
496 # IgnoreSelected false
497 # Source "SysFS"
498 # WatchSet "None"
499 # WatchAdd "node_octets"
500 # WatchAdd "node_rssi"
501 # WatchAdd "is_rx_acl"
502 # WatchAdd "is_scan_active"
503 #</Plugin>
505 #<Plugin mbmon>
506 # Host "127.0.0.1"
507 # Port "411"
508 #</Plugin>
510 #<Plugin md>
511 # Device "/dev/md0"
512 # IgnoreSelected false
513 #</Plugin>
515 #<Plugin memcachec>
516 # <Page "plugin_instance">
517 # Server "localhost"
518 # Key "page_key"
519 # <Match>
520 # Regex "(\\d+) bytes sent"
521 # ExcludeRegex "<lines to be excluded>"
522 # DSType CounterAdd
523 # Type "ipt_octets"
524 # Instance "type_instance"
525 # </Match>
526 # </Page>
527 #</Plugin>
529 #<Plugin memcached>
530 # <Instance "local">
531 # Host "127.0.0.1"
532 # Port "11211"
533 # </Instance>
534 #</Plugin>
536 #<Plugin modbus>
537 # <Data "data_name">
538 # RegisterBase 1234
539 # RegisterType float
540 # Type gauge
541 # Instance "..."
542 # </Data>
543 #
544 # <Host "name">
545 # Address "addr"
546 # Port "1234"
547 # Interval 60
548 #
549 # <Slave 1>
550 # Instance "foobar" # optional
551 # Collect "data_name"
552 # </Slave>
553 # </Host>
554 #</Plugin>
556 #<Plugin mysql>
557 # <Database db_name>
558 # Host "database.serv.er"
559 # User "db_user"
560 # Password "secret"
561 # Database "db_name"
562 # MasterStats true
563 # </Database>
564 #
565 # <Database db_name2>
566 # Host "localhost"
567 # Socket "/var/run/mysql/mysqld.sock"
568 # SlaveStats true
569 # SlaveNotifications true
570 # </Database>
571 #</Plugin>
573 #<Plugin netapp>
574 # <Host "netapp1.example.com">
575 # Protocol "https"
576 # Address "10.0.0.1"
577 # Port 443
578 # User "username"
579 # Password "aef4Aebe"
580 # Interval 30
581 #
582 # <WAFL>
583 # Interval 30
584 # GetNameCache true
585 # GetDirCache true
586 # GetBufferCache true
587 # GetInodeCache true
588 # </WAFL>
589 #
590 # <Disks>
591 # Interval 30
592 # GetBusy true
593 # </Disks>
594 #
595 # <VolumePerf>
596 # Interval 30
597 # GetIO "volume0"
598 # IgnoreSelectedIO false
599 # GetOps "volume0"
600 # IgnoreSelectedOps false
601 # GetLatency "volume0"
602 # IgnoreSelectedLatency false
603 # </VolumePerf>
604 #
605 # <VolumeUsage>
606 # Interval 30
607 # GetCapacity "vol0"
608 # GetCapacity "vol1"
609 # IgnoreSelectedCapacity false
610 # GetSnapshot "vol1"
611 # GetSnapshot "vol3"
612 # IgnoreSelectedSnapshot false
613 # </VolumeUsage>
614 #
615 # <System>
616 # Interval 30
617 # GetCPULoad true
618 # GetInterfaces true
619 # GetDiskOps true
620 # GetDiskIO true
621 # </System>
622 # </Host>
623 #</Plugin>
625 #<Plugin netlink>
626 # Interface "All"
627 # VerboseInterface "All"
628 # QDisc "eth0" "pfifo_fast-1:0"
629 # Class "ppp0" "htb-1:10"
630 # Filter "ppp0" "u32-1:0"
631 # IgnoreSelected false
632 #</Plugin>
634 @LOAD_PLUGIN_NETWORK@<Plugin network>
635 # # client setup:
636 @LOAD_PLUGIN_NETWORK@ Server "ff18::efc0:4a42" "25826"
637 @LOAD_PLUGIN_NETWORK@ <Server "239.192.74.66" "25826">
638 # SecurityLevel Encrypt
639 # Username "user"
640 # Password "secret"
641 # Interface "eth0"
642 @LOAD_PLUGIN_NETWORK@ </Server>
643 # TimeToLive "128"
644 #
645 # # server setup:
646 # Listen "ff18::efc0:4a42" "25826"
647 # <Listen "239.192.74.66" "25826">
648 # SecurityLevel Sign
649 # AuthFile "/etc/collectd/passwd"
650 # Interface "eth0"
651 # </Listen>
652 # MaxPacketSize 1024
653 #
654 # # proxy setup (client and server as above):
655 # Forward true
656 #
657 # # statistics about the network plugin itself
658 # ReportStats false
659 #
660 # # "garbage collection"
661 # CacheFlush 1800
662 @LOAD_PLUGIN_NETWORK@</Plugin>
664 #<Plugin nginx>
665 # URL "http://localhost/status?auto"
666 # User "www-user"
667 # Password "secret"
668 # CACert "/etc/ssl/ca.crt"
669 #</Plugin>
671 #<Plugin notify_desktop>
672 # OkayTimeout 1000
673 # WarningTimeout 5000
674 # FailureTimeout 0
675 #</Plugin>
677 #<Plugin notify_email>
678 # SMTPServer "localhost"
679 # SMTPPort 25
680 # SMTPUser "my-username"
681 # SMTPPassword "my-password"
682 # From "collectd@main0server.com"
683 # # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
684 # Subject "Aaaaaa!! %s on %s!!!!!"
685 # Recipient "email1@domain1.net"
686 # Recipient "email2@domain2.com"
687 #</Plugin>
689 #<Plugin ntpd>
690 # Host "localhost"
691 # Port 123
692 # ReverseLookups false
693 # IncludeUnitID true
694 #</Plugin>
696 #<Plugin nut>
697 # UPS "upsname@hostname:port"
698 #</Plugin>
700 #<Plugin olsrd>
701 # Host "127.0.0.1"
702 # Port "2006"
703 # CollectLinks "Summary"
704 # CollectRoutes "Summary"
705 # CollectTopology "Summary"
706 #</Plugin>
708 #<Plugin onewire>
709 # Device "-s localhost:4304"
710 # Sensor "F10FCA000800"
711 # IgnoreSelected false
712 #</Plugin>
714 #<Plugin openvpn>
715 # StatusFile "/etc/openvpn/openvpn-status.log"
716 # ImprovedNamingSchema false
717 # CollectCompression true
718 # CollectIndividualUsers true
719 # CollectUserCount false
720 #</Plugin>
722 #<Plugin oracle>
723 # <Query "out_of_stock">
724 # Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
725 # <Result>
726 # Type "gauge"
727 # InstancesFrom "category"
728 # ValuesFrom "value"
729 # </Result>
730 # </Query>
731 # <Database "product_information">
732 # ConnectID "db01"
733 # Username "oracle"
734 # Password "secret"
735 # Query "out_of_stock"
736 # </Database>
737 #</Plugin>
739 #<Plugin perl>
740 # IncludeDir "/my/include/path"
741 # BaseName "Collectd::Plugins"
742 # EnableDebugger ""
743 # LoadPlugin Monitorus
744 # LoadPlugin OpenVZ
745 #
746 # <Plugin foo>
747 # Foo "Bar"
748 # Qux "Baz"
749 # </Plugin>
750 #</Plugin>
752 #<Plugin pinba>
753 # Address "::0"
754 # Port "30002"
755 # <View "name">
756 # Host "host name"
757 # Server "server name"
758 # Script "script name"
759 # </View>
760 #</Plugin>
762 #<Plugin ping>
763 # Host "host.foo.bar"
764 # Interval 1.0
765 # Timeout 0.9
766 # TTL 255
767 # SourceAddress "1.2.3.4"
768 # Device "eth0"
769 # MaxMissed -1
770 #</Plugin>
772 #<Plugin postgresql>
773 # <Query magic>
774 # Statement "SELECT magic FROM wizard WHERE host = $1;"
775 # Param hostname
776 # <Result>
777 # Type gauge
778 # InstancePrefix "magic"
779 # ValuesFrom magic
780 # </Result>
781 # </Query>
782 # <Query rt36_tickets>
783 # Statement "SELECT COUNT(type) AS count, type \
784 # FROM (SELECT CASE \
785 # WHEN resolved = 'epoch' THEN 'open' \
786 # ELSE 'resolved' END AS type \
787 # FROM tickets) type \
788 # GROUP BY type;"
789 # <Result>
790 # Type counter
791 # InstancePrefix "rt36_tickets"
792 # InstancesFrom "type"
793 # ValuesFrom "count"
794 # </Result>
795 # </Query>
796 # <Writer sqlstore>
797 # # See contrib/postgresql/collectd_insert.sql for details
798 # Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
799 # StoreRates true
800 # </Writer>
801 # <Database foo>
802 # Host "hostname"
803 # Port "5432"
804 # User "username"
805 # Password "secret"
806 # SSLMode "prefer"
807 # KRBSrvName "kerberos_service_name"
808 # Query magic
809 # </Database>
810 # <Database bar>
811 # Interval 60
812 # Service "service_name"
813 # Query backend # predefined
814 # Query rt36_tickets
815 # </Database>
816 # <Database qux>
817 # Service "collectd_store"
818 # Writer sqlstore
819 # # see collectd.conf(5) for details
820 # CommitInterval 30
821 # </Database>
822 #</Plugin>
824 #<Plugin powerdns>
825 # <Server "server_name">
826 # Collect "latency"
827 # Collect "udp-answers" "udp-queries"
828 # Socket "/var/run/pdns.controlsocket"
829 # </Server>
830 # <Recursor "recursor_name">
831 # Collect "questions"
832 # Collect "cache-hits" "cache-misses"
833 # Socket "/var/run/pdns_recursor.controlsocket"
834 # </Recursor>
835 # LocalSocket "/opt/collectd/var/run/collectd-powerdns"
836 #</Plugin>
838 #<Plugin processes>
839 # Process "name"
840 #</Plugin>
842 #<Plugin protocols>
843 # Value "/^Tcp:/"
844 # IgnoreSelected false
845 #</Plugin>
847 #<Plugin python>
848 # ModulePath "/path/to/your/python/modules"
849 # LogTraces true
850 # Interactive true
851 # Import "spam"
852 #
853 # <Module spam>
854 # spam "wonderful" "lovely"
855 # </Module>
856 #</Plugin>
858 #<Plugin redis>
859 # <Node example>
860 # Host "redis.example.com"
861 # Port "6379"
862 # Timeout 2000
863 # </Node>
864 #</Plugin>
866 #<Plugin routeros>
867 # <Router>
868 # Host "router.example.com"
869 # Port "8728"
870 # User "admin"
871 # Password "dozaiTh4"
872 # CollectInterface true
873 # CollectRegistrationTable true
874 # CollectCPULoad true
875 # CollectMemory true
876 # CollectDF true
877 # CollectDisk true
878 # </Router>
879 #</Plugin>
881 #<Plugin rrdcached>
882 # DaemonAddress "unix:/tmp/rrdcached.sock"
883 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
884 # CreateFiles true
885 # CreateFilesAsync false
886 # CollectStatistics true
887 #</Plugin>
889 #<Plugin rrdtool>
890 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
891 # CreateFilesAsync false
892 # CacheTimeout 120
893 # CacheFlush 900
894 # WritesPerSecond 50
895 #</Plugin>
897 #<Plugin sensors>
898 # SensorConfigFile "/etc/sensors.conf"
899 # Sensor "it8712-isa-0290/temperature-temp1"
900 # Sensor "it8712-isa-0290/fanspeed-fan3"
901 # Sensor "it8712-isa-0290/voltage-in8"
902 # IgnoreSelected false
903 #</Plugin>
905 #<Plugin sigrok>
906 # LogLevel 3
907 # <Device "AC Voltage">
908 # Driver "fluke-dmm"
909 # MinimumInterval 10
910 # Conn "/dev/ttyUSB2"
911 # </Device>
912 # <Device "Sound Level">
913 # Driver "cem-dt-885x"
914 # Conn "/dev/ttyUSB1"
915 # </Device>
916 #</Plugin>
918 #<Plugin snmp>
919 # <Data "powerplus_voltge_input">
920 # Type "voltage"
921 # Table false
922 # Instance "input_line1"
923 # Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
924 # </Data>
925 # <Data "hr_users">
926 # Type "users"
927 # Table false
928 # Instance ""
929 # Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
930 # </Data>
931 # <Data "std_traffic">
932 # Type "if_octets"
933 # Table true
934 # Instance "IF-MIB::ifDescr"
935 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
936 # </Data>
937 #
938 # <Host "some.switch.mydomain.org">
939 # Address "192.168.0.2"
940 # Version 1
941 # Community "community_string"
942 # Collect "std_traffic"
943 # Interval 120
944 # </Host>
945 # <Host "some.server.mydomain.org">
946 # Address "192.168.0.42"
947 # Version 2
948 # Community "another_string"
949 # Collect "std_traffic" "hr_users"
950 # </Host>
951 # <Host "some.ups.mydomain.org">
952 # Address "192.168.0.3"
953 # Version 1
954 # Community "more_communities"
955 # Collect "powerplus_voltge_input"
956 # Interval 300
957 # </Host>
958 #</Plugin>
960 #<Plugin statsd>
961 # Host "::"
962 # Port "8125"
963 # DeleteCounters false
964 # DeleteTimers false
965 # DeleteGauges false
966 # DeleteSets false
967 # TimerPercentile 90.0
968 #</Plugin>
970 #<Plugin "swap">
971 # ReportByDevice false
972 # ReportBytes true
973 #</Plugin>
975 #<Plugin "table">
976 # <Table "/proc/slabinfo">
977 # Instance "slabinfo"
978 # Separator " "
979 # <Result>
980 # Type gauge
981 # InstancePrefix "active_objs"
982 # InstancesFrom 0
983 # ValuesFrom 1
984 # </Result>
985 # <Result>
986 # Type gauge
987 # InstancePrefix "objperslab"
988 # InstancesFrom 0
989 # ValuesFrom 4
990 # </Result>
991 # </Table>
992 #</Plugin>
994 #<Plugin "tail">
995 # <File "/var/log/exim4/mainlog">
996 # Instance "exim"
997 # <Match>
998 # Regex "S=([1-9][0-9]*)"
999 # DSType "CounterAdd"
1000 # Type "ipt_bytes"
1001 # Instance "total"
1002 # </Match>
1003 # <Match>
1004 # Regex "\\<R=local_user\\>"
1005 # ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
1006 # DSType "CounterInc"
1007 # Type "counter"
1008 # Instance "local_user"
1009 # </Match>
1010 # </File>
1011 #</Plugin>
1013 #<Plugin "tail_csv">
1014 # <Metric "dropped">
1015 # Type "percent"
1016 # Instance "dropped"
1017 # ValueFrom 1
1018 # </Metric>
1019 # <Metric "mbps">
1020 # Type "bytes"
1021 # Instance "wire-realtime"
1022 # ValueFrom 2
1023 # </Metric>
1024 # <Metric "alerts">
1025 # Type "alerts_per_second"
1026 # ValueFrom 3
1027 # </Metric>
1028 # <Metric "kpps">
1029 # Type "kpackets_wire_per_sec.realtime"
1030 # ValueFrom 4
1031 # </Metric>
1032 # <File "/var/log/snort/snort.stats">
1033 # Instance "snort-eth0"
1034 # Interval 600
1035 # Collect "dropped" "mbps" "alerts" "kpps"
1036 # TimeFrom 0
1037 # </File>
1038 #</Plugin>
1040 #<Plugin tcpconns>
1041 # ListeningPorts false
1042 # LocalPort "25"
1043 # RemotePort "25"
1044 #</Plugin>
1046 #<Plugin teamspeak2>
1047 # Host "127.0.0.1"
1048 # Port "51234"
1049 # Server "8767"
1050 #</Plugin>
1052 #<Plugin ted>
1053 # Device "/dev/ttyUSB0"
1054 # Retries 0
1055 #</Plugin>
1057 #<Plugin thermal>
1058 # ForceUseProcfs false
1059 # Device "THRM"
1060 # IgnoreSelected false
1061 #</Plugin>
1063 #<Plugin tokyotyrant>
1064 # Host "localhost"
1065 # Port "1978"
1066 #</Plugin>
1068 #<Plugin unixsock>
1069 # SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
1070 # SocketGroup "collectd"
1071 # SocketPerms "0660"
1072 # DeleteSocket false
1073 #</Plugin>
1075 #<Plugin uuid>
1076 # UUIDFile "/etc/uuid"
1077 #</Plugin>
1079 #<Plugin mic>
1080 # ShowCPU true
1081 # ShowCPUCores true
1082 # ShowMemory true
1083 # ShowTemperatures true
1084 ## Temperature Sensors can be ignored/shown by repeated #Temperature lines, and
1085 ## then inverted with a IgnoreSelectedTemperature.
1086 ## Known Temperature sensors: die, devmem, fin, fout, vccp, vddg, vddq
1087 # Temperature vddg
1088 # IgnoreSelectedTemperature true
1089 # ShowPower true
1090 ## Power Sensors can be ignored/shown by repeated #Power lines, and
1091 ## then inverted with a IgnoreSelectedTemperature.
1092 ## Known Temperature sensors: total0, total1, inst, imax, pci3, c2x3, c2x4, vccp, vddg, vddq
1093 # Power total1
1094 # IgnoreSelectedPower true
1095 #</Plugin>
1097 #<Plugin varnish>
1098 # This tag support an argument if you want to
1099 # monitor the local instance just use </Instance>
1100 # If you prefer defining another instance you can do
1101 # so by using <Instance "myinstance">
1102 # <Instance>
1103 # CollectCache true
1104 # CollectBackend true
1105 # CollectBan false # Varnish 3 only
1106 # CollectConnections true
1107 # CollectDirectorDNS false # Varnish 3 only
1108 # CollectSHM true
1109 # CollectESI false
1110 # CollectFetch false
1111 # CollectHCB false
1112 # CollectObjects false
1113 # CollectPurge false # Varnish 2 only
1114 # CollectSession false
1115 # CollectSMA false # Varnish 2 only
1116 # CollectSMS false
1117 # CollectSM false # Varnish 2 only
1118 # CollectStruct false
1119 # CollectTotals false
1120 # CollectUptime false
1121 # CollectVCL false
1122 # CollectWorkers false
1123 # </Instance>
1124 #</Plugin>
1126 #<Plugin vmem>
1127 # Verbose false
1128 #</Plugin>
1130 #<Plugin write_graphite>
1131 # <Node "example">
1132 # Host "localhost"
1133 # Port "2003"
1134 # Protocol "udp"
1135 # LogSendErrors true
1136 # Prefix "collectd"
1137 # Postfix "collectd"
1138 # StoreRates true
1139 # AlwaysAppendDS false
1140 # EscapeCharacter "_"
1141 # </Node>
1142 #</Plugin>
1144 #<Plugin write_http>
1145 # <URL "http://example.com/collectd-post">
1146 # User "collectd"
1147 # Password "weCh3ik0"
1148 # VerifyPeer true
1149 # VerifyHost true
1150 # CACert "/etc/ssl/ca.crt"
1151 # Format "Command"
1152 # StoreRates false
1153 # </URL>
1154 #</Plugin>
1156 #<Plugin write_mongodb>
1157 # <Node "example">
1158 # Host "localhost"
1159 # Port "27017"
1160 # Timeout 1000
1161 # StoreRates false
1162 # Database "auth_db"
1163 # User "auth_user"
1164 # Password "auth_passwd"
1165 # </Node>
1166 #</Plugin>
1168 #<Plugin write_redis>
1169 # <Node "example">
1170 # Host "localhost"
1171 # Port "6379"
1172 # Timeout 1000
1173 # </Node>
1174 #</Plugin>
1176 #<Plugin write_riemann>
1177 # <Node "example">
1178 # Host "localhost"
1179 # Port 5555
1180 # Protocol UDP
1181 # StoreRates true
1182 # AlwaysAppendDS false
1183 # </Node>
1184 # Tag "foobar"
1185 #</Plugin>
1187 ##############################################################################
1188 # Filter configuration #
1189 #----------------------------------------------------------------------------#
1190 # The following configures collectd's filtering mechanism. Before changing #
1191 # anything in this section, please read the `FILTER CONFIGURATION' section #
1192 # in the collectd.conf(5) manual page. #
1193 ##############################################################################
1195 # Load required matches:
1196 #@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter
1197 #@BUILD_PLUGIN_MATCH_HASHED_TRUE@LoadPlugin match_hashed
1198 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
1199 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
1200 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
1202 # Load required targets:
1203 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
1204 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
1205 #@BUILD_PLUGIN_TARGET_SCALE_TRUE@LoadPlugin target_scale
1206 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
1207 #@BUILD_PLUGIN_TARGET_V5UPGRADE_TRUE@LoadPlugin target_v5upgrade
1209 #----------------------------------------------------------------------------#
1210 # The following block demonstrates the default behavior if no filtering is #
1211 # configured at all: All values will be sent to all available write plugins. #
1212 #----------------------------------------------------------------------------#
1214 #<Chain "PostCache">
1215 # Target "write"
1216 #</Chain>
1218 ##############################################################################
1219 # Threshold configuration #
1220 #----------------------------------------------------------------------------#
1221 # The following outlines how to configure collectd's threshold checking #
1222 # plugin. The plugin and possible configuration options are documented in #
1223 # the collectd-threshold(5) manual page. #
1224 ##############################################################################
1226 #@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin "threshold"
1227 #<Plugin "threshold">
1228 # <Type "foo">
1229 # WarningMin 0.00
1230 # WarningMax 1000.00
1231 # FailureMin 0.00
1232 # FailureMax 1200.00
1233 # Invert false
1234 # Instance "bar"
1235 # </Type>
1236 #
1237 # <Plugin "interface">
1238 # Instance "eth0"
1239 # <Type "if_octets">
1240 # FailureMax 10000000
1241 # DataSource "rx"
1242 # </Type>
1243 # </Plugin>
1244 #
1245 # <Host "hostname">
1246 # <Type "cpu">
1247 # Instance "idle"
1248 # FailureMin 10
1249 # </Type>
1250 #
1251 # <Plugin "memory">
1252 # <Type "memory">
1253 # Instance "cached"
1254 # WarningMin 100000000
1255 # </Type>
1256 # </Plugin>
1257 #
1258 # <Type "load">
1259 # DataSource "midterm"
1260 # FailureMax 4
1261 # Hits 3
1262 # Hysteresis 3
1263 # </Type>
1264 # </Host>
1265 #</Plugin>