mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-30 16:14:21 +02:00
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:
@@ -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);
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user