Check to see if a list of applications are running by testing host and port

/ Published in: Bash
Save to your folder(s)

This script allows you to monitor a list of applications each running on servers in different environments. For example, these can be webservers: apache/nginx/etc., application servers: tomcat/nodejs/IIS/etc., database servers: mysql/oracle/etc., or anything else that listens on a port.

1) Edit the key/value pairs in the arrays: ENV_LIST, PORT_LIST, SERVERS, APPS with the data for your own applications
2) Run: ./

This script does require "nc" to be installed.

This works both on linux and cygwin.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.