[kwlug-disc] Prometheus for multiple server monitoring?
Khalid Baheyeldin
kb at 2bits.com
Sun May 17 14:37:00 EDT 2026
Thanks to everyone who chimed in about Prometheus.
I was able to get it up and running on the same VPS as Nagios4.
And was able to configure it to send emails when something is down and also
when it is up again.
This was mainly done with the prometheus-blackbox-exporter and
prometheus-alertmanager packages, and checking SSH, HTTP and Drupal.
For SSH, I use the 'ssh_banner' module, with:
({__name__="probe_success",job="SSH"} == 0)
For HTTP, I use the 'http_2xx' module, with:
({__name__="probe_http_status_code",job="HTTPServers"} != 200)
I think I covered everything that my Nagios4 instance currently does, and
would be decommissioning it soon.
But there is a snag, or misunderstanding on my part:
When an alert fires, I do get an email about the failure.
But, when I go to Status -> Targets, the hosts that failed still show as UP.
Probably because there is still a response from them?
Can one comment on this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20260517/bcf7a473/attachment.htm>
More information about the kwlug-disc
mailing list