This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

TCP Port Status Monitoring using powershell and return reverse status

Hello Guys,

I am back again with a custom powershell script based SAM template, this time to monitor TCP Port Status on a machine.

SAM Template is attached below, import that template and provide below details-

Script Arguments : Server IP or FQDN,Port Number

Server IP/FQDN : This is the machine IP address or fqdn whose port you want to monitor.

Port Number : This is the port number on the machine that you want to check.

Assign the template on a node from where you want to check the port on a remote machine i.e. assign node will act as the source of the request to a port on a remote/target machine.

Results:

Application will show as down if port is Up and running, yaa you read it correctly this template is to show reverse status of the port functioning.

Application will show as UP if port is not working.

Note: You can modify the script if you want application status to be as same as port status, but for that reason we already have default SAM template to monitor TCP/IP port status.

Reverse TCP-IP Port Status.apm-template