diff --git a/includes/discovery/sensors/current/liebert.inc.php b/includes/discovery/sensors/current/liebert.inc.php index d5e03378c9..4f49aea4ac 100644 --- a/includes/discovery/sensors/current/liebert.inc.php +++ b/includes/discovery/sensors/current/liebert.inc.php @@ -82,7 +82,7 @@ foreach (array_keys($ps_data) as $index) { $oid = '.1.3.6.1.4.1.476.1.42.3.8.30.20.1.70.' . $index; $type = 'liebert'; - $descr = trim('Neutral ' . $ps_data[$index]['lgpPduPsLineEntryId']); + $descr = trim('Neutral ' . $ps_data[$index]['lgpPduPsEntryId']); $divisor = 10; $multiplier = 1; diff --git a/tests/data/liebert.json b/tests/data/liebert.json index afe201e245..dbec76fde1 100644 --- a/tests/data/liebert.json +++ b/tests/data/liebert.json @@ -126,7 +126,7 @@ "sensor_oid": ".1.3.6.1.4.1.476.1.42.3.8.30.20.1.70.1.1", "sensor_index": "1.1lgpPduPsEntryEcNeutral", "sensor_type": "liebert", - "sensor_descr": "Neutral", + "sensor_descr": "Neutral 1", "group": null, "sensor_divisor": 10, "sensor_multiplier": 1, @@ -734,7 +734,7 @@ "sensor_oid": ".1.3.6.1.4.1.476.1.42.3.8.30.20.1.70.1.1", "sensor_index": "1.1lgpPduPsEntryEcNeutral", "sensor_type": "liebert", - "sensor_descr": "Neutral", + "sensor_descr": "Neutral 1", "group": null, "sensor_divisor": 10, "sensor_multiplier": 1,