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