Skip to content

Commit

Permalink
Fix default installed config for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
sparrc committed Sep 2, 2015
1 parent 5bfb6df commit 65b33a8
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions etc/config.sample.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,55 +22,55 @@
# NOTE: The configuration has a few required parameters. They are marked
# with 'required'. Be sure to edit those to make this configuration work.

[tags]
# dc = "us-east-1"

# Configuration for telegraf itself
[agent]
interval = "10s"
debug = false
hostname = ""
utc = true
precision = "s"

# Configuration for influxdb server to send metrics to
[outputs]
[outputs.influxdb]
# The full HTTP endpoint URL for your InfluxDB instance
url = "http://localhost:8086" # required.

# The target database for metrics. This database must already exist
database = "telegraf" # required.
# The full HTTP endpoint URL for your InfluxDB instance
url = "http://localhost:8086" # required.

# username = "telegraf"
# password = "metricsmetricsmetricsmetrics"
# The target database for metrics. This database must already exist
database = "telegraf" # required.

# Set the user agent for the POSTs (can be useful for log differentiation)
# user_agent = "telegraf"
# username = "telegraf"
# password = "metricsmetricsmetricsmetrics"

# Tags can also be specified via a normal map, but only one form at a time:

# [influxdb.tags]
# tags = { "dc" = "us-east-1" }

# Configuration for telegraf itself
# [agent]
# interval = "10s"
# debug = false
# hostname = "prod3241"
# Set the user agent for the POSTs (can be useful for log differentiation)
# user_agent = "telegraf"

# PLUGINS

# Read metrics about cpu usage
[cpu]
# Whether to report per-cpu stats or not
percpu = true
# # Whether to report total system cpu stats or not
totalcpu = true
# Whether to report per-cpu stats or not
percpu = true
# Whether to report total system cpu stats or not
totalcpu = true

# Read metrics about disk usage by mount point
[disk]
# no configuration
# no configuration

# Read metrics about disk IO by device
[io]
# no configuration
# no configuration

# Read metrics about memory usage
[mem]
# no configuration
# no configuration

[system]
# no configuration
# no configuration

[swap]
# no configuration
# no configuration

0 comments on commit 65b33a8

Please sign in to comment.