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