clean up ADSL poller maybe

git-svn-id: http://www.observium.org/svn/observer/trunk@1826 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong 2011-03-12 12:07:25 +00:00
parent 36e95e0c5a
commit e1fe05b129

View File

@ -40,9 +40,9 @@
# adslAturPerfValidIntervals.1 = 0
# adslAturPerfInvalidIntervals.1 = 0
if(isset($port_stats[$device['device_id']][$port['ifIndex']]['adslLineCoding'])) { // Check to make sure Port data is cached.
if(isset($port_stats[$port['ifIndex']]['adslLineCoding'])) { // Check to make sure Port data is cached.
$this_port = &$port_stats[$device['device_id']][$port['ifIndex']];
$this_port = &$port_stats[$port['ifIndex']];
$rrdfile = $config['rrd_dir'] . "/" . $device['hostname'] . "/" . safename("port-".$port['ifIndex']."-adsl.rrd");
@ -113,5 +113,4 @@
echo("ADSL ");
}
?>