mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added ifOperStatus and ifAdminStatus _prev values to db.
This commit is contained in:
@@ -410,6 +410,9 @@ foreach ($ports as $port) {
|
||||
}
|
||||
}
|
||||
$port['update'][$oid] = $this_port[$oid];
|
||||
if ($oid == 'ifOperStatus' || $oid == 'ifAdminStatus') {
|
||||
$port['update'][$oid.'_prev'] = $port[$oid];
|
||||
}
|
||||
log_event($oid.': '.$port[$oid].' -> '.$this_port[$oid], $device, 'interface', $port['port_id']);
|
||||
if ($debug) {
|
||||
d_echo($oid.': '.$port[$oid].' -> '.$this_port[$oid].' ');
|
||||
|
||||
Reference in New Issue
Block a user