Update telegraf.conf
This commit is contained in:
parent
11c11da831
commit
a5586e48e2
|
@ -101,10 +101,11 @@
|
|||
# skip_database_creation = false
|
||||
|
||||
## Name of existing retention policy to write to. Empty string writes to
|
||||
## the default retention policy.
|
||||
## the default retention policy. Only takes effect when using HTTP.
|
||||
# retention_policy = ""
|
||||
|
||||
## Write consistency (clusters only), can be: "any", "one", "quorum", "all"
|
||||
## Write consistency (clusters only), can be: "any", "one", "quorum", "all".
|
||||
## Only takes effect when using HTTP.
|
||||
# write_consistency = "any"
|
||||
|
||||
## Timeout for HTTP messages.
|
||||
|
@ -120,7 +121,7 @@
|
|||
## UDP payload size is the maximum packet size to send.
|
||||
# udp_payload = 512
|
||||
|
||||
## Optional SSL Config
|
||||
## Optional SSL Config for use on HTTP connections.
|
||||
# ssl_ca = "/etc/telegraf/ca.pem"
|
||||
# ssl_cert = "/etc/telegraf/cert.pem"
|
||||
# ssl_key = "/etc/telegraf/key.pem"
|
||||
|
@ -694,6 +695,13 @@
|
|||
# # address = "unix:///tmp/telegraf.sock"
|
||||
# # address = "unixgram:///tmp/telegraf.sock"
|
||||
#
|
||||
# ## Optional SSL Config
|
||||
# # ssl_ca = "/etc/telegraf/ca.pem"
|
||||
# # ssl_cert = "/etc/telegraf/cert.pem"
|
||||
# # ssl_key = "/etc/telegraf/key.pem"
|
||||
# ## Use SSL but skip chain & host verification
|
||||
# # insecure_skip_verify = false
|
||||
#
|
||||
# ## Period between keep alive probes.
|
||||
# ## Only applies to TCP sockets.
|
||||
# ## 0 disables keep alive probes.
|
||||
|
@ -952,24 +960,6 @@
|
|||
# # bond_interfaces = ["bond0"]
|
||||
|
||||
|
||||
# # Read Cassandra metrics through Jolokia
|
||||
# [[inputs.cassandra]]
|
||||
# # This is the context root used to compose the jolokia url
|
||||
# context = "/jolokia/read"
|
||||
# ## List of cassandra servers exposing jolokia read service
|
||||
# servers = ["myuser:mypassword@10.10.10.1:8778","10.10.10.2:8778",":8778"]
|
||||
# ## List of metrics collected on above servers
|
||||
# ## Each metric consists of a jmx path.
|
||||
# ## This will collect all heap memory usage metrics from the jvm and
|
||||
# ## ReadLatency metrics for all keyspaces and tables.
|
||||
# ## "type=Table" in the query works with Cassandra3.0. Older versions might
|
||||
# ## need to use "type=ColumnFamily"
|
||||
# metrics = [
|
||||
# "/java.lang:type=Memory/HeapMemoryUsage",
|
||||
# "/org.apache.cassandra.metrics:type=Table,keyspace=*,scope=*,name=ReadLatency"
|
||||
# ]
|
||||
|
||||
|
||||
# # Collects performance metrics from the MON and OSD nodes in a Ceph storage cluster.
|
||||
# [[inputs.ceph]]
|
||||
# ## This is the recommended interval to poll. Too frequent and you will lose
|
||||
|
@ -1363,6 +1353,20 @@
|
|||
# use_sudo = false
|
||||
|
||||
|
||||
# # Read devices value(s) from a Fibaro controller
|
||||
# [[inputs.fibaro]]
|
||||
# ## Required Fibaro controller address/hostname.
|
||||
# ## Note: at the time of writing this plugin, Fibaro only implemented http - no https available
|
||||
# url = "http://<controller>:80"
|
||||
#
|
||||
# ## Required credentials to access the API (http://<controller/api/<component>)
|
||||
# username = "<username>"
|
||||
# password = "<password>"
|
||||
#
|
||||
# ## Amount of time allowed to complete the HTTP request
|
||||
# # timeout = "5s"
|
||||
|
||||
|
||||
# # Read stats about given file(s)
|
||||
# [[inputs.filestat]]
|
||||
# ## Files to gather stats about.
|
||||
|
@ -1801,13 +1805,13 @@
|
|||
# ## Add proxy targets to query
|
||||
# # default_target_username = ""
|
||||
# # default_target_password = ""
|
||||
# [[inputs.jolokia_proxy.target]]
|
||||
# [[inputs.jolokia2_proxy.target]]
|
||||
# url = "service:jmx:rmi:///jndi/rmi://targethost:9999/jmxrmi"
|
||||
# # username = ""
|
||||
# # password = ""
|
||||
# # username = ""
|
||||
# # password = ""
|
||||
#
|
||||
# ## Add metrics to read
|
||||
# [[inputs.jolokia_proxy.metric]]
|
||||
# [[inputs.jolokia2_proxy.metric]]
|
||||
# name = "java_runtime"
|
||||
# mbean = "java.lang:type=Runtime"
|
||||
# paths = ["Uptime"]
|
||||
|
@ -1896,6 +1900,16 @@
|
|||
# # campaign_id = ""
|
||||
|
||||
|
||||
# # Read metrics from one or many mcrouter servers
|
||||
# [[inputs.mcrouter]]
|
||||
# ## An array of address to gather stats about. Specify an ip or hostname
|
||||
# ## with port. ie tcp://localhost:11211, tcp://10.0.0.1:11211, etc.
|
||||
# servers = ["tcp://localhost:11211", "unix:///var/run/mcrouter.sock"]
|
||||
#
|
||||
# ## Timeout for metric collections from all servers. Minimum timeout is "1s".
|
||||
# # timeout = "5s"
|
||||
|
||||
|
||||
# # Read metrics from one or many memcached servers
|
||||
# [[inputs.memcached]]
|
||||
# ## An array of address to gather stats about. Specify an ip on hostname
|
||||
|
@ -1960,7 +1974,9 @@
|
|||
# ## mongodb://user:auth_key@10.10.3.30:27017,
|
||||
# ## mongodb://10.10.3.33:18832,
|
||||
# servers = ["mongodb://127.0.0.1:27017"]
|
||||
# gather_perdb_stats = false
|
||||
#
|
||||
# ## When true, collect per database stats
|
||||
# # gather_perdb_stats = false
|
||||
#
|
||||
# ## Optional SSL Config
|
||||
# # ssl_ca = "/etc/telegraf/ca.pem"
|
||||
|
@ -2151,6 +2167,15 @@
|
|||
# dns_lookup = true
|
||||
|
||||
|
||||
# # Pulls statistics from nvidia GPUs attached to the host
|
||||
# [[inputs.nvidia_smi]]
|
||||
# ## Optional: path to nvidia-smi binary, defaults to $PATH via exec.LookPath
|
||||
# # bin_path = /usr/bin/nvidia-smi
|
||||
#
|
||||
# ## Optional: timeout for GPU polling
|
||||
# # timeout = 5s
|
||||
|
||||
|
||||
# # OpenLDAP cn=Monitor plugin
|
||||
# [[inputs.openldap]]
|
||||
# host = "localhost"
|
||||
|
@ -2908,6 +2933,28 @@
|
|||
# data_format = "influx"
|
||||
|
||||
|
||||
# # Read Cassandra metrics through Jolokia
|
||||
# [[inputs.cassandra]]
|
||||
# ## DEPRECATED: The cassandra plugin has been deprecated. Please use the
|
||||
# ## jolokia2 plugin instead.
|
||||
# ##
|
||||
# ## see https://github.com/influxdata/telegraf/tree/master/plugins/inputs/jolokia2
|
||||
#
|
||||
# context = "/jolokia/read"
|
||||
# ## List of cassandra servers exposing jolokia read service
|
||||
# servers = ["myuser:mypassword@10.10.10.1:8778","10.10.10.2:8778",":8778"]
|
||||
# ## List of metrics collected on above servers
|
||||
# ## Each metric consists of a jmx path.
|
||||
# ## This will collect all heap memory usage metrics from the jvm and
|
||||
# ## ReadLatency metrics for all keyspaces and tables.
|
||||
# ## "type=Table" in the query works with Cassandra3.0. Older versions might
|
||||
# ## need to use "type=ColumnFamily"
|
||||
# metrics = [
|
||||
# "/java.lang:type=Memory/HeapMemoryUsage",
|
||||
# "/org.apache.cassandra.metrics:type=Table,keyspace=*,scope=*,name=ReadLatency"
|
||||
# ]
|
||||
|
||||
|
||||
# # Influx HTTP write listener
|
||||
# [[inputs.http_listener]]
|
||||
# ## Address and port to host HTTP listener on
|
||||
|
@ -3017,7 +3064,6 @@
|
|||
# # watch_method = "inotify"
|
||||
#
|
||||
# ## Parse logstash-style "grok" patterns:
|
||||
# ## Telegraf built-in parsing patterns: https://goo.gl/dkay10
|
||||
# [inputs.logparser.grok]
|
||||
# ## This is a list of patterns to check the given log file(s) for.
|
||||
# ## Note that adding patterns here increases processing time. The most
|
||||
|
@ -3257,6 +3303,13 @@
|
|||
# ## 0 (default) is unlimited.
|
||||
# # read_timeout = "30s"
|
||||
#
|
||||
# ## Optional TLS configuration.
|
||||
# ## Only applies to stream sockets (e.g. TCP).
|
||||
# # tls_cert = "/etc/telegraf/cert.pem"
|
||||
# # tls_key = "/etc/telegraf/key.pem"
|
||||
# ## Enables client authentication if set.
|
||||
# # tls_allowed_cacerts = ["/etc/telegraf/clientca.pem"]
|
||||
#
|
||||
# ## Maximum socket buffer size in bytes.
|
||||
# ## For stream sockets, once the buffer fills up, the sender will start backing up.
|
||||
# ## For datagram sockets, once the buffer fills up, metrics will start dropping.
|
||||
|
|
Loading…
Reference in New Issue