mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-30 16:14:21 +02:00
delete old cef entries, disable cef-discovery (it's in poller, duh!)
git-svn-id: http://www.observium.org/svn/observer/trunk@2740 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -29,6 +29,7 @@ if (is_array($cefs))
|
||||
foreach ($paths as $path => $path_name)
|
||||
{
|
||||
echo(" | |-".$path.": ".$path_name['cefSwitchingPath']."\n");
|
||||
$cef_exists[$device['device_id']][$entity][$afi][$path] = 1;
|
||||
|
||||
if (mysql_result(mysql_query("SELECT COUNT(*) FROM `cef` WHERE `device_id` = '".$device['device_id']."' AND `entPhysicalIndex` = '".$entity."'
|
||||
AND `afi` = '".$afi."' AND `cef_index` = '".$path."'"),0) != "1")
|
||||
|
||||
Reference in New Issue
Block a user