Skip to content

Instantly share code, notes, and snippets.

@i40sys
Created March 1, 2022 06:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save i40sys/95a86e92c0eae49885a74ccf0f53761a to your computer and use it in GitHub Desktop.
Save i40sys/95a86e92c0eae49885a74ccf0f53761a to your computer and use it in GitHub Desktop.
{
"nut_host": "localhost",
"nut_ups": "salicru",
"nut_vars": {
"ups.load": {"type": "int", "measurement_name": "ups_load"},
"input.voltage": {"type": "float", "measurement_name": "ups_voltage"},
"battery.charge": {"type": "int", "measurement_name": "ups_charge"}
},
"influx_host": "http://localhost:8086",
"influx_creds": ["THE_INFLUXDB_USER", "THE_INFLUXDB_PASSWORD"],
"influx_db": "telegraf",
"influx_tags": {
"ups": "NAME_OF_YOUR_UPS"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment