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