Receiving Alerts on Interfaces that are Shut

How would I relate the sensor to the port?