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 #</Plugin>
345 #<Plugin exec>
346 # Exec "user:group" "/path/to/exec"
347 # NotificationExec "user:group" "/path/to/exec"
348 #</Plugin>
350 #<Plugin filecount>
351 # <Directory "/path/to/dir">
352 # Instance "foodir"
353 # Name "*.conf"
354 # MTime "-5m"
355 # Size "+10k"
356 # Recursive true
357 # IncludeHidden false
358 # </Directory>
359 #</Plugin>
361 #<Plugin "gmond">
362 # MCReceiveFrom "239.2.11.71" "8649"
363 # <Metric "swap_total">
364 # Type "swap"
365 # TypeInstance "total"
366 # DataSource "value"
367 # </Metric>
368 # <Metric "swap_free">
369 # Type "swap"
370 # TypeInstance "free"
371 # DataSource "value"
372 # </Metric>
373 #</Plugin>
375 #<Plugin hddtemp>
376 # Host "127.0.0.1"
377 # Port "7634"
378 #</Plugin>
380 #<Plugin interface>
381 # Interface "eth0"
382 # IgnoreSelected false
383 #</Plugin>
385 #<Plugin ipmi>
386 # Sensor "some_sensor"
387 # Sensor "another_one"
388 # IgnoreSelected false
389 # NotifySensorAdd false
390 # NotifySensorRemove true
391 # NotifySensorNotPresent false
392 #</Plugin>
394 #<Plugin iptables>
395 # Chain table chain
396 #</Plugin>
398 #<Plugin irq>
399 # Irq 7
400 # Irq 8
401 # Irq 9
402 # IgnoreSelected true
403 #</Plugin>
405 #<Plugin "java">
406 # JVMArg "-verbose:jni"
407 # JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
408 #
409 # LoadPlugin "org.collectd.java.Foobar"
410 # <Plugin "org.collectd.java.Foobar">
411 # # To be parsed by the plugin
412 # </Plugin>
413 #</Plugin>
415 #<Plugin libvirt>
416 # Connection "xen:///"
417 # RefreshInterval 60
418 # Domain "name"
419 # BlockDevice "name:device"
420 # InterfaceDevice "name:device"
421 # IgnoreSelected false
422 # HostnameFormat name
423 # InterfaceFormat name
424 #</Plugin>
426 #<Plugin lpar>
427 # CpuPoolStats false
428 # ReportBySerial false
429 #</Plugin>
431 #<Plugin madwifi>
432 # Interface "wlan0"
433 # IgnoreSelected false
434 # Source "SysFS"
435 # WatchSet "None"
436 # WatchAdd "node_octets"
437 # WatchAdd "node_rssi"
438 # WatchAdd "is_rx_acl"
439 # WatchAdd "is_scan_active"
440 #</Plugin>
442 #<Plugin mbmon>
443 # Host "127.0.0.1"
444 # Port "411"
445 #</Plugin>
447 #<Plugin md>
448 # Device "/dev/md0"
449 # IgnoreSelected false
450 #</Plugin>
452 #<Plugin memcachec>
453 # <Page "plugin_instance">
454 # Server "localhost"
455 # Key "page_key"
456 # <Match>
457 # Regex "(\\d+) bytes sent"
458 # ExcludeRegex "<lines to be excluded>"
459 # DSType CounterAdd
460 # Type "ipt_octets"
461 # Instance "type_instance"
462 # </Match>
463 # </Page>
464 #</Plugin>
466 #<Plugin memcached>
467 # Host "127.0.0.1"
468 # Port "11211"
469 #</Plugin>
471 #<Plugin modbus>
472 # <Data "data_name">
473 # RegisterBase 1234
474 # RegisterType float
475 # Type gauge
476 # Instance "..."
477 # </Data>
478 #
479 # <Host "name">
480 # Address "addr"
481 # Port "1234"
482 # Interval 60
483 #
484 # <Slave 1>
485 # Instance "foobar" # optional
486 # Collect "data_name"
487 # </Slave>
488 # </Host>
489 #</Plugin>
491 #<Plugin mysql>
492 # <Database db_name>
493 # Host "database.serv.er"
494 # User "db_user"
495 # Password "secret"
496 # Database "db_name"
497 # MasterStats true
498 # </Database>
499 #
500 # <Database db_name2>
501 # Host "localhost"
502 # Socket "/var/run/mysql/mysqld.sock"
503 # SlaveStats true
504 # SlaveNotifications true
505 # </Database>
506 #</Plugin>
508 #<Plugin netapp>
509 # <Host "netapp1.example.com">
510 # Protocol "https"
511 # Address "10.0.0.1"
512 # Port 443
513 # User "username"
514 # Password "aef4Aebe"
515 # Interval 30
516 #
517 # <WAFL>
518 # Interval 30
519 # GetNameCache true
520 # GetDirCache true
521 # GetBufferCache true
522 # GetInodeCache true
523 # </WAFL>
524 #
525 # <Disks>
526 # Interval 30
527 # GetBusy true
528 # </Disks>
529 #
530 # <VolumePerf>
531 # Interval 30
532 # GetIO "volume0"
533 # IgnoreSelectedIO false
534 # GetOps "volume0"
535 # IgnoreSelectedOps false
536 # GetLatency "volume0"
537 # IgnoreSelectedLatency false
538 # </VolumePerf>
539 #
540 # <VolumeUsage>
541 # Interval 30
542 # GetCapacity "vol0"
543 # GetCapacity "vol1"
544 # IgnoreSelectedCapacity false
545 # GetSnapshot "vol1"
546 # GetSnapshot "vol3"
547 # IgnoreSelectedSnapshot false
548 # </VolumeUsage>
549 #
550 # <System>
551 # Interval 30
552 # GetCPULoad true
553 # GetInterfaces true
554 # GetDiskOps true
555 # GetDiskIO true
556 # </System>
557 # </Host>
558 #</Plugin>
560 #<Plugin netlink>
561 # Interface "All"
562 # VerboseInterface "All"
563 # QDisc "eth0" "pfifo_fast-1:0"
564 # Class "ppp0" "htb-1:10"
565 # Filter "ppp0" "u32-1:0"
566 # IgnoreSelected false
567 #</Plugin>
569 @LOAD_PLUGIN_NETWORK@<Plugin network>
570 # # client setup:
571 @LOAD_PLUGIN_NETWORK@ Server "ff18::efc0:4a42" "25826"
572 @LOAD_PLUGIN_NETWORK@ <Server "239.192.74.66" "25826">
573 # SecurityLevel Encrypt
574 # Username "user"
575 # Password "secret"
576 # Interface "eth0"
577 @LOAD_PLUGIN_NETWORK@ </Server>
578 # TimeToLive "128"
579 #
580 # # server setup:
581 # Listen "ff18::efc0:4a42" "25826"
582 # <Listen "239.192.74.66" "25826">
583 # SecurityLevel Sign
584 # AuthFile "/etc/collectd/passwd"
585 # Interface "eth0"
586 # </Listen>
587 # MaxPacketSize 1024
588 #
589 # # proxy setup (client and server as above):
590 # Forward true
591 #
592 # # statistics about the network plugin itself
593 # ReportStats false
594 #
595 # # "garbage collection"
596 # CacheFlush 1800
597 @LOAD_PLUGIN_NETWORK@</Plugin>
599 #<Plugin nginx>
600 # URL "http://localhost/status?auto"
601 # User "www-user"
602 # Password "secret"
603 # CACert "/etc/ssl/ca.crt"
604 #</Plugin>
606 #<Plugin notify_desktop>
607 # OkayTimeout 1000
608 # WarningTimeout 5000
609 # FailureTimeout 0
610 #</Plugin>
612 #<Plugin notify_email>
613 # SMTPServer "localhost"
614 # SMTPPort 25
615 # SMTPUser "my-username"
616 # SMTPPassword "my-password"
617 # From "collectd@main0server.com"
618 # # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
619 # Subject "Aaaaaa!! %s on %s!!!!!"
620 # Recipient "email1@domain1.net"
621 # Recipient "email2@domain2.com"
622 #</Plugin>
624 #<Plugin ntpd>
625 # Host "localhost"
626 # Port 123
627 # ReverseLookups false
628 #</Plugin>
630 #<Plugin nut>
631 # UPS "upsname@hostname:port"
632 #</Plugin>
634 #<Plugin olsrd>
635 # Host "127.0.0.1"
636 # Port "2006"
637 # CollectLinks "Summary"
638 # CollectRoutes "Summary"
639 # CollectTopology "Summary"
640 #</Plugin>
642 #<Plugin onewire>
643 # Device "-s localhost:4304"
644 # Sensor "F10FCA000800"
645 # IgnoreSelected false
646 #</Plugin>
648 #<Plugin openvpn>
649 # StatusFile "/etc/openvpn/openvpn-status.log"
650 # ImprovedNamingSchema false
651 # CollectCompression true
652 # CollectIndividualUsers true
653 # CollectUserCount false
654 #</Plugin>
656 #<Plugin oracle>
657 # <Query "out_of_stock">
658 # Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
659 # <Result>
660 # Type "gauge"
661 # InstancesFrom "category"
662 # ValuesFrom "value"
663 # </Result>
664 # </Query>
665 # <Database "product_information">
666 # ConnectID "db01"
667 # Username "oracle"
668 # Password "secret"
669 # Query "out_of_stock"
670 # </Database>
671 #</Plugin>
673 #<Plugin perl>
674 # IncludeDir "/my/include/path"
675 # BaseName "Collectd::Plugins"
676 # EnableDebugger ""
677 # LoadPlugin Monitorus
678 # LoadPlugin OpenVZ
679 #
680 # <Plugin foo>
681 # Foo "Bar"
682 # Qux "Baz"
683 # </Plugin>
684 #</Plugin>
686 #<Plugin pinba>
687 # Address "::0"
688 # Port "30002"
689 # <View "name">
690 # Host "host name"
691 # Server "server name"
692 # Script "script name"
693 # </View>
694 #</Plugin>
696 #<Plugin ping>
697 # Host "host.foo.bar"
698 # Interval 1.0
699 # Timeout 0.9
700 # TTL 255
701 # SourceAddress "1.2.3.4"
702 # Device "eth0"
703 # MaxMissed -1
704 #</Plugin>
706 #<Plugin postgresql>
707 # <Query magic>
708 # Statement "SELECT magic FROM wizard WHERE host = $1;"
709 # Param hostname
710 # <Result>
711 # Type gauge
712 # InstancePrefix "magic"
713 # ValuesFrom magic
714 # </Result>
715 # </Query>
716 # <Query rt36_tickets>
717 # Statement "SELECT COUNT(type) AS count, type \
718 # FROM (SELECT CASE \
719 # WHEN resolved = 'epoch' THEN 'open' \
720 # ELSE 'resolved' END AS type \
721 # FROM tickets) type \
722 # GROUP BY type;"
723 # <Result>
724 # Type counter
725 # InstancePrefix "rt36_tickets"
726 # InstancesFrom "type"
727 # ValuesFrom "count"
728 # </Result>
729 # </Query>
730 # <Database foo>
731 # Host "hostname"
732 # Port "5432"
733 # User "username"
734 # Password "secret"
735 # SSLMode "prefer"
736 # KRBSrvName "kerberos_service_name"
737 # Query magic
738 # </Database>
739 # <Database bar>
740 # Interval 60
741 # Service "service_name"
742 # Query backend # predefined
743 # Query rt36_tickets
744 # </Database>
745 #</Plugin>
747 #<Plugin powerdns>
748 # <Server "server_name">
749 # Collect "latency"
750 # Collect "udp-answers" "udp-queries"
751 # Socket "/var/run/pdns.controlsocket"
752 # </Server>
753 # <Recursor "recursor_name">
754 # Collect "questions"
755 # Collect "cache-hits" "cache-misses"
756 # Socket "/var/run/pdns_recursor.controlsocket"
757 # </Recursor>
758 # LocalSocket "/opt/collectd/var/run/collectd-powerdns"
759 #</Plugin>
761 #<Plugin processes>
762 # Process "name"
763 #</Plugin>
765 #<Plugin protocols>
766 # Value "/^Tcp:/"
767 # IgnoreSelected false
768 #</Plugin>
770 #<Plugin python>
771 # ModulePath "/path/to/your/python/modules"
772 # LogTraces true
773 # Interactive true
774 # Import "spam"
775 #
776 # <Module spam>
777 # spam "wonderful" "lovely"
778 # </Module>
779 #</Plugin>
781 #<Plugin redis>
782 # <Node example>
783 # Host "redis.example.com"
784 # Port "6379"
785 # Timeout 2000
786 # </Node>
787 #</Plugin>
789 #<Plugin routeros>
790 # <Router>
791 # Host "router.example.com"
792 # Port "8728"
793 # User "admin"
794 # Password "dozaiTh4"
795 # CollectInterface true
796 # CollectRegistrationTable true
797 # CollectCPULoad true
798 # CollectMemory true
799 # CollectDF true
800 # CollectDisk true
801 # </Router>
802 #</Plugin>
804 #<Plugin rrdcached>
805 # DaemonAddress "unix:/tmp/rrdcached.sock"
806 # DataDir "@prefix@/var/lib/@PACKAGE_NAME@/rrd"
807 # CreateFiles true
808 # CollectStatistics true
809 #</Plugin>
811 #<Plugin rrdtool>
812 # DataDir "@prefix@/var/lib/@PACKAGE_NAME@/rrd"
813 # CacheTimeout 120
814 # CacheFlush 900
815 #</Plugin>
817 #<Plugin sensors>
818 # SensorConfigFile "/etc/sensors.conf"
819 # Sensor "it8712-isa-0290/temperature-temp1"
820 # Sensor "it8712-isa-0290/fanspeed-fan3"
821 # Sensor "it8712-isa-0290/voltage-in8"
822 # IgnoreSelected false
823 #</Plugin>
825 #<Plugin snmp>
826 # <Data "powerplus_voltge_input">
827 # Type "voltage"
828 # Table false
829 # Instance "input_line1"
830 # Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
831 # </Data>
832 # <Data "hr_users">
833 # Type "users"
834 # Table false
835 # Instance ""
836 # Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
837 # </Data>
838 # <Data "std_traffic">
839 # Type "if_octets"
840 # Table true
841 # Instance "IF-MIB::ifDescr"
842 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
843 # </Data>
844 #
845 # <Host "some.switch.mydomain.org">
846 # Address "192.168.0.2"
847 # Version 1
848 # Community "community_string"
849 # Collect "std_traffic"
850 # Interval 120
851 # </Host>
852 # <Host "some.server.mydomain.org">
853 # Address "192.168.0.42"
854 # Version 2
855 # Community "another_string"
856 # Collect "std_traffic" "hr_users"
857 # </Host>
858 # <Host "some.ups.mydomain.org">
859 # Address "192.168.0.3"
860 # Version 1
861 # Community "more_communities"
862 # Collect "powerplus_voltge_input"
863 # Interval 300
864 # </Host>
865 #</Plugin>
867 #<Plugin "swap">
868 # ReportByDevice false
869 #</Plugin>
871 #<Plugin "table">
872 # <Table "/proc/slabinfo">
873 # Instance "slabinfo"
874 # Separator " "
875 # <Result>
876 # Type gauge
877 # InstancePrefix "active_objs"
878 # InstancesFrom 0
879 # ValuesFrom 1
880 # </Result>
881 # <Result>
882 # Type gauge
883 # InstancePrefix "objperslab"
884 # InstancesFrom 0
885 # ValuesFrom 4
886 # </Result>
887 # </Table>
888 #</Plugin>
890 #<Plugin "tail">
891 # <File "/var/log/exim4/mainlog">
892 # Instance "exim"
893 # <Match>
894 # Regex "S=([1-9][0-9]*)"
895 # DSType "CounterAdd"
896 # Type "ipt_bytes"
897 # Instance "total"
898 # </Match>
899 # <Match>
900 # Regex "\\<R=local_user\\>"
901 # ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
902 # DSType "CounterInc"
903 # Type "counter"
904 # Instance "local_user"
905 # </Match>
906 # </File>
907 #</Plugin>
909 #<Plugin tcpconns>
910 # ListeningPorts false
911 # LocalPort "25"
912 # RemotePort "25"
913 #</Plugin>
915 #<Plugin teamspeak2>
916 # Host "127.0.0.1"
917 # Port "51234"
918 # Server "8767"
919 #</Plugin>
921 #<Plugin ted>
922 # Device "/dev/ttyUSB0"
923 # Retries 0
924 #</Plugin>
926 #<Plugin thermal>
927 # ForceUseProcfs false
928 # Device "THRM"
929 # IgnoreSelected false
930 #</Plugin>
932 #<Plugin tokyotyrant>
933 # Host "localhost"
934 # Port "1978"
935 #</Plugin>
937 #<Plugin unixsock>
938 # SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
939 # SocketGroup "collectd"
940 # SocketPerms "0660"
941 # DeleteSocket false
942 #</Plugin>
944 #<Plugin uuid>
945 # UUIDFile "/etc/uuid"
946 #</Plugin>
948 #<Plugin varnish>
949 # This tag support an argument if you want to
950 # monitor the local instance just use </Instance>
951 # If you prefer defining another instance you can do
952 # so by using <Instance "myinstance">
953 # <Instance>
954 # CollectCache true
955 # CollectBackend true
956 # CollectConnections true
957 # CollectSHM true
958 # CollectESI false
959 # CollectFetch false
960 # CollectHCB false
961 # CollectSMA false
962 # CollectSMS false
963 # CollectSM false
964 # CollectTotals false
965 # CollectWorkers false
966 # </Instance>
967 #</Plugin>
969 #<Plugin vmem>
970 # Verbose false
971 #</Plugin>
973 #<Plugin write_graphite>
974 # <Carbon>
975 # Host "localhost"
976 # Port "2003"
977 # Prefix "collectd"
978 # Postfix "collectd"
979 # StoreRates false
980 # AlwaysAppendDS false
981 # EscapeCharacter "_"
982 # </Carbon>
983 #</Plugin>
985 #<Plugin write_http>
986 # <URL "http://example.com/collectd-post">
987 # User "collectd"
988 # Password "weCh3ik0"
989 # VerifyPeer true
990 # VerifyHost true
991 # CACert "/etc/ssl/ca.crt"
992 # Format "Command"
993 # StoreRates false
994 # </URL>
995 #</Plugin>
997 #<Plugin write_redis>
998 # <Node "example">
999 # Host "localhost"
1000 # Port "6379"
1001 # Timeout 1000
1002 # </Node>
1003 #</Plugin>
1005 #<Plugin write_mongodb>
1006 # <Node "example">
1007 # Host "localhost"
1008 # Port "27017"
1009 # Timeout 1000
1010 # StoreRates false
1011 # </Node>
1012 #</Plugin>
1014 ##############################################################################
1015 # Filter configuration #
1016 #----------------------------------------------------------------------------#
1017 # The following configures collectd's filtering mechanism. Before changing #
1018 # anything in this section, please read the `FILTER CONFIGURATION' section #
1019 # in the collectd.conf(5) manual page. #
1020 ##############################################################################
1022 # Load required matches:
1023 #@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter
1024 #@BUILD_PLUGIN_MATCH_HASHED_TRUE@LoadPlugin match_hashed
1025 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
1026 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
1027 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
1029 # Load required targets:
1030 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
1031 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
1032 #@BUILD_PLUGIN_TARGET_SCALE_TRUE@LoadPlugin target_scale
1033 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
1034 #@BUILD_PLUGIN_TARGET_V5UPGRADE_TRUE@LoadPlugin target_v5upgrade
1036 #----------------------------------------------------------------------------#
1037 # The following block demonstrates the default behavior if no filtering is #
1038 # configured at all: All values will be sent to all available write plugins. #
1039 #----------------------------------------------------------------------------#
1041 #<Chain "PostCache">
1042 # Target "write"
1043 #</Chain>
1045 ##############################################################################
1046 # Threshold configuration #
1047 #----------------------------------------------------------------------------#
1048 # The following outlines how to configure collectd's threshold checking #
1049 # plugin. The plugin and possible configuration options are documented in #
1050 # the collectd-threshold(5) manual page. #
1051 ##############################################################################
1053 #@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin "threshold"
1054 #<Plugin "threshold">
1055 # <Type "foo">
1056 # WarningMin 0.00
1057 # WarningMax 1000.00
1058 # FailureMin 0.00
1059 # FailureMax 1200.00
1060 # Invert false
1061 # Instance "bar"
1062 # </Type>
1063 #
1064 # <Plugin "interface">
1065 # Instance "eth0"
1066 # <Type "if_octets">
1067 # FailureMax 10000000
1068 # DataSource "rx"
1069 # </Type>
1070 # </Plugin>
1071 #
1072 # <Host "hostname">
1073 # <Type "cpu">
1074 # Instance "idle"
1075 # FailureMin 10
1076 # </Type>
1077 #
1078 # <Plugin "memory">
1079 # <Type "memory">
1080 # Instance "cached"
1081 # WarningMin 100000000
1082 # </Type>
1083 # </Plugin>
1084 #
1085 # <Type "load">
1086 # DataSource "midterm"
1087 # FailureMax 4
1088 # Hits 3
1089 # Hysteresis 3
1090 # </Type>
1091 # </Host>
1092 #</Plugin>