diff --git a/includes/polling/storage-hrstorage.inc.php b/includes/polling/storage-hrstorage.inc.php index 7acd4c907f..7452731da6 100755 --- a/includes/polling/storage-hrstorage.inc.php +++ b/includes/polling/storage-hrstorage.inc.php @@ -4,7 +4,7 @@ if(!is_array($storage_cache['hrstorage'])) { $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]];