Last active
June 30, 2021 15:30
-
-
Save veteran29/962d096d70adaed93ad0007742a5f21d to your computer and use it in GitHub Desktop.
InfluxDB - Telegraf - MSI Afterburner Remote Server input
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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