Service Monitoring Bash Script