fixes to netstat poller (fixes issue on debian where MIBs aren't automatically loaded)

git-svn-id: http://www.observium.org/svn/observer/trunk@2445 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-09-12 02:51:01 +00:00
parent 27117e2c25
commit 399b00589a
5 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ if ($device['os'] != "Snom")
{
$oid_ds = truncate($oid, 19, '');
$rrd_create .= " DS:$oid_ds:COUNTER:600:U:1000000"; ## Limit to 1MPPS?
$snmpstring .= " $oid.0";
$snmpstring .= " UDP-MIB::".$oid.".0";
}
$data = snmp_get_multi($device, $snmpstring);
@@ -47,4 +47,4 @@ if ($device['os'] != "Snom")
unset($oids, $data, $data_array, $oid, $protos, $snmpstring);
?>
?>