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