From de7323fa3f6e9d176149cb39981699aefb0c511f Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Mon, 5 Jul 2010 21:57:17 +0000 Subject: [PATCH] failfix three of infinite git-svn-id: http://www.observium.org/svn/observer/trunk@1304 61d68cd4-352d-0410-923a-c4978735b2b8 --- includes/polling/current.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/polling/current.inc.php b/includes/polling/current.inc.php index b7c8dcf576..e791865ae2 100644 --- a/includes/polling/current.inc.php +++ b/includes/polling/current.inc.php @@ -9,7 +9,7 @@ while($dbcurrent = mysql_fetch_array($current_data)) { #$current_cmd = $config['snmpget'] . " -M ".$config['mibdir'] . " -m SNMPv2-MIB -O Uqnv -" . $device['snmpver'] . " -c " . $device['community'] . " " . $device['hostname'].":".$device['port'] . " " . $dbcurrent['current_oid'] . "|grep -v \"No Such Instance\""; #$current = trim(shell_exec($current_cmd)); - $current = snmp_get($device, $dbcurrent['current_oid'], "", "SNMPv2-MIB"); + $current = snmp_get($device, $dbcurrent['current_oid'], "-OUqnv", "SNMPv2-MIB"); if ($dbcurrent['current_precision']) {