Re: Monitoring SMTPD
Many thanks to all your suggestions. Antonino Sidoti > On 30 Apr 2021, at 2:53 am, Stuart D Gathman wrote: > > On Thu, 29 Apr 2021, Lukas Tribus wrote: > >> So I send emails through a critical SMTP infrastructure to a >> healthchecks.io endpoint, which triggers an alert in the *absence* of >> the email. > > That's a great idea. > >
Re: Monitoring SMTPD
On Thu, 29 Apr 2021, Lukas Tribus wrote: So I send emails through a critical SMTP infrastructure to a healthchecks.io endpoint, which triggers an alert in the *absence* of the email. That's a great idea.
Re: Monitoring SMTPD
Hello, On Thu, 29 Apr 2021 at 03:22, Antonino Sidoti wrote: > > Hello, > > I was wondering what options are available to monitor OpenBSD SMTPD? Can SNMP > be utilise? I like to test the actual service, not just some counters, TCP ports, or static SMTP responses. So I send emails through a critical SMTP infrastructure to a healthchecks.io endpoint, which triggers an alert in the *absence* of the email. Note that you don't necessarily need to use a cloud service, healthchecks.io is OSS: https://github.com/healthchecks/healthchecks Lukas
Re: Monitoring SMTPD
Hello! > On 29. Apr 2021, at 03:22, Antonino Sidoti wrote: > > Hello, > > I was wondering what options are available to monitor OpenBSD SMTPD? Can SNMP > be utilise? My monitoring system is PRTG and I am using that for most of my > systems. Can someone share their way of monitoring please? I run two OpenSMTP > mail servers and would very much like to get some insight as to how they are > performing day to day. > > Thanks > > Antonino Sidoti I use Zabbix with a "UserParameter"-bin to call "smtpctl show stats". regards, --markus smime.p7s Description: S/MIME cryptographic signature
Re: Monitoring SMTPD
On Thu, 29 Apr 2021, Antonino Sidoti wrote: I was wondering what options are available to monitor OpenBSD SMTPD? Can SNMP be utilise? My monitoring system is PRTG and I am using that for most of my systems. Can someone share their way of monitoring please? I run two OpenSMTP mail servers and would very much like to get some insight as to how they are performing day to day. I use nagios. Basic monitoring just connects to port 25 and verifies that there is a response. Most of my servers use sendmail (I use opensmtpd for vms and peer to peer), and the milter API allows me to implement "Magic HELO", to trigger GC of python milters, and report on various stats. (Note that "GC" is not a legal helo name, and thus there is an opening for command extension.) I wonder if something similar to magic HELO is possible with opensmtpd, maybe through filters?