git-svn-id: http://www.observium.org/svn/observer/trunk@2388 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-06-01 10:30:52 +00:00
parent 799f54ba06
commit df4dbfddf4

View File

@@ -258,7 +258,9 @@ function snmpwalk_cache_cip($device, $oid, $array, $mib = 0)
$cmd .= " ".$device['transport'].":".$device['hostname'].":".$device['port']." ".$oid;
if (!$debug) { $cmd .= " 2>/dev/null"; }
if ($debug) { echo("$cmd\n"); }
$data = trim(shell_exec($cmd));
if ($debug) { echo("$data\n"); }
$device_id = $device['device_id'];
#echo("Caching: $oid\n");