bin/check-raid.rb in sensu-plugins-raid-checks-0.0.2 vs bin/check-raid.rb in sensu-plugins-raid-checks-0.0.3
- old
+ new
@@ -120,11 +120,11 @@
end
# Main function
#
def run
+ check_software
unless `lspci`.lines.grep(/RAID/).empty?
- check_software
check_hp
check_adaptec
check_mega_raid
unknown 'Missing software for RAID controller'