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