File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed
Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ public function discoverStorage(): Collection
6868 $ total = SnmpQuery::get ('ENTERASYS-RESOURCE-UTILIZATION-MIB::etsysResourceStorageSize.3.flash.0 ' )->value ();
6969 if (is_numeric ($ free ) && is_numeric ($ total )) {
7070 $ storage ->push ((new Storage ([
71+ 'type ' => 'enterasys ' ,
7172 'storage_type ' => 'Flash ' ,
7273 'storage_descr ' => 'Internal Flash Storage ' ,
7374 'storage_units ' => 1024 ,
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ public function discoverStorage(): Collection
1414 return \SnmpQuery::mibDir ('equallogic ' )->walk ('EQLVOLUME-MIB::eqliscsiVolumeTable ' )
1515 ->mapTable (function ($ data , $ eqliscsiLocalMemberId , $ eqliscsiVolumeIndex ) {
1616 return (new Storage ([
17+ 'type ' => 'equallogic ' ,
1718 'storage_type ' => $ data ['EQLVOLUME-MIB:eqliscsiVolumeAdminStatus ' ],
1819 'storage_descr ' => $ data ['EQLVOLUME-MIB:eqliscsiVolumeName ' ],
1920 'storage_index ' => "$ eqliscsiLocalMemberId. $ eqliscsiVolumeIndex " ,
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ public function discoverStorage(): Collection
1919 $ size = ($ data ['NIMBLE-MIB::volSizeHigh ' ] << 32 ) + $ data ['NIMBLE-MIB::volSizeLow ' ];
2020
2121 return (new Storage ([
22+ 'type ' => 'nimbleos ' ,
2223 'storage_index ' => $ volIndex ,
2324 'storage_type ' => $ data ['NIMBLE-MIB::volOnline ' ],
2425 'storage_descr ' => $ data ['NIMBLE-MIB::volName ' ],
You can’t perform that action at this time.
0 commit comments