summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Manna <kyle@kylemanna.com>2023-09-05 06:37:10 -0500
committerGitHub <noreply@github.com>2023-09-05 14:37:10 +0300
commit27d2b8595b7d3f4b838fe49747930cd0880a1e15 (patch)
treefdf0d4f96793cc8691dce7bdfaffbd65a026def3
parent3685fd774acdd96bf931d2cf4752ab8e23c62372 (diff)
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.
-rw-r--r--collectors/python.d.plugin/sensors/sensors.chart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/collectors/python.d.plugin/sensors/sensors.chart.py b/collectors/python.d.plugin/sensors/sensors.chart.py
index 701bf64147..0d9de3750f 100644
--- a/collectors/python.d.plugin/sensors/sensors.chart.py
+++ b/collectors/python.d.plugin/sensors/sensors.chart.py
@@ -66,7 +66,7 @@ CHARTS = {
LIMITS = {
'temperature': [-127, 1000],
- 'voltage': [-127, 127],
+ 'voltage': [-400, 400],
'current': [-127, 127],
'fan': [0, 65535]
}