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:
Tom Laermans
2010-02-27 14:45:22 +00:00
parent fca6fafb60
commit 78294059b6
+1 -1
View File
@@ -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]];