Make monitor detection reuse the port name translation