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