how to specify a port for alarm

how to specify a port for alarm

Excuse me, how to specify a port for alarm

Such as: I just want to monitor the exchange of the ports with the chain on the chain of email notification and other port problems arise not send email notification