towerops/priv
Graham McIntire 8158042220
fix: correct Mikrotik voltage sensor divisor from 1 to 10
Mikrotik/RouterOS voltage sensors were showing incorrect values (469.0
instead of 46.9) because existing sensors in the database have
sensor_divisor=1 instead of the correct value of 10.

The RouterOS profile code was fixed in a previous commit to set
divisor=10 for new sensors, but existing sensors need to be updated.

Migration changes:
- Updates sensor_divisor from 1 to 10 for Mikrotik voltage sensors
- Identifies Mikrotik sensors by OID prefix: 1.3.6.1.4.1.14988.1.1.3.100.1.3
- Divides all historical sensor_reading values by 10 to correct the data
- Both up and down migrations included for full reversibility

After this migration:
- Voltage will show as 46.9V instead of 469.0V
- Historical graphs will show correct voltage values
2026-01-25 12:11:48 -06:00
..
gettext init 2025-12-21 11:10:43 -06:00
mibs Include MIB files in Docker image instead of using PVC 2026-01-19 14:01:03 -06:00
profiles import yamls 2026-01-21 14:30:04 -06:00
proto Add ICMP monitoring support to Phoenix agent channel 2026-01-19 13:46:20 -06:00
repo fix: correct Mikrotik voltage sensor divisor from 1 to 10 2026-01-25 12:11:48 -06:00
static sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00