mon

Monitor hosts/services and alert about problems via email or webhooks

brewmacoslinux
Try with needOr install directly
Source

About

Monitor hosts/services/whatever and alert about problems

Commands

mon

Examples

Monitor a web service and send alerts on failure$ mon -h example.com -p 80 -t 60
Monitor multiple hosts with custom alert command$ mon -h server1.com server2.com -c 'mail -s Alert admin@example.com'
Monitor a service with verbose logging and retry attempts$ mon -h api.example.com -p 8080 -t 30 -r 3 -v