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