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