mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix for linkDown/linkUp ifOperStatus (#15835)
* linkDown * LinkUp * linkUp * revert linkUp
This commit is contained in:
@@ -53,7 +53,7 @@ class LinkDown implements SnmptrapHandler
|
||||
return;
|
||||
}
|
||||
|
||||
$port->ifOperStatus = $trap->getOidData("IF-MIB::ifOperStatus.$ifIndex") ?: 'down';
|
||||
$port->ifOperStatus = 'down';
|
||||
|
||||
$trapAdminStatus = $trap->getOidData("IF-MIB::ifAdminStatus.$ifIndex");
|
||||
if ($trapAdminStatus) {
|
||||
|
Reference in New Issue
Block a user