Skip to content

Commit 516ad42

Browse files
committed
Add missing types
1 parent e3795a2 commit 516ad42

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

LibreNMS/OS/Enterasys.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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,

LibreNMS/OS/Equallogic.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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",

LibreNMS/OS/Nimbleos.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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'],

0 commit comments

Comments
 (0)