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