Skip to content

Instantly share code, notes, and snippets.

@veteran29
Last active June 30, 2021 15:30
Show Gist options
  • Save veteran29/962d096d70adaed93ad0007742a5f21d to your computer and use it in GitHub Desktop.
Save veteran29/962d096d70adaed93ad0007742a5f21d to your computer and use it in GitHub Desktop.
InfluxDB - Telegraf - MSI Afterburner Remote Server input
[agent]
debug = false
interval = "5s"
# MSI Afterburner Remote Server
[[inputs.http]]
urls = ["http://${AFTERBURNER_HOST}:82/mahm"]
name_override = "msi_afterburner"
## Optional HTTP Basic Auth Credentials
username = "MSIAfterburner"
password = "${AFTERBURNER_PASSWORD}"
## Drop url and hostname from list of tags
tagexclude = ["url", "host"]
data_format = "xml"
[[inputs.http.xml]]
metric_selection = "/HardwareMonitor/HardwareMonitorEntries"
timestamp = "/HardwareMonitor/HardwareMonitorHeader//time"
field_selection = "child::HardwareMonitorEntry"
field_name = "srcName"
field_value = "number(data)"
[[outputs.influxdb_v2]]
urls = ["http://influxdb:8086"]
token = "${INFLUX_TOKEN}"
organization = "metrics"
bucket = "${INFLUX_BUCKET}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment