There are some Micorservices running on RHEL7. I want to monitor those services(each service is running on specific port). There should be an email notification whenever the services goes down. Is there any tool from which i can monitor those ports or services and will receive email whenever it goes down.
You can use monit for this.
Please follow the below link to configure monit: