Brandawg93 / PeaNUT

A tiny dashboard for Network UPS Tools
Apache License 2.0
479 stars 10 forks source link

[Bug]: INFLUX_INTERVAL not working #111

Open StoicaRemus opened 1 day ago

StoicaRemus commented 1 day ago

Describe the bug

Changes to INFLUX_INTERVAL variable not changing the interval for Influx ingestion. Using docker, I've noticed that INFLUX_INTERVAL changes do not reflect the set variable, I have tried with lower than 10, higher than 10, even with 60s, the interval remains 10s each time. Modifying other ENVs are reflected after container deployment, checked via webui. Also there is a typo 'Inverval'

Debug Output

No logs displayed.

Steps to reproduce

  1. Use any value for INFLUX_INTERVAL
  2. Verify InfluxDB

Device Type

Ubuntu dockerized

UPS Device

Eaton 850 Elipse

Last Working Version

No response

Brandawg93 commented 1 day ago

You may need to change the value in the configuration file as well. But I can also make that configurable through the UI. I'll probably do that on the next release.

Brandawg93 commented 1 day ago

112