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