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