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