reworking poe polling a bit, but still unpolished or even unfinished

git-svn-id: http://www.observium.org/svn/observer/trunk@1633 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2010-08-02 23:11:54 +00:00
parent a5f1ef11fc
commit 4160243794
6 changed files with 54 additions and 70 deletions

View File

@@ -1,4 +1,4 @@
<?php
[B<?php
unset($ports);
$ports = snmp_cache_ifIndex($device); // Cache Port List
@@ -145,7 +145,6 @@
if(isset($config['port_descr_parser']) && is_file($config['install_dir'] . "/" . $config['port_descr_parser']))
{
$port_attribs = array('type','descr','circuit','speed','notes');
include($config['install_dir'] . "/" . $config['port_descr_parser']);
@@ -245,8 +244,12 @@
/// Do EtherLike-MIB
if($config['enable_ports_etherlike']) { include("port-etherlike.inc.php"); }
/// Do ADSL MIB
if($config['enable_ports_adsl']) { include("port-adsl.inc.php"); }
/// Do PoE MIBs
if($config['enable_ports_poe']) { include("port-poe.inc.php"); }
// Update MySQL
if ($update) {