This script will check if the process is running or not. If not it will restart the service. Before restarting service it will backup log file of the service first, then it will generate a email notification to all mentioned email ids.
bhargavamin / service-monitoring-scripts-with-email-notificaitons Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0