We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e9c1f0 commit 234aa9fCopy full SHA for 234aa9f
includes/discovery/storage/hrstorage.inc.php
@@ -3,9 +3,11 @@
3
use Illuminate\Support\Str;
4
use LibreNMS\Config;
5
6
-$hrstorage_array = SnmpQuery::hideMib()->walk("HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES::oid")->table(1);
+$hrstorage_array = SnmpQuery::hideMib()
7
+ ->mibs(['HOST-RESOURCES-MIB', 'HOST-RESOURCES-TYPES'])
8
+ ->walk('HOST-RESOURCES-MIB::hrStorageTable')->table(1);
9
-if (is_array($hrstorage_array)) {
10
+if (! empty($hrstorage_array)) {
11
echo 'hrStorage : ';
12
13
$bad_fs_types = [
0 commit comments