Update etc/telegraf.conf
This commit is contained in:
parent
ee240a5599
commit
8acda0da8f
|
@ -197,7 +197,7 @@
|
||||||
# # Configuration for Graphite server to send metrics to
|
# # Configuration for Graphite server to send metrics to
|
||||||
# [[outputs.graphite]]
|
# [[outputs.graphite]]
|
||||||
# ## TCP endpoint for your graphite instance.
|
# ## TCP endpoint for your graphite instance.
|
||||||
# ## If multiple endpoints are configured, the output will be load balanced.
|
# ## If multiple endpoints are configured, output will be load balanced.
|
||||||
# ## Only one of the endpoints will be written to with each iteration.
|
# ## Only one of the endpoints will be written to with each iteration.
|
||||||
# servers = ["localhost:2003"]
|
# servers = ["localhost:2003"]
|
||||||
# ## Prefix metrics name
|
# ## Prefix metrics name
|
||||||
|
@ -436,8 +436,8 @@
|
||||||
## disk partitions.
|
## disk partitions.
|
||||||
## Setting devices will restrict the stats to the specified devices.
|
## Setting devices will restrict the stats to the specified devices.
|
||||||
# devices = ["sda", "sdb"]
|
# devices = ["sda", "sdb"]
|
||||||
## Uncomment the following line if you do not need disk serial numbers.
|
## Uncomment the following line if you need disk serial numbers.
|
||||||
# skip_serial_number = true
|
# skip_serial_number = false
|
||||||
|
|
||||||
|
|
||||||
# Get kernel statistics from /proc/stat
|
# Get kernel statistics from /proc/stat
|
||||||
|
@ -465,7 +465,7 @@
|
||||||
# no configuration
|
# no configuration
|
||||||
|
|
||||||
|
|
||||||
# # Read stats from an aerospike server
|
# # Read stats from aerospike server(s)
|
||||||
# [[inputs.aerospike]]
|
# [[inputs.aerospike]]
|
||||||
# ## Aerospike servers to connect to (with port)
|
# ## Aerospike servers to connect to (with port)
|
||||||
# ## This plugin will query all namespaces the aerospike
|
# ## This plugin will query all namespaces the aerospike
|
||||||
|
@ -666,11 +666,13 @@
|
||||||
# container_names = []
|
# container_names = []
|
||||||
# ## Timeout for docker list, info, and stats commands
|
# ## Timeout for docker list, info, and stats commands
|
||||||
# timeout = "5s"
|
# timeout = "5s"
|
||||||
|
#
|
||||||
# ## Whether to report for each container per-device blkio (8:0, 8:1...) and
|
# ## Whether to report for each container per-device blkio (8:0, 8:1...) and
|
||||||
# ## network (eth0, eth1, ...) stats or not
|
# ## network (eth0, eth1, ...) stats or not
|
||||||
# perdevice = true
|
# perdevice = true
|
||||||
# ## Whether to report for each container total blkio and network stats or not
|
# ## Whether to report for each container total blkio and network stats or not
|
||||||
# total = false
|
# total = false
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
# # Read statistics from one or many dovecot servers
|
# # Read statistics from one or many dovecot servers
|
||||||
|
@ -787,9 +789,11 @@
|
||||||
# [[inputs.haproxy]]
|
# [[inputs.haproxy]]
|
||||||
# ## An array of address to gather stats about. Specify an ip on hostname
|
# ## An array of address to gather stats about. Specify an ip on hostname
|
||||||
# ## with optional port. ie localhost, 10.10.3.33:1936, etc.
|
# ## with optional port. ie localhost, 10.10.3.33:1936, etc.
|
||||||
#
|
# ## Make sure you specify the complete path to the stats endpoint
|
||||||
# ## If no servers are specified, then default to 127.0.0.1:1936
|
# ## ie 10.10.3.33:1936/haproxy?stats
|
||||||
# servers = ["http://myhaproxy.com:1936", "http://anotherhaproxy.com:1936"]
|
# #
|
||||||
|
# ## If no servers are specified, then default to 127.0.0.1:1936/haproxy?stats
|
||||||
|
# servers = ["http://myhaproxy.com:1936/haproxy?stats"]
|
||||||
# ## Or you can also use local socket
|
# ## Or you can also use local socket
|
||||||
# ## servers = ["socket:/run/haproxy/admin.sock"]
|
# ## servers = ["socket:/run/haproxy/admin.sock"]
|
||||||
|
|
||||||
|
@ -975,21 +979,35 @@
|
||||||
|
|
||||||
# # Telegraf plugin for gathering metrics from N Mesos masters
|
# # Telegraf plugin for gathering metrics from N Mesos masters
|
||||||
# [[inputs.mesos]]
|
# [[inputs.mesos]]
|
||||||
# # Timeout, in ms.
|
# ## Timeout, in ms.
|
||||||
# timeout = 100
|
# timeout = 100
|
||||||
# # A list of Mesos masters, default value is localhost:5050.
|
# ## A list of Mesos masters.
|
||||||
# masters = ["localhost:5050"]
|
# masters = ["localhost:5050"]
|
||||||
# # Metrics groups to be collected, by default, all enabled.
|
# ## Master metrics groups to be collected, by default, all enabled.
|
||||||
# master_collections = [
|
# master_collections = [
|
||||||
# "resources",
|
# "resources",
|
||||||
# "master",
|
# "master",
|
||||||
# "system",
|
# "system",
|
||||||
# "slaves",
|
# "agents",
|
||||||
# "frameworks",
|
# "frameworks",
|
||||||
|
# "tasks",
|
||||||
# "messages",
|
# "messages",
|
||||||
# "evqueue",
|
# "evqueue",
|
||||||
# "registrar",
|
# "registrar",
|
||||||
# ]
|
# ]
|
||||||
|
# ## A list of Mesos slaves, default is []
|
||||||
|
# # slaves = []
|
||||||
|
# ## Slave metrics groups to be collected, by default, all enabled.
|
||||||
|
# # slave_collections = [
|
||||||
|
# # "resources",
|
||||||
|
# # "agent",
|
||||||
|
# # "system",
|
||||||
|
# # "executors",
|
||||||
|
# # "tasks",
|
||||||
|
# # "messages",
|
||||||
|
# # ]
|
||||||
|
# ## Include mesos tasks statistics, default is false
|
||||||
|
# # slave_tasks = true
|
||||||
|
|
||||||
|
|
||||||
# # Read metrics from one or many MongoDB servers
|
# # Read metrics from one or many MongoDB servers
|
||||||
|
@ -1000,6 +1018,7 @@
|
||||||
# ## mongodb://10.10.3.33:18832,
|
# ## mongodb://10.10.3.33:18832,
|
||||||
# ## 10.0.0.1:10000, etc.
|
# ## 10.0.0.1:10000, etc.
|
||||||
# servers = ["127.0.0.1:27017"]
|
# servers = ["127.0.0.1:27017"]
|
||||||
|
# gather_perdb_stats = false
|
||||||
|
|
||||||
|
|
||||||
# # Read metrics from one or many mysql servers
|
# # Read metrics from one or many mysql servers
|
||||||
|
@ -1106,9 +1125,9 @@
|
||||||
# ## file paths for proc files. If empty default paths will be used:
|
# ## file paths for proc files. If empty default paths will be used:
|
||||||
# ## /proc/net/netstat, /proc/net/snmp, /proc/net/snmp6
|
# ## /proc/net/netstat, /proc/net/snmp, /proc/net/snmp6
|
||||||
# ## These can also be overridden with env variables, see README.
|
# ## These can also be overridden with env variables, see README.
|
||||||
# proc_net_netstat = ""
|
# proc_net_netstat = "/proc/net/netstat"
|
||||||
# proc_net_snmp = ""
|
# proc_net_snmp = "/proc/net/snmp"
|
||||||
# proc_net_snmp6 = ""
|
# proc_net_snmp6 = "/proc/net/snmp6"
|
||||||
# ## dump metrics with 0 values too
|
# ## dump metrics with 0 values too
|
||||||
# dump_zeros = true
|
# dump_zeros = true
|
||||||
|
|
||||||
|
@ -1310,6 +1329,13 @@
|
||||||
# # username = "guest"
|
# # username = "guest"
|
||||||
# # password = "guest"
|
# # password = "guest"
|
||||||
#
|
#
|
||||||
|
# ## 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
|
||||||
|
#
|
||||||
# ## A list of nodes to pull metrics about. If not specified, metrics for
|
# ## A list of nodes to pull metrics about. If not specified, metrics for
|
||||||
# ## all nodes are gathered.
|
# ## all nodes are gathered.
|
||||||
# # nodes = ["rabbit@node1", "rabbit@node2"]
|
# # nodes = ["rabbit@node1", "rabbit@node2"]
|
||||||
|
@ -1328,6 +1354,7 @@
|
||||||
# ## e.g.
|
# ## e.g.
|
||||||
# ## tcp://localhost:6379
|
# ## tcp://localhost:6379
|
||||||
# ## tcp://:password@192.168.99.100
|
# ## tcp://:password@192.168.99.100
|
||||||
|
# ## unix:///var/run/redis.sock
|
||||||
# ##
|
# ##
|
||||||
# ## If no servers are specified, then localhost is used as the host.
|
# ## If no servers are specified, then localhost is used as the host.
|
||||||
# ## If no port is specified, 6379 is used
|
# ## If no port is specified, 6379 is used
|
||||||
|
@ -1564,6 +1591,8 @@
|
||||||
# ## %{COMMON_LOG_FORMAT} (plain apache & nginx access logs)
|
# ## %{COMMON_LOG_FORMAT} (plain apache & nginx access logs)
|
||||||
# ## %{COMBINED_LOG_FORMAT} (access logs + referrer & agent)
|
# ## %{COMBINED_LOG_FORMAT} (access logs + referrer & agent)
|
||||||
# patterns = ["%{INFLUXDB_HTTPD_LOG}"]
|
# patterns = ["%{INFLUXDB_HTTPD_LOG}"]
|
||||||
|
# ## Name of the outputted measurement name.
|
||||||
|
# measurement = "influxdb_log"
|
||||||
# ## Full path(s) to custom pattern files.
|
# ## Full path(s) to custom pattern files.
|
||||||
# custom_pattern_files = []
|
# custom_pattern_files = []
|
||||||
# ## Custom patterns can also be defined here. Put one pattern per line.
|
# ## Custom patterns can also be defined here. Put one pattern per line.
|
||||||
|
@ -1627,6 +1656,21 @@
|
||||||
# data_format = "influx"
|
# data_format = "influx"
|
||||||
|
|
||||||
|
|
||||||
|
# # Read NSQ topic for metrics.
|
||||||
|
# [[inputs.nsq_consumer]]
|
||||||
|
# ## An string representing the NSQD TCP Endpoint
|
||||||
|
# server = "localhost:4150"
|
||||||
|
# topic = "telegraf"
|
||||||
|
# channel = "consumer"
|
||||||
|
# max_in_flight = 100
|
||||||
|
#
|
||||||
|
# ## Data format to consume.
|
||||||
|
# ## Each data format has it's own unique set of configuration options, read
|
||||||
|
# ## more about them here:
|
||||||
|
# ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md
|
||||||
|
# data_format = "influx"
|
||||||
|
|
||||||
|
|
||||||
# # Statsd Server
|
# # Statsd Server
|
||||||
# [[inputs.statsd]]
|
# [[inputs.statsd]]
|
||||||
# ## Address and port to host UDP listener on
|
# ## Address and port to host UDP listener on
|
||||||
|
@ -1730,6 +1774,9 @@
|
||||||
# [inputs.webhooks.github]
|
# [inputs.webhooks.github]
|
||||||
# path = "/github"
|
# path = "/github"
|
||||||
#
|
#
|
||||||
|
# [inputs.webhooks.mandrill]
|
||||||
|
# path = "/mandrill"
|
||||||
|
#
|
||||||
# [inputs.webhooks.rollbar]
|
# [inputs.webhooks.rollbar]
|
||||||
# path = "/rollbar"
|
# path = "/rollbar"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue