VMware NSX 4.x
VMware NSX 9.0.1.0
If such stale alarms are seen only on NSX GUI or API and no actions on uplinks (like uplink going down/up or flapping is observed):
Workaround 1:
Restart the services on the ESXi hosts using the command and verify if the alarm is in resolved state:
services.sh restartWorkaround 2:
Set the host in maintenance mode and reboot the ESXi host
After the host is rebooted, exit maintenance mode and deploy or migrate VMs to the ESXi host, and now the alarm should be in resolved state