python.d/sensors: Increase voltage limits 127 -> 400 (#15905)
* Fix a limit that caused my properly functioning PMBus power supply sensor to be skipped as it reported 208VAC. * The 400V limit was pulled from the Open Compute Project M-CRPS specification v1.0 Section 5.1.3.2[0] which defines a power supply input voltage as 380VDC and specifies a Vmax of 400VDC. * Also decrease the lower limit to -400VDC as some telecom power supplies may report negative voltage, most notable is -48VDC and expect more could as well.
Kyle Manna committed
Sep 5, 2023 at 06:37 UTC
27d2b8595b7d3f4b838fe49747930cd0880a1e15
1 file changed
+1
-1
collectors/python.d.plugin/sensors/sensors.chart.py
+1
-1
@@ -66,7 +66,7 @@ CHARTS = {
66
67
LIMITS = {
68
'temperature': [-127, 1000],
69
- 'voltage': [-127, 127],
69
+ 'voltage': [-400, 400],
70
'current': [-127, 127],
71
'fan': [0, 65535]
72
}