Title: Alarm for port_mirror.fail_to_upgrade_mp_mirror_to_policy_mirror
Event ID: port_mirror.fail_to_upgrade_mp_mirror_to_policy_mirror
Alarm Description:
VMware NSX 9.1 and above
Some or all MP mirror sessions cannot be upgraded to Policy mirror sessions after upgrade.
Steps to Resolve
For VCF 9.1 and higher
Recommended Action:
curl -X GET http://localhost:7440/nsxapi/api/v1/mirror-sessions" to get all sessions on manager node. If the "_create_user" is not "nsx_policy", it means this session can not be upgraded to Policy mirror session.PortMirroringSession in path /var/log/proton on manager node.display_name" of the policy mirror session will use the original MP mirror session name as a prefix, followed by eight random characters. Additionally, the "_create_user" field will appear as "nsx_policy".display_name" is still the original MP mirror session name or "_create_user" is not "nsx_policy" in target result, it means this session is not upgraded to Policy mirror session. Run local API command "curl -X DELETE http://localhost:7440/nsxapi/api/v1/mirror-sessions/<session-id>" to delete un-upgraded MP session on manager node, where the <session-id> value is retrieved from target result.