New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Self hosted smtp monitor
Hi,
what are good self hosted or free smtp monitors? If free I need atleast the possibility to check 20 smtp servers at the same time. The smtp servers are not self hosted so I don't have access to the server or the logs itself.


Comments
I only have used Nagios Zabbix and Prometheus. Many of my clients use Prometheus.
I hear Incinga is good but didn’t try yet
Librenms
Why not selfhost UptimeKuma?
for monitoring any service, i recommend @CharityHost_org . he has extensive experience with this.
tbh i think it would be easier to write a python script that attempts to log in to smtp servers. Or use telnet for a simpler approach.
Can uptimekuma monitor smtp with login authentication?
So just save some porn mails?
Thanks, didn't knew librenms is supporting smtp monitoring
Sorry, was half awake when I posted this. I read this as SNMP monitor.
If you're OK with self hosting the Prometheus stack (Prometheus, Alertmanager, Blackbox Exporter), the following blackbox-exporter configuration does the job very well:
Sammeee XD
HetrixTools?
https://docs.hetrixtools.com/v0-9-34-smtp-monitoring/
https://docs.hetrixtools.com/add-a-smtp-monitor/
I'm using Blackbox Exporter for all my uptime monitoring and I really like it. You can run a Prometheus stack with Grafana using docker compose, and if you add Node Exporters to all your servers you'll also get their usage data, (for CPU/RAM consumption etc etc etc).
It's a bit of effort to get it setup but it's well worth it when you have it all up and running.
You also need 32Tb ram for this setup
Very lightweight
I'm monitoring 30+ servers on a 2C/4G VPS using this stack. In the last 24hrs CPU consumption hasn't exceeded 30%, (averaging less than 10%), RAM consumption is stable at 2.7G and Network I/O averages 750Kbps, (maxing out at ~1Mbps)
I mean yeah I was just exaggerating, but any Prometheus stack will be very heavy compared to the rest of the options.
Although it is worth it, grafana is pretty
Thanks, didn't knew librenms is supporting smtp monitoring> @COLBYLICIOUS said:
Not free to monitor 20 and more smtp servers
Too much and too complicated for me. Just want to create my own statistic for years for all email providers I'm using just for myself.
In that case, are you looking for actual SMTP monitoring or would monitoring SMTP port(s) be sufficient? There's likely to be many more options if you just want to check the service/port is online.
Honestly it might be your best option if you want the most customizable option. I understand it can be rough at the start (their docs SUCK) but you just set it and forget it after the first setup, it's prod ready and very resilient .
I will set up a test server.... I've got enough idling server. I'm just unsure how much space it will need if I'm really trying to run it for years...
SMTP ports would be enough
Then Uptime Kuma will probably be enough.
What would you suggest if checking the port would not be sufficient?
If you wanna go all in, for monitoring I would go with Nagios, Icinga or CheckMK, store the data in a Prometheus or Influx and visualize it with Grafana.
I would monitor the port itself with a simple tcp check and then make a service that sends an email using the specified smtp and checks that the email is delivered all the way via pop or imap.
If it was my smtp server I would keep track of the vitals with node exporter.
Check out librenms, it can work with Grafana/Prometheus if you want too
librenms is very easy to get setup too
I already tried librenms and the learning curve is not that hard. I didn't knew that smtp monitoring is possible with librenms.
Ansible?
There's a learning curve, like with most things, but once you take control, you can use it for pretty much anything!
You might want to check out tools like SMTPDiag or MailHogm.
Thanks, will take a look at both. Never heard about them.