Build precise queries to find exactly what you need
Press ESC to close
@daniel_cioruta
Member Since: June 6, 2016
Favorites0
Views
Projects0
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)
Reviewed 9 years ago