mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
freeipmi: avoid reporting N/A values.
This commit is contained in:
parent
1f9d76a7cb
commit
9a46eb9bf5
@ -101,6 +101,9 @@ my @data = split(/\n/, $output);
|
||||
foreach my $line (@data) {
|
||||
my @dataline = split(/,/, $line);
|
||||
|
||||
# skip values that are not useful
|
||||
next if $dataline[3] eq "N/A";
|
||||
|
||||
my %sensor = (
|
||||
graphid => "ipmi" . $dataline[0],
|
||||
value => $dataline[3],
|
||||
|
Loading…
Reference in New Issue
Block a user