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