mirror of
https://github.com/librenms/librenms.git
synced 2024-09-27 21:38:00 +00:00
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:
parent
36e95e0c5a
commit
e1fe05b129
@ -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 ");
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user