X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Fmunin%2Fplugins%2Fhpasmcli2_fans;fp=etc%2Fmunin%2Fplugins%2Fhpasmcli2_fans;h=80e5d97cb8fefe54066bc518860106652ba77856;hb=81157fd299e5166430ab4003e4b6bf8eb94da2b8;hp=c768cb7a715e3e5c1863c42bdcebc156c405a5cd;hpb=29ba2e53973d3d4e43677c1a7e7ffbf2cd4c0002;p=matthijs%2Fservers%2Fdrsnuggles.git diff --git a/etc/munin/plugins/hpasmcli2_fans b/etc/munin/plugins/hpasmcli2_fans index c768cb7..80e5d97 100755 --- a/etc/munin/plugins/hpasmcli2_fans +++ b/etc/munin/plugins/hpasmcli2_fans @@ -131,6 +131,7 @@ if (defined($show_target) and $show_target eq 'temp') { $line =~ s/^\s//g; my ($fan, $loc, $present, $speed, $rate, $redundant, $partner, $pluggable) = split(/\s/, $line); next if ($present ne "Yes"); + next if ($rate eq "N/A"); $loc =~ s/\/|#//g; $rate =~ s/\%//g; my $threshold = '100';