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