Global
Global
# rack = "1a"
## Environment variables can be used as tags, and throughout the config file
# user = "$USER"
[agent]
interval = "10s"
round_interval = true
## metric_batch_size metrics.
## This controls the size of writes that Telegraf sends to output plugins.
metric_batch_size = 1000
## allows for longer periods of output downtime without dropping metrics at the
metric_buffer_limit = 10000
## Each plugin will sleep for a random time within jitter before collecting.
## This can be used to avoid many plugins querying things like sysfs at the
collection_jitter = "0s"
## Collection offset is used to shift the collection by the given amount.
# collection_offset = "0s"
## flush_interval + flush_jitter
flush_interval = "10s"
## large write spikes for users running a large number of telegraf instances.
## ie, a jitter of 5s and interval 10s means flushes will happen every 10-15s
flush_jitter = "0s"
## specified as an interval with an integer + unit (e.g. 0s, 10ms, 2us, 4s).
## Valid time units are "ns", "us" (or "µs"), "ms", "s".
##
## timestamp order as the collection interval, with the maximum being 1s:
##
precision = ""
# debug = false
# quiet = false
## Log target controls the destination for logs and can be one of "file",
## "stderr" or, on Windows, "eventlog". When set to "file", the output file
# logtarget = "file"
## Name of the file to be logged to when using the "file" logtarget. If set to
# logfile = ""
## The logfile will be rotated after the time interval specified. When set
# logfile_rotation_interval = "0d"
## The logfile will be rotated when it becomes larger than the specified
# logfile_rotation_max_size = "0MB"
## Maximum number of rotated archives to keep, any older logs are deleted.
# logfile_rotation_max_archives = 5
## Pick a timezone to use when logging or type 'local' for local time.
## Example: America/Chicago
# log_with_timezone = ""
hostname = "tatooine"
omit_hostname = false
###############################################################################
# OUTPUT PLUGINS #
###############################################################################
[[outputs.influxdb_v2]]
##
## Multiple URLs can be specified for a single cluster, only ONE of the
urls = ["http://192.168.1.31:8086"]
token = "909e95813134d9be1ab79ff2432880b74ecba218c76f32573a609a9306d4300a"
## Organization is the name of the organization you wish to write to; must exist.
organization = "giris"
bucket = "giris"
insecure_skip_verify = false
###############################################################################
# INPUT PLUGINS #
###############################################################################
[[inputs.cpu]]
## Whether to report per-cpu stats or not
percpu = true
totalcpu = true
collect_cpu_time = false
## If true, compute and report the sum of all non-idle CPU states
report_active = false
[[inputs.disk]]
## Set mount_points will restrict the stats to only the specified mount points.
# mount_points = ["/"]
[[inputs.diskio]]
[[inputs.kernel]]
# no configuration
[[inputs.mem]]
# no configuration
# Get the number of processes and group them by status
[[inputs.processes]]
# no configuration
[[inputs.swap]]
# no configuration
[[inputs.system]]
# fielddrop = ["uptime_format"]
[[inputs.net]]
[[inputs.netstat]]
Rapport du soir :