mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	failfix three of infinite
git-svn-id: http://www.observium.org/svn/observer/trunk@1304 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
		@@ -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_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 = 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']) 
 | 
					  if ($dbcurrent['current_precision']) 
 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user