diff --git a/lib/App/Monitoring/Plugin/CheckRaid/Plugins/storcli2.pm b/lib/App/Monitoring/Plugin/CheckRaid/Plugins/storcli2.pm new file mode 100644 index 0000000..d9d78ab --- /dev/null +++ b/lib/App/Monitoring/Plugin/CheckRaid/Plugins/storcli2.pm @@ -0,0 +1,95 @@ +package App::Monitoring::Plugin::CheckRaid::Plugins::storcli2; + +use base 'App::Monitoring::Plugin::CheckRaid::Plugin'; +use strict; +use warnings; +use JSON qw( decode_json ); +use Data::Dumper; + +sub program_names { + qw(storcli2); +} + +sub commands { + { + 'pdlist' => ['-|', '@CMD', '/call', '/eall', '/sall', 'show', 'nolog', 'J'], + 'ldinfo' => ['-|', '@CMD', '/call', '/vall', 'show', 'all', 'nolog', 'J'], + } +} + +# parse physical devices +sub parse_pd { + my $this = shift; + + my $fh = $this->cmd('pdlist'); + my $output = ""; + while (<$fh>) { + $output=$output.$_; + } + $this->critical unless close $fh; + my $decoded_json = decode_json( $output ); + return $decoded_json; +} + +sub parse_ld { + my $this = shift; + + my $fh = $this->cmd('ldinfo'); + my $output = ""; + while (<$fh>) { + $output=$output.$_; + } + $this->critical unless close $fh; + my $decoded_json = decode_json( $output ); + return $decoded_json; +} + +sub parse { + my $this = shift; + + my $pd = $this->parse_pd; + my $ld = $this->parse_ld; + return { + logical => $ld->{'Controllers'}[0]{'Response Data'}{'Virtual Drives'}, + physical => $pd->{'Controllers'}[0]{'Response Data'}{'Drive Information'}, + }; +} + +sub check { + my $this = shift; + + my $c = $this->parse; + + my @vstatus; + foreach my $vol (@{$c->{logical}}) { + push(@vstatus, sprintf "%s:%s", $vol->{'VD Info'}{'Name'}, $vol->{'VD Info'}{'State'}); + + if ($vol->{'VD Info'}{'State'} ne 'Optl') { + $this->critical; + } + } + + my %dstatus; + foreach my $dev (sort {$a->{'PID'} <=> $b->{'PID'}} @{$c->{physical}}) { + if ($dev->{'Status'} eq 'Online') { + push(@{$dstatus{$dev->{'Status'}}}, sprintf "%s", $dev->{'EID:Slt'}); + } else { + $this->critical; + push(@{$dstatus{$dev->{'Status'}}}, sprintf "%s (%s)", $dev->{'EID:Slt'}, $dev->{'Model'}); + } + } + + my @cstatus; + push(@cstatus, 'Volumes(' . ($#{$c->{logical}} + 1) . '): ' . join(',', @vstatus)); + push(@cstatus, 'Devices(' . ($#{$c->{physical}} + 1) . '): ' . $this->join_status(\%dstatus)); + my @status = join('; ', @cstatus); + + return unless @status; + + # denote this plugin as ran ok + $this->ok; + + $this->message(join(' ', @status)); +} + +1; diff --git a/t/data/storcli2/storcli2.ldinfo.1 b/t/data/storcli2/storcli2.ldinfo.1 new file mode 100644 index 0000000..90f86d0 --- /dev/null +++ b/t/data/storcli2/storcli2.ldinfo.1 @@ -0,0 +1,451 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0008.0000.0010 Jan 08, 2024", + "Operating system" : "Linux5.14.0-362.24.1.el9_3.0.1.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "None" + }, + "Response Data" : { + "Virtual Drives" : [ + { + "VD Info" : { + "DG/VD" : "0/1", + "TYPE" : "RAID1", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WT", + "DefaultCache" : "NR,WT", + "Size" : "446.625 GiB", + "Name" : "Raid1" + }, + "PDs" : [ + { + "EID:Slt" : "292:0", + "PID" : 275, + "State" : "Conf", + "Status" : "Online", + "DG" : 0, + "Size" : "446.625 GiB", + "Intf" : "SATA", + "Med" : "SSD", + "SED_Type" : "Opal", + "SeSz" : "512B", + "Model" : "SAMSUNG MZ7L3480HCHQ-00A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "292:1", + "PID" : 276, + "State" : "Conf", + "Status" : "Online", + "DG" : 0, + "Size" : "446.625 GiB", + "Intf" : "SATA", + "Med" : "SSD", + "SED_Type" : "Opal", + "SeSz" : "512B", + "Model" : "SAMSUNG MZ7L3480HCHQ-00A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "64 KiB", + "Block Size" : 4096, + "Number of Blocks" : 117080064, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 2, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "On", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2023/01/18 11:49:49", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b213ccf44063c7dcddc9b438f8", + "OS Drive Name" : "/dev/sda", + "Current Unmap Status" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00f838b4c9dddcc76340f4cc13b26200" + } + }, + { + "VD Info" : { + "DG/VD" : "1/2", + "TYPE" : "RAID6", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "R,WB", + "Size" : "83.832 TiB", + "Name" : "Raid6_00" + }, + "PDs" : [ + { + "EID:Slt" : "336:0", + "PID" : 293, + "State" : "Conf", + "Status" : "Online", + "DG" : 1, + "Size" : "13.971 TiB", + "Intf" : "SAS", + "Med" : "SSD", + "SED_Type" : "Enterprise", + "SeSz" : "512B", + "Model" : "MZILG15THBLA/A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "336:1", + "PID" : 294, + "State" : "Conf", + "Status" : "Online", + "DG" : 1, + "Size" : "13.971 TiB", + "Intf" : "SAS", + "Med" : "SSD", + "SED_Type" : "Enterprise", + "SeSz" : "512B", + "Model" : "MZILG15THBLA/A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "336:2", + "PID" : 295, + "State" : "Conf", + "Status" : "Online", + "DG" : 1, + "Size" : "13.971 TiB", + "Intf" : "SAS", + "Med" : "SSD", + "SED_Type" : "Enterprise", + "SeSz" : "512B", + "Model" : "MZILG15THBLA/A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "336:3", + "PID" : 296, + "State" : "Conf", + "Status" : "Online", + "DG" : 1, + "Size" : "13.971 TiB", + "Intf" : "SAS", + "Med" : "SSD", + "SED_Type" : "Enterprise", + "SeSz" : "512B", + "Model" : "MZILG15THBLA/A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "336:4", + "PID" : 297, + "State" : "Conf", + "Status" : "Online", + "DG" : 1, + "Size" : "13.971 TiB", + "Intf" : "SAS", + "Med" : "SSD", + "SED_Type" : "Enterprise", + "SeSz" : "512B", + "Model" : "MZILG15THBLA/A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "336:5", + "PID" : 298, + "State" : "Conf", + "Status" : "Online", + "DG" : 1, + "Size" : "13.971 TiB", + "Intf" : "SAS", + "Med" : "SSD", + "SED_Type" : "Enterprise", + "SeSz" : "512B", + "Model" : "MZILG15THBLA/A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "336:6", + "PID" : 299, + "State" : "Conf", + "Status" : "Online", + "DG" : 1, + "Size" : "13.971 TiB", + "Intf" : "SAS", + "Med" : "SSD", + "SED_Type" : "Enterprise", + "SeSz" : "512B", + "Model" : "MZILG15THBLA/A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "336:7", + "PID" : 300, + "State" : "Conf", + "Status" : "Online", + "DG" : 1, + "Size" : "13.971 TiB", + "Intf" : "SAS", + "Med" : "SSD", + "SED_Type" : "Enterprise", + "SeSz" : "512B", + "Model" : "MZILG15THBLA/A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "64 KiB", + "Block Size" : 4096, + "Number of Blocks" : 22503555072, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 8, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "On", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2024/04/04 08:20:25", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b213ccf440660e62c9bcea6630", + "OS Drive Name" : "/dev/sdc", + "Default Unmap Policy" : "No", + "Current Unmap Status" : "No", + "Default WriteSame Unmap Policy" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "003066eabcc9620e6640f4cc13b26200" + } + }, + { + "VD Info" : { + "DG/VD" : "2/3", + "TYPE" : "RAID6", + "State" : "Optl", + "Access" : "RW", + "CurrentCache" : "NR,WB", + "DefaultCache" : "R,WB", + "Size" : "83.832 TiB", + "Name" : "Raid6_00" + }, + "PDs" : [ + { + "EID:Slt" : "336:8", + "PID" : 301, + "State" : "Conf", + "Status" : "Online", + "DG" : 2, + "Size" : "13.971 TiB", + "Intf" : "SAS", + "Med" : "SSD", + "SED_Type" : "Enterprise", + "SeSz" : "512B", + "Model" : "MZILG15THBLA/A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "336:9", + "PID" : 302, + "State" : "Conf", + "Status" : "Online", + "DG" : 2, + "Size" : "13.971 TiB", + "Intf" : "SAS", + "Med" : "SSD", + "SED_Type" : "Enterprise", + "SeSz" : "512B", + "Model" : "MZILG15THBLA/A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "336:10", + "PID" : 303, + "State" : "Conf", + "Status" : "Online", + "DG" : 2, + "Size" : "13.971 TiB", + "Intf" : "SAS", + "Med" : "SSD", + "SED_Type" : "Enterprise", + "SeSz" : "512B", + "Model" : "MZILG15THBLA/A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "336:11", + "PID" : 304, + "State" : "Conf", + "Status" : "Online", + "DG" : 2, + "Size" : "13.971 TiB", + "Intf" : "SAS", + "Med" : "SSD", + "SED_Type" : "Enterprise", + "SeSz" : "512B", + "Model" : "MZILG15THBLA/A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "336:12", + "PID" : 305, + "State" : "Conf", + "Status" : "Online", + "DG" : 2, + "Size" : "13.971 TiB", + "Intf" : "SAS", + "Med" : "SSD", + "SED_Type" : "Enterprise", + "SeSz" : "512B", + "Model" : "MZILG15THBLA/A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "336:13", + "PID" : 306, + "State" : "Conf", + "Status" : "Online", + "DG" : 2, + "Size" : "13.971 TiB", + "Intf" : "SAS", + "Med" : "SSD", + "SED_Type" : "Enterprise", + "SeSz" : "512B", + "Model" : "MZILG15THBLA/A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "336:14", + "PID" : 307, + "State" : "Conf", + "Status" : "Online", + "DG" : 2, + "Size" : "13.971 TiB", + "Intf" : "SAS", + "Med" : "SSD", + "SED_Type" : "Enterprise", + "SeSz" : "512B", + "Model" : "MZILG15THBLA/A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "336:15", + "PID" : 308, + "State" : "Conf", + "Status" : "Online", + "DG" : 2, + "Size" : "13.971 TiB", + "Intf" : "SAS", + "Med" : "SSD", + "SED_Type" : "Enterprise", + "SeSz" : "512B", + "Model" : "MZILG15THBLA/A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "VD Properties" : { + "Strip Size" : "64 KiB", + "Block Size" : 4096, + "Number of Blocks" : 22503555072, + "VD has Emulated PD" : "Yes", + "Span Depth" : 1, + "Number of Drives" : 8, + "Drive Write Cache Policy" : "Disabled", + "Default Power Save Policy" : "Default", + "Current Power Save Policy" : "Default", + "Access Policy Status" : "VD has desired access", + "Auto BGI" : "On", + "Secured" : "No", + "Init State" : "No Init", + "Consistent" : "Yes", + "Morphing" : "No", + "Cache Preserved" : "No", + "Bad Block Exists" : "No", + "VD Ready for OS Requests" : "Yes", + "Reached LD BBM failure threshold" : "No", + "Supported Erase Types" : "Simple, Normal, Thorough", + "Exposed to OS" : "Yes", + "Creation Time(LocalTime yyyy/mm/dd hh:mm:sec)" : "2024/04/04 08:21:05", + "Default Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "Current Cachebypass Mode" : "Cachebypass Not Performed For Any IOs", + "SCSI NAA Id" : "600062b213ccf440660e62f1f87bb0ca", + "OS Drive Name" : "/dev/sdb", + "Default Unmap Policy" : "No", + "Current Unmap Status" : "No", + "Default WriteSame Unmap Policy" : "No", + "Current WriteSame Unmap Status" : "No", + "LU/NS Count used per PD" : 1, + "Data Format for I/O" : "None", + "Serial Number" : "00cab07bf8f1620e6640f4cc13b26200" + } + } + ] + } +} +] +} + diff --git a/t/data/storcli2/storcli2.pdlist.1 b/t/data/storcli2/storcli2.pdlist.1 new file mode 100644 index 0000000..d5aa3d0 --- /dev/null +++ b/t/data/storcli2/storcli2.pdlist.1 @@ -0,0 +1,434 @@ +{ +"Controllers":[ +{ + "Command Status" : { + "CLI Version" : "008.0008.0000.0010 Jan 08, 2024", + "Operating system" : "Linux5.14.0-362.24.1.el9_3.0.1.x86_64", + "Controller" : "0", + "Status" : "Success", + "Description" : "Show Drive Information Succeeded." + }, + "Response Data" : { + "Drive Information" : [ + { + "EID:Slt" : "292:0", + "PID" : 275, + "State" : "Conf", + "Status" : "Online", + "DG" : 0, + "Size" : "446.625 GiB", + "Intf" : "SATA", + "Med" : "SSD", + "SED_Type" : "Opal", + "SeSz" : "512B", + "Model" : "SAMSUNG MZ7L3480HCHQ-00A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "292:1", + "PID" : 276, + "State" : "Conf", + "Status" : "Online", + "DG" : 0, + "Size" : "446.625 GiB", + "Intf" : "SATA", + "Med" : "SSD", + "SED_Type" : "Opal", + "SeSz" : "512B", + "Model" : "SAMSUNG MZ7L3480HCHQ-00A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "336:0", + "PID" : 293, + "State" : "Conf", + "Status" : "Online", + "DG" : 1, + "Size" : "13.971 TiB", + "Intf" : "SAS", + "Med" : "SSD", + "SED_Type" : "Enterprise", + "SeSz" : "512B", + "Model" : "MZILG15THBLA/A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "336:1", + "PID" : 294, + "State" : "Conf", + "Status" : "Online", + "DG" : 1, + "Size" : "13.971 TiB", + "Intf" : "SAS", + "Med" : "SSD", + "SED_Type" : "Enterprise", + "SeSz" : "512B", + "Model" : "MZILG15THBLA/A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "336:2", + "PID" : 295, + "State" : "Conf", + "Status" : "Online", + "DG" : 1, + "Size" : "13.971 TiB", + "Intf" : "SAS", + "Med" : "SSD", + "SED_Type" : "Enterprise", + "SeSz" : "512B", + "Model" : "MZILG15THBLA/A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "336:3", + "PID" : 296, + "State" : "Conf", + "Status" : "Online", + "DG" : 1, + "Size" : "13.971 TiB", + "Intf" : "SAS", + "Med" : "SSD", + "SED_Type" : "Enterprise", + "SeSz" : "512B", + "Model" : "MZILG15THBLA/A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "336:4", + "PID" : 297, + "State" : "Conf", + "Status" : "Online", + "DG" : 1, + "Size" : "13.971 TiB", + "Intf" : "SAS", + "Med" : "SSD", + "SED_Type" : "Enterprise", + "SeSz" : "512B", + "Model" : "MZILG15THBLA/A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "336:5", + "PID" : 298, + "State" : "Conf", + "Status" : "Online", + "DG" : 1, + "Size" : "13.971 TiB", + "Intf" : "SAS", + "Med" : "SSD", + "SED_Type" : "Enterprise", + "SeSz" : "512B", + "Model" : "MZILG15THBLA/A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "336:6", + "PID" : 299, + "State" : "Conf", + "Status" : "Online", + "DG" : 1, + "Size" : "13.971 TiB", + "Intf" : "SAS", + "Med" : "SSD", + "SED_Type" : "Enterprise", + "SeSz" : "512B", + "Model" : "MZILG15THBLA/A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "336:7", + "PID" : 300, + "State" : "Conf", + "Status" : "Online", + "DG" : 1, + "Size" : "13.971 TiB", + "Intf" : "SAS", + "Med" : "SSD", + "SED_Type" : "Enterprise", + "SeSz" : "512B", + "Model" : "MZILG15THBLA/A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "336:8", + "PID" : 301, + "State" : "Conf", + "Status" : "Online", + "DG" : 2, + "Size" : "13.971 TiB", + "Intf" : "SAS", + "Med" : "SSD", + "SED_Type" : "Enterprise", + "SeSz" : "512B", + "Model" : "MZILG15THBLA/A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "336:9", + "PID" : 302, + "State" : "Conf", + "Status" : "Online", + "DG" : 2, + "Size" : "13.971 TiB", + "Intf" : "SAS", + "Med" : "SSD", + "SED_Type" : "Enterprise", + "SeSz" : "512B", + "Model" : "MZILG15THBLA/A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "336:10", + "PID" : 303, + "State" : "Conf", + "Status" : "Online", + "DG" : 2, + "Size" : "13.971 TiB", + "Intf" : "SAS", + "Med" : "SSD", + "SED_Type" : "Enterprise", + "SeSz" : "512B", + "Model" : "MZILG15THBLA/A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "336:11", + "PID" : 304, + "State" : "Conf", + "Status" : "Online", + "DG" : 2, + "Size" : "13.971 TiB", + "Intf" : "SAS", + "Med" : "SSD", + "SED_Type" : "Enterprise", + "SeSz" : "512B", + "Model" : "MZILG15THBLA/A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "336:12", + "PID" : 305, + "State" : "Conf", + "Status" : "Online", + "DG" : 2, + "Size" : "13.971 TiB", + "Intf" : "SAS", + "Med" : "SSD", + "SED_Type" : "Enterprise", + "SeSz" : "512B", + "Model" : "MZILG15THBLA/A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "336:13", + "PID" : 306, + "State" : "Conf", + "Status" : "Online", + "DG" : 2, + "Size" : "13.971 TiB", + "Intf" : "SAS", + "Med" : "SSD", + "SED_Type" : "Enterprise", + "SeSz" : "512B", + "Model" : "MZILG15THBLA/A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "336:14", + "PID" : 307, + "State" : "Conf", + "Status" : "Online", + "DG" : 2, + "Size" : "13.971 TiB", + "Intf" : "SAS", + "Med" : "SSD", + "SED_Type" : "Enterprise", + "SeSz" : "512B", + "Model" : "MZILG15THBLA/A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + }, + { + "EID:Slt" : "336:15", + "PID" : 308, + "State" : "Conf", + "Status" : "Online", + "DG" : 2, + "Size" : "13.971 TiB", + "Intf" : "SAS", + "Med" : "SSD", + "SED_Type" : "Enterprise", + "SeSz" : "512B", + "Model" : "MZILG15THBLA/A07", + "Sp" : "U", + "LU/NS Count" : 1, + "Alt-EID" : "-" + } + ], + "LU/NS Information" : [ + { + "PID" : 275, + "LUN/NSID" : "0/-", + "Index" : 0, + "Status" : "Online", + "Size" : "446.625 GiB" + }, + { + "PID" : 276, + "LUN/NSID" : "0/-", + "Index" : 0, + "Status" : "Online", + "Size" : "446.625 GiB" + }, + { + "PID" : 293, + "LUN/NSID" : "0/-", + "Index" : 0, + "Status" : "Online", + "Size" : "13.971 TiB" + }, + { + "PID" : 294, + "LUN/NSID" : "0/-", + "Index" : 0, + "Status" : "Online", + "Size" : "13.971 TiB" + }, + { + "PID" : 295, + "LUN/NSID" : "0/-", + "Index" : 0, + "Status" : "Online", + "Size" : "13.971 TiB" + }, + { + "PID" : 296, + "LUN/NSID" : "0/-", + "Index" : 0, + "Status" : "Online", + "Size" : "13.971 TiB" + }, + { + "PID" : 297, + "LUN/NSID" : "0/-", + "Index" : 0, + "Status" : "Online", + "Size" : "13.971 TiB" + }, + { + "PID" : 298, + "LUN/NSID" : "0/-", + "Index" : 0, + "Status" : "Online", + "Size" : "13.971 TiB" + }, + { + "PID" : 299, + "LUN/NSID" : "0/-", + "Index" : 0, + "Status" : "Online", + "Size" : "13.971 TiB" + }, + { + "PID" : 300, + "LUN/NSID" : "0/-", + "Index" : 0, + "Status" : "Online", + "Size" : "13.971 TiB" + }, + { + "PID" : 301, + "LUN/NSID" : "0/-", + "Index" : 0, + "Status" : "Online", + "Size" : "13.971 TiB" + }, + { + "PID" : 302, + "LUN/NSID" : "0/-", + "Index" : 0, + "Status" : "Online", + "Size" : "13.971 TiB" + }, + { + "PID" : 303, + "LUN/NSID" : "0/-", + "Index" : 0, + "Status" : "Online", + "Size" : "13.971 TiB" + }, + { + "PID" : 304, + "LUN/NSID" : "0/-", + "Index" : 0, + "Status" : "Online", + "Size" : "13.971 TiB" + }, + { + "PID" : 305, + "LUN/NSID" : "0/-", + "Index" : 0, + "Status" : "Online", + "Size" : "13.971 TiB" + }, + { + "PID" : 306, + "LUN/NSID" : "0/-", + "Index" : 0, + "Status" : "Online", + "Size" : "13.971 TiB" + }, + { + "PID" : 307, + "LUN/NSID" : "0/-", + "Index" : 0, + "Status" : "Online", + "Size" : "13.971 TiB" + }, + { + "PID" : 308, + "LUN/NSID" : "0/-", + "Index" : 0, + "Status" : "Online", + "Size" : "13.971 TiB" + } + ] + } +} +] +} +