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 #</Plugin>
633 #<Plugin nut>
634 # UPS "upsname@hostname:port"
635 #</Plugin>
637 #<Plugin olsrd>
638 # Host "127.0.0.1"
639 # Port "2006"
640 # CollectLinks "Summary"
641 # CollectRoutes "Summary"
642 # CollectTopology "Summary"
643 #</Plugin>
645 #<Plugin onewire>
646 # Device "-s localhost:4304"
647 # Sensor "F10FCA000800"
648 # IgnoreSelected false
649 #</Plugin>
651 #<Plugin openvpn>
652 # StatusFile "/etc/openvpn/openvpn-status.log"
653 # ImprovedNamingSchema false
654 # CollectCompression true
655 # CollectIndividualUsers true
656 # CollectUserCount false
657 #</Plugin>
659 #<Plugin oracle>
660 # <Query "out_of_stock">
661 # Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
662 # <Result>
663 # Type "gauge"
664 # InstancesFrom "category"
665 # ValuesFrom "value"
666 # </Result>
667 # </Query>
668 # <Database "product_information">
669 # ConnectID "db01"
670 # Username "oracle"
671 # Password "secret"
672 # Query "out_of_stock"
673 # </Database>
674 #</Plugin>
676 #<Plugin perl>
677 # IncludeDir "/my/include/path"
678 # BaseName "Collectd::Plugins"
679 # EnableDebugger ""
680 # LoadPlugin Monitorus
681 # LoadPlugin OpenVZ
682 #
683 # <Plugin foo>
684 # Foo "Bar"
685 # Qux "Baz"
686 # </Plugin>
687 #</Plugin>
689 #<Plugin pinba>
690 # Address "::0"
691 # Port "30002"
692 # <View "name">
693 # Host "host name"
694 # Server "server name"
695 # Script "script name"
696 # </View>
697 #</Plugin>
699 #<Plugin ping>
700 # Host "host.foo.bar"
701 # Interval 1.0
702 # Timeout 0.9
703 # TTL 255
704 # SourceAddress "1.2.3.4"
705 # Device "eth0"
706 # MaxMissed -1
707 #</Plugin>
709 #<Plugin postgresql>
710 # <Query magic>
711 # Statement "SELECT magic FROM wizard WHERE host = $1;"
712 # Param hostname
713 # <Result>
714 # Type gauge
715 # InstancePrefix "magic"
716 # ValuesFrom magic
717 # </Result>
718 # </Query>
719 # <Query rt36_tickets>
720 # Statement "SELECT COUNT(type) AS count, type \
721 # FROM (SELECT CASE \
722 # WHEN resolved = 'epoch' THEN 'open' \
723 # ELSE 'resolved' END AS type \
724 # FROM tickets) type \
725 # GROUP BY type;"
726 # <Result>
727 # Type counter
728 # InstancePrefix "rt36_tickets"
729 # InstancesFrom "type"
730 # ValuesFrom "count"
731 # </Result>
732 # </Query>
733 # <Database foo>
734 # Host "hostname"
735 # Port "5432"
736 # User "username"
737 # Password "secret"
738 # SSLMode "prefer"
739 # KRBSrvName "kerberos_service_name"
740 # Query magic
741 # </Database>
742 # <Database bar>
743 # Interval 60
744 # Service "service_name"
745 # Query backend # predefined
746 # Query rt36_tickets
747 # </Database>
748 #</Plugin>
750 #<Plugin powerdns>
751 # <Server "server_name">
752 # Collect "latency"
753 # Collect "udp-answers" "udp-queries"
754 # Socket "/var/run/pdns.controlsocket"
755 # </Server>
756 # <Recursor "recursor_name">
757 # Collect "questions"
758 # Collect "cache-hits" "cache-misses"
759 # Socket "/var/run/pdns_recursor.controlsocket"
760 # </Recursor>
761 # LocalSocket "/opt/collectd/var/run/collectd-powerdns"
762 #</Plugin>
764 #<Plugin processes>
765 # Process "name"
766 #</Plugin>
768 #<Plugin protocols>
769 # Value "/^Tcp:/"
770 # IgnoreSelected false
771 #</Plugin>
773 #<Plugin python>
774 # ModulePath "/path/to/your/python/modules"
775 # LogTraces true
776 # Interactive true
777 # Import "spam"
778 #
779 # <Module spam>
780 # spam "wonderful" "lovely"
781 # </Module>
782 #</Plugin>
784 #<Plugin redis>
785 # <Node example>
786 # Host "redis.example.com"
787 # Port "6379"
788 # Timeout 2000
789 # </Node>
790 #</Plugin>
792 #<Plugin routeros>
793 # <Router>
794 # Host "router.example.com"
795 # Port "8728"
796 # User "admin"
797 # Password "dozaiTh4"
798 # CollectInterface true
799 # CollectRegistrationTable true
800 # CollectCPULoad true
801 # CollectMemory true
802 # CollectDF true
803 # CollectDisk true
804 # </Router>
805 #</Plugin>
807 #<Plugin rrdcached>
808 # DaemonAddress "unix:/tmp/rrdcached.sock"
809 # DataDir "@prefix@/var/lib/@PACKAGE_NAME@/rrd"
810 # CreateFiles true
811 # CollectStatistics true
812 #</Plugin>
814 #<Plugin rrdtool>
815 # DataDir "@prefix@/var/lib/@PACKAGE_NAME@/rrd"
816 # CacheTimeout 120
817 # CacheFlush 900
818 #</Plugin>
820 #<Plugin sensors>
821 # SensorConfigFile "/etc/sensors.conf"
822 # Sensor "it8712-isa-0290/temperature-temp1"
823 # Sensor "it8712-isa-0290/fanspeed-fan3"
824 # Sensor "it8712-isa-0290/voltage-in8"
825 # IgnoreSelected false
826 #</Plugin>
828 #<Plugin snmp>
829 # <Data "powerplus_voltge_input">
830 # Type "voltage"
831 # Table false
832 # Instance "input_line1"
833 # Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
834 # </Data>
835 # <Data "hr_users">
836 # Type "users"
837 # Table false
838 # Instance ""
839 # Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
840 # </Data>
841 # <Data "std_traffic">
842 # Type "if_octets"
843 # Table true
844 # Instance "IF-MIB::ifDescr"
845 # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
846 # </Data>
847 #
848 # <Host "some.switch.mydomain.org">
849 # Address "192.168.0.2"
850 # Version 1
851 # Community "community_string"
852 # Collect "std_traffic"
853 # Interval 120
854 # </Host>
855 # <Host "some.server.mydomain.org">
856 # Address "192.168.0.42"
857 # Version 2
858 # Community "another_string"
859 # Collect "std_traffic" "hr_users"
860 # </Host>
861 # <Host "some.ups.mydomain.org">
862 # Address "192.168.0.3"
863 # Version 1
864 # Community "more_communities"
865 # Collect "powerplus_voltge_input"
866 # Interval 300
867 # </Host>
868 #</Plugin>
870 #<Plugin "swap">
871 # ReportByDevice false
872 # ReportBytes true
873 #</Plugin>
875 #<Plugin "table">
876 # <Table "/proc/slabinfo">
877 # Instance "slabinfo"
878 # Separator " "
879 # <Result>
880 # Type gauge
881 # InstancePrefix "active_objs"
882 # InstancesFrom 0
883 # ValuesFrom 1
884 # </Result>
885 # <Result>
886 # Type gauge
887 # InstancePrefix "objperslab"
888 # InstancesFrom 0
889 # ValuesFrom 4
890 # </Result>
891 # </Table>
892 #</Plugin>
894 #<Plugin "tail">
895 # <File "/var/log/exim4/mainlog">
896 # Instance "exim"
897 # <Match>
898 # Regex "S=([1-9][0-9]*)"
899 # DSType "CounterAdd"
900 # Type "ipt_bytes"
901 # Instance "total"
902 # </Match>
903 # <Match>
904 # Regex "\\<R=local_user\\>"
905 # ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
906 # DSType "CounterInc"
907 # Type "counter"
908 # Instance "local_user"
909 # </Match>
910 # </File>
911 #</Plugin>
913 #<Plugin tcpconns>
914 # ListeningPorts false
915 # LocalPort "25"
916 # RemotePort "25"
917 #</Plugin>
919 #<Plugin teamspeak2>
920 # Host "127.0.0.1"
921 # Port "51234"
922 # Server "8767"
923 #</Plugin>
925 #<Plugin ted>
926 # Device "/dev/ttyUSB0"
927 # Retries 0
928 #</Plugin>
930 #<Plugin thermal>
931 # ForceUseProcfs false
932 # Device "THRM"
933 # IgnoreSelected false
934 #</Plugin>
936 #<Plugin tokyotyrant>
937 # Host "localhost"
938 # Port "1978"
939 #</Plugin>
941 #<Plugin unixsock>
942 # SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
943 # SocketGroup "collectd"
944 # SocketPerms "0660"
945 # DeleteSocket false
946 #</Plugin>
948 #<Plugin uuid>
949 # UUIDFile "/etc/uuid"
950 #</Plugin>
952 #<Plugin varnish>
953 # This tag support an argument if you want to
954 # monitor the local instance just use </Instance>
955 # If you prefer defining another instance you can do
956 # so by using <Instance "myinstance">
957 # <Instance>
958 # CollectCache true
959 # CollectBackend true
960 # CollectConnections true
961 # CollectSHM true
962 # CollectESI false
963 # CollectFetch false
964 # CollectHCB false
965 # CollectSMA false
966 # CollectSMS false
967 # CollectSM false
968 # CollectTotals false
969 # CollectWorkers false
970 # </Instance>
971 #</Plugin>
973 #<Plugin vmem>
974 # Verbose false
975 #</Plugin>
977 #<Plugin write_graphite>
978 # <Carbon>
979 # Host "localhost"
980 # Port "2003"
981 # Prefix "collectd"
982 # Postfix "collectd"
983 # StoreRates false
984 # AlwaysAppendDS false
985 # EscapeCharacter "_"
986 # </Carbon>
987 #</Plugin>
989 #<Plugin write_http>
990 # <URL "http://example.com/collectd-post">
991 # User "collectd"
992 # Password "weCh3ik0"
993 # VerifyPeer true
994 # VerifyHost true
995 # CACert "/etc/ssl/ca.crt"
996 # Format "Command"
997 # StoreRates false
998 # </URL>
999 #</Plugin>
1001 #<Plugin write_redis>
1002 # <Node "example">
1003 # Host "localhost"
1004 # Port "6379"
1005 # Timeout 1000
1006 # </Node>
1007 #</Plugin>
1009 #<Plugin write_mongodb>
1010 # <Node "example">
1011 # Host "localhost"
1012 # Port "27017"
1013 # Timeout 1000
1014 # StoreRates false
1015 # </Node>
1016 #</Plugin>
1018 ##############################################################################
1019 # Filter configuration #
1020 #----------------------------------------------------------------------------#
1021 # The following configures collectd's filtering mechanism. Before changing #
1022 # anything in this section, please read the `FILTER CONFIGURATION' section #
1023 # in the collectd.conf(5) manual page. #
1024 ##############################################################################
1026 # Load required matches:
1027 #@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter
1028 #@BUILD_PLUGIN_MATCH_HASHED_TRUE@LoadPlugin match_hashed
1029 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
1030 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
1031 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
1033 # Load required targets:
1034 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
1035 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
1036 #@BUILD_PLUGIN_TARGET_SCALE_TRUE@LoadPlugin target_scale
1037 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
1038 #@BUILD_PLUGIN_TARGET_V5UPGRADE_TRUE@LoadPlugin target_v5upgrade
1040 #----------------------------------------------------------------------------#
1041 # The following block demonstrates the default behavior if no filtering is #
1042 # configured at all: All values will be sent to all available write plugins. #
1043 #----------------------------------------------------------------------------#
1045 #<Chain "PostCache">
1046 # Target "write"
1047 #</Chain>
1049 ##############################################################################
1050 # Threshold configuration #
1051 #----------------------------------------------------------------------------#
1052 # The following outlines how to configure collectd's threshold checking #
1053 # plugin. The plugin and possible configuration options are documented in #
1054 # the collectd-threshold(5) manual page. #
1055 ##############################################################################
1057 #@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin "threshold"
1058 #<Plugin "threshold">
1059 # <Type "foo">
1060 # WarningMin 0.00
1061 # WarningMax 1000.00
1062 # FailureMin 0.00
1063 # FailureMax 1200.00
1064 # Invert false
1065 # Instance "bar"
1066 # </Type>
1067 #
1068 # <Plugin "interface">
1069 # Instance "eth0"
1070 # <Type "if_octets">
1071 # FailureMax 10000000
1072 # DataSource "rx"
1073 # </Type>
1074 # </Plugin>
1075 #
1076 # <Host "hostname">
1077 # <Type "cpu">
1078 # Instance "idle"
1079 # FailureMin 10
1080 # </Type>
1081 #
1082 # <Plugin "memory">
1083 # <Type "memory">
1084 # Instance "cached"
1085 # WarningMin 100000000
1086 # </Type>
1087 # </Plugin>
1088 #
1089 # <Type "load">
1090 # DataSource "midterm"
1091 # FailureMax 4
1092 # Hits 3
1093 # Hysteresis 3
1094 # </Type>
1095 # </Host>
1096 #</Plugin>