Monit - utility for monitoring services on a Unix system

Monit is fairly easy to setup, though may lack features that larger sites may need from a monitoring system. Assuming OpenBSD and some network services and a custom mail filter thing to check on,

Monit sends alerts by email, so one should not have a monitor that alerts when an email is sent. Avoid positive feedback loops, in other words. The default message format has been changed to make it somewhat easier for a computer to parse, on the notion that one would email the alerts to a system that would then decide how to or whether to alert, depending on the specific alarm, how many alarms are coming in, the time of day, etc.

Email alerts assume that the mail (and DNS and other) systems are operational, which may not be the case. An alternate means of sending alerts may be necessary, for example to use log scanning and a third-party API to raise an alarm directly to the phone of the on-call. I haven't gotten too deep into monit so do not know what it offers for alternative means of raising alarms.

I am not seeing syslog messages from monit on OpenBSD despite setting "set log syslog" so I'm not sure what's up with that. Logging to a custom logfile would be another option, though do be sure to rotate any such new logfiles, rather than allowing the files to eventually fill up the disk.