* Added a check to ignore IPMI sensors reporting "No Reading" in scan-ipmitool.

Signed-off-by: Digimer <digimer@alteeve.ca>
main
Digimer 2 years ago
parent 7c0b0edc68
commit 76f95d8e53
  1. 1
      Anvil/Tools/System.pm

@ -1723,6 +1723,7 @@ sub collect_ipmi_data
$entity_id, $entity_id,
$current_value) = split /\|/, $line; $current_value) = split /\|/, $line;
next if not $sensor_name; next if not $sensor_name;
next if lc($current_value) eq "no reading";
$anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 2, list => { $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 2, list => {
sensor_name => $sensor_name, sensor_name => $sensor_name,

Loading…
Cancel
Save