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