Skip to content

Commit

Permalink
Updated telegraf.conf sample according to README.
Browse files Browse the repository at this point in the history
  • Loading branch information
JeromeGillard committed Nov 24, 2019
1 parent 4fb5de3 commit 1032740
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions telegraf.conf
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,12 @@
data_format = "influx"

[[inputs.exec]]
commands = ["bash /etc/telegraf/folder_size.sh /mnt/storjshare"]
commands = [
"curl -s 127.0.0.1:14002/api/dashboard", # Open SNO API by mapping ports when running your SNO docker instance
"curl -s 127.0.0.1:14003/api/dashboard" # If multiple nodes, map ports accordingly
]
timeout = "60s"
interval = "30m"
data_format = "influx"
interval = "1m"
data_format = "json"
tag_keys = [ "data_nodeID" ]
name_override = "StorJHealth"

0 comments on commit 1032740

Please sign in to comment.