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