Showing results for 
Search instead for 
Did you mean: 
Create Post

TCP Port Closed Powershell Check.apm-template

This SAM template allows you to check for the status of a single or multiple TCP ports and whether a connection response is available. This template is to look for ports that are up and responding and if they are will place the status in a Critical state, as the purpose is to monitor ports that should not be open as that would be a security risk.

Pass the port/s into the argument list as comma separated values. Due to a limitation of passing a multi value array in to the script body, the only parameters that are supported in this script are the port values, which is all that is needed anyway.

Labels (1)
Version history
Revision #:
1 of 1
Last update:
‎02-21-2018 07:19 AM
Updated by: