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