Build precise queries to find exactly what you need
Press ESC to close
When having Logical Drive 0,1,3 instead of 0,1,2 the plugin throws perl errors. This patch fixes this:
diff –git a/check_megaraid_sas b/check_megaraid_sas index b9c2a32..b2bc32b 100644 — a/check_megaraid_sas +++ b/check_megaraid_sas @@ -219,8 +219,20 @@ ADAPTER: for ( my $adp = 0; $adp while () { + if ( m/^Virtual Drive:.d..Target Id: (d+)./i ) { + push(@ldlist, $1); + } + } + close LDGETLIST; +
– LDISK: for ( my $ld = 0; $ld apostopt |”) || exitreport(‘UNKNOWN’, “error: Could not execute $megacli -LdInfo -L$ld -a$adp $megapostopt “); — 2.1.4
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!