Correction to netstats (#6088)

This commit is contained in:
David Bell
2017-03-04 18:14:20 +00:00
committed by Neil Lathwood
parent 93a43eddbf
commit 0227dd655f

View File

@@ -28,7 +28,7 @@ if (!starts_with($device['os'], array('Snom', 'asa'))) {
$rrd_def = new RrdDefinition();
$snmpstring = '';
foreach ($oids as $oid) {
$rrd_def->addDataset($oids, 'COUNTER', null, 100000000000);
$rrd_def->addDataset($oid, 'COUNTER', null, 100000000000);
$snmpstring .= ' IP-MIB::'.$oid.'.0';
}