From 78294059b610693bb6c274637b140f1d84584fc0 Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Sat, 27 Feb 2010 14:45:22 +0000 Subject: [PATCH] clean up storage polling output git-svn-id: http://www.observium.org/svn/observer/trunk@967 61d68cd4-352d-0410-923a-c4978735b2b8 --- includes/polling/storage-hrstorage.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/polling/storage-hrstorage.inc.php b/includes/polling/storage-hrstorage.inc.php index 7acd4c907..7452731da 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]];