c4969b40f57aa90809edd14d32feaac70dc5d940
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"
19 #Interval 10
20 #Timeout 2
21 #ReadThreads 5
23 ##############################################################################
24 # Logging #
25 #----------------------------------------------------------------------------#
26 # Plugins which provide logging functions should be loaded first, so log #
27 # messages generated when loading or configuring other plugins can be #
28 # accessed. #
29 ##############################################################################
31 @LOAD_PLUGIN_SYSLOG@LoadPlugin syslog
32 @LOAD_PLUGIN_LOGFILE@LoadPlugin logfile
34 #<Plugin logfile>
35 # LogLevel @DEFAULT_LOG_LEVEL@
36 # File STDOUT
37 # Timestamp true
38 # PrintSeverity false
39 #</Plugin>
41 #<Plugin syslog>
42 # LogLevel @DEFAULT_LOG_LEVEL@
43 #</Plugin>
45 ##############################################################################
46 # LoadPlugin section #
47 #----------------------------------------------------------------------------#
48 # Lines beginning with a single `#' belong to plugins which have been built #
49 # but are disabled by default. #
50 # #
51 # Lines begnning with `##' belong to plugins which have not been built due #
52 # to missing dependencies or because they have been deactivated explicitly. #
53 ##############################################################################
55 #@BUILD_PLUGIN_AGGREGATION_TRUE@LoadPlugin aggregation
56 #@BUILD_PLUGIN_AMQP_TRUE@LoadPlugin amqp
57 #@BUILD_PLUGIN_APACHE_TRUE@LoadPlugin apache
58 #@BUILD_PLUGIN_APCUPS_TRUE@LoadPlugin apcups
59 #@BUILD_PLUGIN_APPLE_SENSORS_TRUE@LoadPlugin apple_sensors
60 #@BUILD_PLUGIN_ASCENT_TRUE@LoadPlugin ascent
61 #@BUILD_PLUGIN_BATTERY_TRUE@LoadPlugin battery
62 #@BUILD_PLUGIN_BIND_TRUE@LoadPlugin bind
63 #@BUILD_PLUGIN_CONNTRACK_TRUE@LoadPlugin conntrack
64 #@BUILD_PLUGIN_CONTEXTSWITCH_TRUE@LoadPlugin contextswitch
65 @BUILD_PLUGIN_CPU_TRUE@@BUILD_PLUGIN_CPU_TRUE@LoadPlugin cpu
66 #@BUILD_PLUGIN_CPUFREQ_TRUE@LoadPlugin cpufreq
67 @LOAD_PLUGIN_CSV@LoadPlugin csv
68 #@BUILD_PLUGIN_CURL_TRUE@LoadPlugin curl
69 #@BUILD_PLUGIN_CURL_JSON_TRUE@LoadPlugin curl_json
70 #@BUILD_PLUGIN_CURL_XML_TRUE@LoadPlugin curl_xml
71 #@BUILD_PLUGIN_DBI_TRUE@LoadPlugin dbi
72 #@BUILD_PLUGIN_DF_TRUE@LoadPlugin df
73 #@BUILD_PLUGIN_DISK_TRUE@LoadPlugin disk
74 #@BUILD_PLUGIN_DNS_TRUE@LoadPlugin dns
75 #@BUILD_PLUGIN_EMAIL_TRUE@LoadPlugin email
76 #@BUILD_PLUGIN_ENTROPY_TRUE@LoadPlugin entropy
77 #@BUILD_PLUGIN_ETHSTAT_TRUE@LoadPlugin ethstat
78 #@BUILD_PLUGIN_EXEC_TRUE@LoadPlugin exec
79 #@BUILD_PLUGIN_FILECOUNT_TRUE@LoadPlugin filecount
80 #@BUILD_PLUGIN_FSCACHE_TRUE@LoadPlugin fscache
81 #@BUILD_PLUGIN_GMOND_TRUE@LoadPlugin gmond
82 #@BUILD_PLUGIN_HDDTEMP_TRUE@LoadPlugin hddtemp
83 @BUILD_PLUGIN_INTERFACE_TRUE@@BUILD_PLUGIN_INTERFACE_TRUE@LoadPlugin interface
84 #@BUILD_PLUGIN_IPTABLES_TRUE@LoadPlugin iptables
85 #@BUILD_PLUGIN_IPMI_TRUE@LoadPlugin ipmi
86 #@BUILD_PLUGIN_IPVS_TRUE@LoadPlugin ipvs
87 #@BUILD_PLUGIN_IRQ_TRUE@LoadPlugin irq
88 #@BUILD_PLUGIN_JAVA_TRUE@LoadPlugin java
89 #@BUILD_PLUGIN_LIBVIRT_TRUE@LoadPlugin libvirt
90 @BUILD_PLUGIN_LOAD_TRUE@@BUILD_PLUGIN_LOAD_TRUE@LoadPlugin load
91 #@BUILD_PLUGIN_LPAR_TRUE@LoadPlugin lpar
92 #@BUILD_PLUGIN_MADWIFI_TRUE@LoadPlugin madwifi
93 #@BUILD_PLUGIN_MBMON_TRUE@LoadPlugin mbmon
94 #@BUILD_PLUGIN_MD_TRUE@LoadPlugin md
95 #@BUILD_PLUGIN_MEMCACHEC_TRUE@LoadPlugin memcachec
96 #@BUILD_PLUGIN_MEMCACHED_TRUE@LoadPlugin memcached
97 @BUILD_PLUGIN_MEMORY_TRUE@@BUILD_PLUGIN_MEMORY_TRUE@LoadPlugin memory
98 #@BUILD_PLUGIN_MODBUS_TRUE@LoadPlugin modbus
99 #@BUILD_PLUGIN_MULTIMETER_TRUE@LoadPlugin multimeter
100 #@BUILD_PLUGIN_MYSQL_TRUE@LoadPlugin mysql
101 #@BUILD_PLUGIN_NETAPP_TRUE@LoadPlugin netapp
102 #@BUILD_PLUGIN_NETLINK_TRUE@LoadPlugin netlink
103 @LOAD_PLUGIN_NETWORK@LoadPlugin network
104 #@BUILD_PLUGIN_NFS_TRUE@LoadPlugin nfs
105 #@BUILD_PLUGIN_NGINX_TRUE@LoadPlugin nginx
106 #@BUILD_PLUGIN_NOTIFY_DESKTOP_TRUE@LoadPlugin notify_desktop
107 #@BUILD_PLUGIN_NOTIFY_EMAIL_TRUE@LoadPlugin notify_email
108 #@BUILD_PLUGIN_NTPD_TRUE@LoadPlugin ntpd
109 #@BUILD_PLUGIN_NUMA_TRUE@LoadPlugin numa
110 #@BUILD_PLUGIN_NUT_TRUE@LoadPlugin nut
111 #@BUILD_PLUGIN_OLSRD_TRUE@LoadPlugin olsrd
112 #@BUILD_PLUGIN_ONEWIRE_TRUE@LoadPlugin onewire
113 #@BUILD_PLUGIN_OPENVPN_TRUE@LoadPlugin openvpn
114 #@BUILD_PLUGIN_ORACLE_TRUE@LoadPlugin oracle
115 #@BUILD_PLUGIN_PERL_TRUE@<LoadPlugin perl>
116 #@BUILD_PLUGIN_PERL_TRUE@ Globals true
117 #@BUILD_PLUGIN_PERL_TRUE@</LoadPlugin>
118 #@BUILD_PLUGIN_PINBA_TRUE@LoadPlugin pinba
119 #@BUILD_PLUGIN_PING_TRUE@LoadPlugin ping
120 #@BUILD_PLUGIN_POSTGRESQL_TRUE@LoadPlugin postgresql
121 #@BUILD_PLUGIN_POWERDNS_TRUE@LoadPlugin powerdns
122 #@BUILD_PLUGIN_PROCESSES_TRUE@LoadPlugin processes
123 #@BUILD_PLUGIN_PROTOCOLS_TRUE@LoadPlugin protocols
124 #@BUILD_PLUGIN_PYTHON_TRUE@<LoadPlugin python>
125 #@BUILD_PLUGIN_PYTHON_TRUE@ Globals true
126 #@BUILD_PLUGIN_PYTHON_TRUE@</LoadPlugin>
127 #@BUILD_PLUGIN_REDIS_TRUE@LoadPlugin redis
128 #@BUILD_PLUGIN_RIEMANN_TRUE@LoadPlugin riemann
129 #@BUILD_PLUGIN_ROUTEROS_TRUE@LoadPlugin routeros
130 #@BUILD_PLUGIN_RRDCACHED_TRUE@LoadPlugin rrdcached
131 @LOAD_PLUGIN_RRDTOOL@LoadPlugin rrdtool
132 #@BUILD_PLUGIN_SENSORS_TRUE@LoadPlugin sensors
133 #@BUILD_PLUGIN_SERIAL_TRUE@LoadPlugin serial
134 #@BUILD_PLUGIN_SNMP_TRUE@LoadPlugin snmp
135 #@BUILD_PLUGIN_SWAP_TRUE@LoadPlugin swap
136 #@BUILD_PLUGIN_TABLE_TRUE@LoadPlugin table
137 #@BUILD_PLUGIN_TAIL_TRUE@LoadPlugin tail
138 #@BUILD_PLUGIN_TAPE_TRUE@LoadPlugin tape
139 #@BUILD_PLUGIN_TCPCONNS_TRUE@LoadPlugin tcpconns
140 #@BUILD_PLUGIN_TEAMSPEAK2_TRUE@LoadPlugin teamspeak2
141 #@BUILD_PLUGIN_TED_TRUE@LoadPlugin ted
142 #@BUILD_PLUGIN_THERMAL_TRUE@LoadPlugin thermal
143 #@BUILD_PLUGIN_TOKYOTYRANT_TRUE@LoadPlugin tokyotyrant
144 #@BUILD_PLUGIN_UNIXSOCK_TRUE@LoadPlugin unixsock
145 #@BUILD_PLUGIN_UPTIME_TRUE@LoadPlugin uptime
146 #@BUILD_PLUGIN_USERS_TRUE@LoadPlugin users
147 #@BUILD_PLUGIN_UUID_TRUE@LoadPlugin uuid
148 #@BUILD_PLUGIN_VARNISH_TRUE@LoadPlugin varnish
149 #@BUILD_PLUGIN_VMEM_TRUE@LoadPlugin vmem
150 #@BUILD_PLUGIN_VSERVER_TRUE@LoadPlugin vserver
151 #@BUILD_PLUGIN_WIRELESS_TRUE@LoadPlugin wireless
152 #@BUILD_PLUGIN_WRITE_GRAPHITE_TRUE@LoadPlugin write_graphite
153 #@BUILD_PLUGIN_WRITE_HTTP_TRUE@LoadPlugin write_http
154 #@BUILD_PLUGIN_WRITE_REDIS_TRUE@LoadPlugin write_redis
155 #@BUILD_PLUGIN_WRITE_MONGODB_TRUE@LoadPlugin write_mongodb
156 #@BUILD_PLUGIN_XMMS_TRUE@LoadPlugin xmms
157 #@BUILD_PLUGIN_ZFS_ARC_TRUE@LoadPlugin zfs_arc
159 ##############################################################################
160 # Plugin configuration #
161 #----------------------------------------------------------------------------#
162 # In this section configuration stubs for each plugin are provided. A desc- #
163 # ription of those options is available in the collectd.conf(5) manual page. #
164 ##############################################################################
166 #<Plugin "aggregation">
167 # <Aggregation>
168 # #Host "unspecified"
169 # Plugin "cpu"
170 # #PluginInstance "unspecified"
171 # Type "cpu"
172 # #TypeInstance "unspecified"
173 #
174 # GroupBy "Host"
175 # GroupBy "TypeInstance"
176 #
177 # CalculateNum false
178 # CalculateSum false
179 # CalculateAverage true
180 # CalculateMinimum false
181 # CalculateMaximum false
182 # CalculateStddev false
183 # </Aggregation>
184 #</Plugin>
186 #<Plugin "amqp">
187 # <Publish "name">
188 # Host "localhost"
189 # Port "5672"
190 # VHost "/"
191 # User "guest"
192 # Password "guest"
193 # Exchange "amq.fanout"
194 # RoutingKey "collectd"
195 # Persistent false
196 # StoreRates false
197 # </Publish>
198 #</Plugin>
200 #<Plugin apache>
201 # <Instance "local">
202 # URL "http://localhost/status?auto"
203 # User "www-user"
204 # Password "secret"
205 # CACert "/etc/ssl/ca.crt"
206 # </Instance>
207 #</Plugin>
209 #<Plugin apcups>
210 # Host "localhost"
211 # Port "3551"
212 # ReportSeconds true
213 #</Plugin>
215 #<Plugin ascent>
216 # URL "http://localhost/ascent/status/"
217 # User "www-user"
218 # Password "secret"
219 # CACert "/etc/ssl/ca.crt"
220 #</Plugin>
222 #<Plugin "bind">
223 # URL "http://localhost:8053/"
224 # ParseTime false
225 # OpCodes true
226 # QTypes true
227 #
228 # ServerStats true
229 # ZoneMaintStats true
230 # ResolverStats false
231 # MemoryStats true
232 #
233 # <View "_default">
234 # QTypes true
235 # ResolverStats true
236 # CacheRRSets true
237 #
238 # Zone "127.in-addr.arpa/IN"
239 # </View>
240 #</Plugin>
242 #<Plugin csv>
243 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/csv"
244 # StoreRates false
245 #</Plugin>
247 #<Plugin curl>
248 # <Page "stock_quotes">
249 # URL "http://finance.google.com/finance?q=NYSE%3AAMD"
250 # User "foo"
251 # Password "bar"
252 # MeasureResponseTime false
253 # <Match>
254 # Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
255 # DSType "GaugeAverage"
256 # Type "stock_value"
257 # Instance "AMD"
258 # </Match>
259 # </Page>
260 #</Plugin>
262 #<Plugin curl_json>
263 ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
264 # <URL "http://localhost:5984/_stats">
265 # Instance "httpd"
266 # <Key "httpd/requests/count">
267 # Type "http_requests"
268 # </Key>
269 #
270 # <Key "httpd_request_methods/*/count">
271 # Type "http_request_methods"
272 # </Key>
273 #
274 # <Key "httpd_status_codes/*/count">
275 # Type "http_response_codes"
276 # </Key>
277 # </URL>
278 ## Database status metrics:
279 # <URL "http://localhost:5984/_all_dbs">
280 # Instance "dbs"
281 # <Key "*/doc_count">
282 # Type "gauge"
283 # </Key>
284 # <Key "*/doc_del_count">
285 # Type "counter"
286 # </Key>
287 # <Key "*/disk_size">
288 # Type "bytes"
289 # </Key>
290 # </URL>
291 #</Plugin>
293 #<Plugin "curl_xml">
294 # <URL "http://localhost/stats.xml">
295 # Host "my_host"
296 # Instance "some_instance"
297 # User "collectd"
298 # Password "thaiNg0I"
299 # VerifyPeer true
300 # VerifyHost true
301 # CACert "/path/to/ca.crt"
302 #
303 # <XPath "table[@id=\"magic_level\"]/tr">
304 # Type "magic_level"
305 # #InstancePrefix "prefix-"
306 # InstanceFrom "td[1]"
307 # ValuesFrom "td[2]/span[@class=\"level\"]"
308 # </XPath>
309 # </URL>
310 #</Plugin>
312 #<Plugin dbi>
313 # <Query "num_of_customers">
314 # Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value FROM customers_tbl"
315 # <Result>
316 # Type "gauge"
317 # InstancesFrom "c_key"
318 # ValuesFrom "c_value"
319 # </Result>
320 # </Query>
321 # <Database "customers_db">
322 # Driver "mysql"
323 # DriverOption "host" "localhost"
324 # DriverOption "username" "collectd"
325 # DriverOption "password" "AeXohy0O"
326 # DriverOption "dbname" "custdb0"
327 # #SelectDB "custdb0"
328 # Query "num_of_customers"
329 # #Query "..."
330 # </Database>
331 #</Plugin>
333 #<Plugin df>
334 # Device "/dev/hda1"
335 # Device "192.168.0.2:/mnt/nfs"
336 # MountPoint "/home"
337 # FSType "ext3"
338 # IgnoreSelected false
339 # ReportByDevice false
340 # ReportReserved false
341 # ReportInodes false
342 #</Plugin>
344 #<Plugin disk>
345 # Disk "/^[hs]d[a-f][0-9]?$/"
346 # IgnoreSelected false
347 #</Plugin>
349 #<Plugin dns>
350 # Interface "eth0"
351 # IgnoreSource "192.168.0.1"
352 # SelectNumericQueryTypes true
353 #</Plugin>
355 #<Plugin email>
356 # SocketFile "@localstatedir@/run/@PACKAGE_NAME@-email"
357 # SocketGroup "collectd"
358 # SocketPerms "0770"
359 # MaxConns 5
360 #</Plugin>
362 #<Plugin ethstat>
363 # Interface "eth0"
364 # Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload"
365 # Map "multicast" "if_multicast"
366 # MappedOnly false
367 #</Plugin>
369 #<Plugin exec>
370 # Exec "user:group" "/path/to/exec"
371 # NotificationExec "user:group" "/path/to/exec"
372 #</Plugin>
374 #<Plugin filecount>
375 # <Directory "/path/to/dir">
376 # Instance "foodir"
377 # Name "*.conf"
378 # MTime "-5m"
379 # Size "+10k"
380 # Recursive true
381 # IncludeHidden false
382 # </Directory>
383 #</Plugin>
385 #<Plugin "gmond">
386 # MCReceiveFrom "239.2.11.71" "8649"
387 # <Metric "swap_total">
388 # Type "swap"
389 # TypeInstance "total"
390 # DataSource "value"
391 # </Metric>
392 # <Metric "swap_free">
393 # Type "swap"
394 # TypeInstance "free"
395 # DataSource "value"
396 # </Metric>
397 #</Plugin>
399 #<Plugin hddtemp>
400 # Host "127.0.0.1"
401 # Port "7634"
402 #</Plugin>
404 #<Plugin interface>
405 # Interface "eth0"
406 # IgnoreSelected false
407 #</Plugin>
409 #<Plugin ipmi>
410 # Sensor "some_sensor"
411 # Sensor "another_one"
412 # IgnoreSelected false
413 # NotifySensorAdd false
414 # NotifySensorRemove true
415 # NotifySensorNotPresent false
416 #</Plugin>
418 #<Plugin iptables>
419 # Chain table chain
420 #</Plugin>
422 #<Plugin irq>
423 # Irq 7
424 # Irq 8
425 # Irq 9
426 # IgnoreSelected true
427 #</Plugin>
429 #<Plugin "java">
430 # JVMArg "-verbose:jni"
431 # JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
432 #
433 # LoadPlugin "org.collectd.java.Foobar"
434 # <Plugin "org.collectd.java.Foobar">
435 # # To be parsed by the plugin
436 # </Plugin>
437 #</Plugin>
439 #<Plugin libvirt>
440 # Connection "xen:///"
441 # RefreshInterval 60
442 # Domain "name"
443 # BlockDevice "name:device"
444 # InterfaceDevice "name:device"
445 # IgnoreSelected false
446 # HostnameFormat name
447 # InterfaceFormat name
448 #</Plugin>
450 #<Plugin lpar>
451 # CpuPoolStats false
452 # ReportBySerial false
453 #</Plugin>
455 #<Plugin madwifi>
456 # Interface "wlan0"
457 # IgnoreSelected false
458 # Source "SysFS"
459 # WatchSet "None"
460 # WatchAdd "node_octets"
461 # WatchAdd "node_rssi"
462 # WatchAdd "is_rx_acl"
463 # WatchAdd "is_scan_active"
464 #</Plugin>
466 #<Plugin mbmon>
467 # Host "127.0.0.1"
468 # Port "411"
469 #</Plugin>
471 #<Plugin md>
472 # Device "/dev/md0"
473 # IgnoreSelected false
474 #</Plugin>
476 #<Plugin memcachec>
477 # <Page "plugin_instance">
478 # Server "localhost"
479 # Key "page_key"
480 # <Match>
481 # Regex "(\\d+) bytes sent"
482 # ExcludeRegex "<lines to be excluded>"
483 # DSType CounterAdd
484 # Type "ipt_octets"
485 # Instance "type_instance"
486 # </Match>
487 # </Page>
488 #</Plugin>
490 #<Plugin memcached>
491 # <Instance "local">
492 # Host "127.0.0.1"
493 # Port "11211"
494 # </Instance>
495 #</Plugin>
497 #<Plugin modbus>
498 # <Data "data_name">
499 # RegisterBase 1234
500 # RegisterType float
501 # Type gauge
502 # Instance "..."
503 # </Data>
504 #
505 # <Host "name">
506 # Address "addr"
507 # Port "1234"
508 # Interval 60
509 #
510 # <Slave 1>
511 # Instance "foobar" # optional
512 # Collect "data_name"
513 # </Slave>
514 # </Host>
515 #</Plugin>
517 #<Plugin mysql>
518 # <Database db_name>
519 # Host "database.serv.er"
520 # User "db_user"
521 # Password "secret"
522 # Database "db_name"
523 # MasterStats true
524 # </Database>
525 #
526 # <Database db_name2>
527 # Host "localhost"
528 # Socket "/var/run/mysql/mysqld.sock"
529 # SlaveStats true
530 # SlaveNotifications true
531 # </Database>
532 #</Plugin>
534 #<Plugin netapp>
535 # <Host "netapp1.example.com">
536 # Protocol "https"
537 # Address "10.0.0.1"
538 # Port 443
539 # User "username"
540 # Password "aef4Aebe"
541 # Interval 30
542 #
543 # <WAFL>
544 # Interval 30
545 # GetNameCache true
546 # GetDirCache true
547 # GetBufferCache true
548 # GetInodeCache true
549 # </WAFL>
550 #
551 # <Disks>
552 # Interval 30
553 # GetBusy true
554 # </Disks>
555 #
556 # <VolumePerf>
557 # Interval 30
558 # GetIO "volume0"
559 # IgnoreSelectedIO false
560 # GetOps "volume0"
561 # IgnoreSelectedOps false
562 # GetLatency "volume0"
563 # IgnoreSelectedLatency false
564 # </VolumePerf>
565 #
566 # <VolumeUsage>
567 # Interval 30
568 # GetCapacity "vol0"
569 # GetCapacity "vol1"
570 # IgnoreSelectedCapacity false
571 # GetSnapshot "vol1"
572 # GetSnapshot "vol3"
573 # IgnoreSelectedSnapshot false
574 # </VolumeUsage>
575 #
576 # <System>
577 # Interval 30
578 # GetCPULoad true
579 # GetInterfaces true
580 # GetDiskOps true
581 # GetDiskIO true
582 # </System>
583 # </Host>
584 #</Plugin>
586 #<Plugin netlink>
587 # Interface "All"
588 # VerboseInterface "All"
589 # QDisc "eth0" "pfifo_fast-1:0"
590 # Class "ppp0" "htb-1:10"
591 # Filter "ppp0" "u32-1:0"
592 # IgnoreSelected false
593 #</Plugin>
595 @LOAD_PLUGIN_NETWORK@<Plugin network>
596 # # client setup:
597 @LOAD_PLUGIN_NETWORK@ Server "ff18::efc0:4a42" "25826"
598 @LOAD_PLUGIN_NETWORK@ <Server "239.192.74.66" "25826">
599 # SecurityLevel Encrypt
600 # Username "user"
601 # Password "secret"
602 # Interface "eth0"
603 @LOAD_PLUGIN_NETWORK@ </Server>
604 # TimeToLive "128"
605 #
606 # # server setup:
607 # Listen "ff18::efc0:4a42" "25826"
608 # <Listen "239.192.74.66" "25826">
609 # SecurityLevel Sign
610 # AuthFile "/etc/collectd/passwd"
611 # Interface "eth0"
612 # </Listen>
613 # MaxPacketSize 1024
614 #
615 # # proxy setup (client and server as above):
616 # Forward true
617 #
618 # # statistics about the network plugin itself
619 # ReportStats false
620 #
621 # # "garbage collection"
622 # CacheFlush 1800
623 @LOAD_PLUGIN_NETWORK@</Plugin>
625 #<Plugin nginx>
626 # URL "http://localhost/status?auto"
627 # User "www-user"
628 # Password "secret"
629 # CACert "/etc/ssl/ca.crt"
630 #</Plugin>
632 #<Plugin notify_desktop>
633 # OkayTimeout 1000
634 # WarningTimeout 5000
635 # FailureTimeout 0
636 #</Plugin>
638 #<Plugin notify_email>
639 # SMTPServer "localhost"
640 # SMTPPort 25
641 # SMTPUser "my-username"
642 # SMTPPassword "my-password"
643 # From "collectd@main0server.com"
644 # # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
645 # Subject "Aaaaaa!! %s on %s!!!!!"
646 # Recipient "email1@domain1.net"
647 # Recipient "email2@domain2.com"
648 #</Plugin>
650 #<Plugin ntpd>
651 # Host "localhost"
652 # Port 123
653 # ReverseLookups false
654 # IncludeUnitID true
655 #</Plugin>
657 #<Plugin nut>
658 # UPS "upsname@hostname:port"
659 #</Plugin>
661 #<Plugin olsrd>
662 # Host "127.0.0.1"
663 # Port "2006"
664 # CollectLinks "Summary"
665 # CollectRoutes "Summary"
666 # CollectTopology "Summary"
667 #</Plugin>
669 #<Plugin onewire>
670 # Device "-s localhost:4304"
671 # Sensor "F10FCA000800"
672 # IgnoreSelected false
673 #</Plugin>
675 #<Plugin openvpn>
676 # StatusFile "/etc/openvpn/openvpn-status.log"
677 # ImprovedNamingSchema false
678 # CollectCompression true
679 # CollectIndividualUsers true
680 # CollectUserCount false
681 #</Plugin>
683 #<Plugin oracle>
684 # <Query "out_of_stock">
685 # Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
686 # <Result>
687 # Type "gauge"
688 # InstancesFrom "category"
689 # ValuesFrom "value"
690 # </Result>
691 # </Query>
692 # <Database "product_information">
693 # ConnectID "db01"
694 # Username "oracle"
695 # Password "secret"
696 # Query "out_of_stock"
697 # </Database>
698 #</Plugin>
700 #<Plugin perl>
701 # IncludeDir "/my/include/path"
702 # BaseName "Collectd::Plugins"
703 # EnableDebugger ""
704 # LoadPlugin Monitorus
705 # LoadPlugin OpenVZ
706 #
707 # <Plugin foo>
708 # Foo "Bar"
709 # Qux "Baz"
710 # </Plugin>
711 #</Plugin>
713 #<Plugin pinba>
714 # Address "::0"
715 # Port "30002"
716 # <View "name">
717 # Host "host name"
718 # Server "server name"
719 # Script "script name"
720 # </View>
721 #</Plugin>
723 #<Plugin ping>
724 # Host "host.foo.bar"
725 # Interval 1.0
726 # Timeout 0.9
727 # TTL 255
728 # SourceAddress "1.2.3.4"
729 # Device "eth0"
730 # MaxMissed -1
731 #</Plugin>
733 #<Plugin postgresql>
734 # <Query magic>
735 # Statement "SELECT magic FROM wizard WHERE host = $1;"
736 # Param hostname
737 # <Result>
738 # Type gauge
739 # InstancePrefix "magic"
740 # ValuesFrom magic
741 # </Result>
742 # </Query>
743 # <Query rt36_tickets>
744 # Statement "SELECT COUNT(type) AS count, type \
745 # FROM (SELECT CASE \
746 # WHEN resolved = 'epoch' THEN 'open' \
747 # ELSE 'resolved' END AS type \
748 # FROM tickets) type \
749 # GROUP BY type;"
750 # <Result>
751 # Type counter
752 # InstancePrefix "rt36_tickets"
753 # InstancesFrom "type"
754 # ValuesFrom "count"
755 # </Result>
756 # </Query>
757 # <Database foo>
758 # Host "hostname"
759 # Port "5432"
760 # User "username"
761 # Password "secret"
762 # SSLMode "prefer"
763 # KRBSrvName "kerberos_service_name"
764 # Query magic
765 # </Database>
766 # <Database bar>
767 # Interval 60
768 # Service "service_name"
769 # Query backend # predefined
770 # Query rt36_tickets
771 # </Database>
772 #</Plugin>
774 #<Plugin powerdns>
775 # <Server "server_name">
776 # Collect "latency"
777 # Collect "udp-answers" "udp-queries"
778 # Socket "/var/run/pdns.controlsocket"
779 # </Server>
780 # <Recursor "recursor_name">
781 # Collect "questions"
782 # Collect "cache-hits" "cache-misses"
783 # Socket "/var/run/pdns_recursor.controlsocket"
784 # </Recursor>
785 # LocalSocket "/opt/collectd/var/run/collectd-powerdns"
786 #</Plugin>
788 #<Plugin processes>
789 # Process "name"
790 #</Plugin>
792 #<Plugin protocols>
793 # Value "/^Tcp:/"
794 # IgnoreSelected false
795 #</Plugin>
797 #<Plugin python>
798 # ModulePath "/path/to/your/python/modules"
799 # LogTraces true
800 # Interactive true
801 # Import "spam"
802 #
803 # <Module spam>
804 # spam "wonderful" "lovely"
805 # </Module>
806 #</Plugin>
808 #<Plugin redis>
809 # <Node example>
810 # Host "redis.example.com"
811 # Port "6379"
812 # Timeout 2000
813 # </Node>
814 #</Plugin>
816 #<Plugin riemann>
817 # <Host "localhost">
818 # Port 5555
819 # Delay 2
820 # </Host>
821 #</Plugin>
823 #<Plugin routeros>
824 # <Router>
825 # Host "router.example.com"
826 # Port "8728"
827 # User "admin"
828 # Password "dozaiTh4"
829 # CollectInterface true
830 # CollectRegistrationTable true
831 # CollectCPULoad true
832 # CollectMemory true
833 # CollectDF true
834 # CollectDisk true
835 # </Router>
836 #</Plugin>
838 #<Plugin rrdcached>
839 # DaemonAddress "unix:/tmp/rrdcached.sock"
840 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
841 # CreateFiles true
842 # CollectStatistics true
843 #</Plugin>
845 #<Plugin rrdtool>
846 # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
847 # CacheTimeout 120
848 # CacheFlush 900
849 #</Plugin>
851 #<Plugin sensors>
852 # SensorConfigFile "/etc/sensors.conf"
853 # Sensor "it8712-isa-0290/temperature-temp1"
854 # Sensor "it8712-isa-0290/fanspeed-fan3"
855 # Sensor "it8712-isa-0290/voltage-in8"
856 # IgnoreSelected false
857 #</Plugin>
859 #<Plugin snmp>
860 # <Data "powerplus_voltge_input">
861 # Type "voltage"
862 # Table false
863 # Instance "input_line1"
864 # Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
865 # </Data>
866 # <Data "hr_users">
867 # Type "users"
868 # Table false
869 # Instance ""
870 # Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
871 # </Data>
872 # <Data "std_traffic">
873 # Type "if_octets"
874 # Table true
875 # Instance "IF-MIB::ifDescr"
876 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
877 # </Data>
878 #
879 # <Host "some.switch.mydomain.org">
880 # Address "192.168.0.2"
881 # Version 1
882 # Community "community_string"
883 # Collect "std_traffic"
884 # Interval 120
885 # </Host>
886 # <Host "some.server.mydomain.org">
887 # Address "192.168.0.42"
888 # Version 2
889 # Community "another_string"
890 # Collect "std_traffic" "hr_users"
891 # </Host>
892 # <Host "some.ups.mydomain.org">
893 # Address "192.168.0.3"
894 # Version 1
895 # Community "more_communities"
896 # Collect "powerplus_voltge_input"
897 # Interval 300
898 # </Host>
899 #</Plugin>
901 #<Plugin "swap">
902 # ReportByDevice false
903 # ReportBytes true
904 #</Plugin>
906 #<Plugin "table">
907 # <Table "/proc/slabinfo">
908 # Instance "slabinfo"
909 # Separator " "
910 # <Result>
911 # Type gauge
912 # InstancePrefix "active_objs"
913 # InstancesFrom 0
914 # ValuesFrom 1
915 # </Result>
916 # <Result>
917 # Type gauge
918 # InstancePrefix "objperslab"
919 # InstancesFrom 0
920 # ValuesFrom 4
921 # </Result>
922 # </Table>
923 #</Plugin>
925 #<Plugin "tail">
926 # <File "/var/log/exim4/mainlog">
927 # Instance "exim"
928 # <Match>
929 # Regex "S=([1-9][0-9]*)"
930 # DSType "CounterAdd"
931 # Type "ipt_bytes"
932 # Instance "total"
933 # </Match>
934 # <Match>
935 # Regex "\\<R=local_user\\>"
936 # ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
937 # DSType "CounterInc"
938 # Type "counter"
939 # Instance "local_user"
940 # </Match>
941 # </File>
942 #</Plugin>
944 #<Plugin tcpconns>
945 # ListeningPorts false
946 # LocalPort "25"
947 # RemotePort "25"
948 #</Plugin>
950 #<Plugin teamspeak2>
951 # Host "127.0.0.1"
952 # Port "51234"
953 # Server "8767"
954 #</Plugin>
956 #<Plugin ted>
957 # Device "/dev/ttyUSB0"
958 # Retries 0
959 #</Plugin>
961 #<Plugin thermal>
962 # ForceUseProcfs false
963 # Device "THRM"
964 # IgnoreSelected false
965 #</Plugin>
967 #<Plugin tokyotyrant>
968 # Host "localhost"
969 # Port "1978"
970 #</Plugin>
972 #<Plugin unixsock>
973 # SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
974 # SocketGroup "collectd"
975 # SocketPerms "0660"
976 # DeleteSocket false
977 #</Plugin>
979 #<Plugin uuid>
980 # UUIDFile "/etc/uuid"
981 #</Plugin>
983 #<Plugin varnish>
984 # This tag support an argument if you want to
985 # monitor the local instance just use </Instance>
986 # If you prefer defining another instance you can do
987 # so by using <Instance "myinstance">
988 # <Instance>
989 # CollectCache true
990 # CollectBackend true
991 # CollectConnections true
992 # CollectSHM true
993 # CollectESI false
994 # CollectFetch false
995 # CollectHCB false
996 # CollectSMA false
997 # CollectSMS false
998 # CollectSM false
999 # CollectTotals false
1000 # CollectWorkers false
1001 # </Instance>
1002 #</Plugin>
1004 #<Plugin vmem>
1005 # Verbose false
1006 #</Plugin>
1008 #<Plugin write_graphite>
1009 # <Carbon>
1010 # Host "localhost"
1011 # Port "2003"
1012 # Prefix "collectd"
1013 # Postfix "collectd"
1014 # StoreRates false
1015 # AlwaysAppendDS false
1016 # EscapeCharacter "_"
1017 # </Carbon>
1018 #</Plugin>
1020 #<Plugin write_http>
1021 # <URL "http://example.com/collectd-post">
1022 # User "collectd"
1023 # Password "weCh3ik0"
1024 # VerifyPeer true
1025 # VerifyHost true
1026 # CACert "/etc/ssl/ca.crt"
1027 # Format "Command"
1028 # StoreRates false
1029 # </URL>
1030 #</Plugin>
1032 #<Plugin write_redis>
1033 # <Node "example">
1034 # Host "localhost"
1035 # Port "6379"
1036 # Timeout 1000
1037 # </Node>
1038 #</Plugin>
1040 #<Plugin write_mongodb>
1041 # <Node "example">
1042 # Host "localhost"
1043 # Port "27017"
1044 # Timeout 1000
1045 # StoreRates false
1046 # </Node>
1047 #</Plugin>
1049 ##############################################################################
1050 # Filter configuration #
1051 #----------------------------------------------------------------------------#
1052 # The following configures collectd's filtering mechanism. Before changing #
1053 # anything in this section, please read the `FILTER CONFIGURATION' section #
1054 # in the collectd.conf(5) manual page. #
1055 ##############################################################################
1057 # Load required matches:
1058 #@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter
1059 #@BUILD_PLUGIN_MATCH_HASHED_TRUE@LoadPlugin match_hashed
1060 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
1061 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
1062 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
1064 # Load required targets:
1065 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
1066 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
1067 #@BUILD_PLUGIN_TARGET_SCALE_TRUE@LoadPlugin target_scale
1068 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
1069 #@BUILD_PLUGIN_TARGET_V5UPGRADE_TRUE@LoadPlugin target_v5upgrade
1071 #----------------------------------------------------------------------------#
1072 # The following block demonstrates the default behavior if no filtering is #
1073 # configured at all: All values will be sent to all available write plugins. #
1074 #----------------------------------------------------------------------------#
1076 #<Chain "PostCache">
1077 # Target "write"
1078 #</Chain>
1080 ##############################################################################
1081 # Threshold configuration #
1082 #----------------------------------------------------------------------------#
1083 # The following outlines how to configure collectd's threshold checking #
1084 # plugin. The plugin and possible configuration options are documented in #
1085 # the collectd-threshold(5) manual page. #
1086 ##############################################################################
1088 #@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin "threshold"
1089 #<Plugin "threshold">
1090 # <Type "foo">
1091 # WarningMin 0.00
1092 # WarningMax 1000.00
1093 # FailureMin 0.00
1094 # FailureMax 1200.00
1095 # Invert false
1096 # Instance "bar"
1097 # </Type>
1098 #
1099 # <Plugin "interface">
1100 # Instance "eth0"
1101 # <Type "if_octets">
1102 # FailureMax 10000000
1103 # DataSource "rx"
1104 # </Type>
1105 # </Plugin>
1106 #
1107 # <Host "hostname">
1108 # <Type "cpu">
1109 # Instance "idle"
1110 # FailureMin 10
1111 # </Type>
1112 #
1113 # <Plugin "memory">
1114 # <Type "memory">
1115 # Instance "cached"
1116 # WarningMin 100000000
1117 # </Type>
1118 # </Plugin>
1119 #
1120 # <Type "load">
1121 # DataSource "midterm"
1122 # FailureMax 4
1123 # Hits 3
1124 # Hysteresis 3
1125 # </Type>
1126 # </Host>
1127 #</Plugin>