Build precise queries to find exactly what you need
Press ESC to close
lsdrive check will never notify a degraded or offline disk.
You should replace the commented lines with the next line following the commented line:
my %lsdrive_states = ( #” => ‘OK’, ‘online’ => ‘OK’, ‘offline’ => ‘CRITICAL’, ‘degraded’ => ‘CRITICAL’, );
} elsif ($check eq “lsdrive”) { # * online: blank # * degraded: populated if associated with an error # * offline: must be populated $svc_command = “lsdrive”; $item = “mdisk member”; $item_name = “id”; #$item_state = “error_sequence_number”; $item_state = “status”; &itemcheck(%lsdrive_states)
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!