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