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