mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-04 08:02:05 +02:00
clean up storage polling output
git-svn-id: http://www.observium.org/svn/observer/trunk@967 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
if(!is_array($storage_cache['hrstorage'])) {
|
if(!is_array($storage_cache['hrstorage'])) {
|
||||||
$storage_cache['hrstorage'] = snmp_cache_oid("hrStorageEntry", $device, array(), "HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES");
|
$storage_cache['hrstorage'] = snmp_cache_oid("hrStorageEntry", $device, array(), "HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES");
|
||||||
print_r($storage_cache);
|
if ($debug) { print_r($storage_cache); }
|
||||||
}
|
}
|
||||||
|
|
||||||
$entry = $storage_cache['hrstorage'][$device[device_id]][$storage[storage_index]];
|
$entry = $storage_cache['hrstorage'][$device[device_id]][$storage[storage_index]];
|
||||||
|
|||||||
Reference in New Issue
Block a user