Monitoring/Alerts

5 posts / 0 new
Last post
#1 Mon, 12/31/2018 - 04:26
nexusguy59

Monitoring/Alerts

Hey Guys,

I have two production websites and I need to receive notifications when they go down or there not accessible, things of that nature. So I went in to Webmin -> Webmin Configuration -> Sending Email and set things up & Did a send test and it worked fine. Now I need to configure this to send notifications to a specific email address. I have been searching for a couple of hours, however I am severely frustrated. I found this -> https://www.virtualmin.com/documentation/cloudmin/alerts, but I cannot find the monitoring selection in the navigation on the left to configure the alerts.

I have a screenshot for someone to see just don't know how to post it here.

Thanks in advance for your help/advice Michael

Mon, 12/31/2018 - 07:08
noisemarine

You've probably realised that Cloudmin is a separate system that has its own administration. Unfortunately, the guide you found isn't relevant to Virtualmin systems.

There are a couple of ways to tackle your problem.

First, check out Webmin -> Others -> System and Server Status.

You could also create a script on your server that checks if apache/nginx is running and emails (or attempts to restart the service) if they have failed. But what about if your whole server has failed? Then you need to have something running on a separate server that performs similar checks. Most sysadmins would use either a self-hosted server monitoring script* or a 3rd party remote monitoring service** to achieve this.

I'm not directly linking as often external links land my posts in moderation due to anti-spam measures on this forum. Copy and paste the following into your browser.

*https://duckduckgo.com/?q=server+monitoring+tools+open+source&t=ffnt&ia=web

**https://duckduckgo.com/?q=remote+server+monitoring+service&t=ffnt&ia=web

Mon, 12/31/2018 - 07:45
nexusguy59

Yes I do realize this, However it should be able to be accomplished.

Michael Cooper Linux Certified Professional http://www.coopfire.com

Mon, 12/31/2018 - 08:02
noisemarine

It can be. I listed a few ways.

Mon, 12/31/2018 - 14:27 (Reply to #4)
nexusguy59

Thanks, I will research some more I appreciate it.

Michael Cooper Linux Certified Professional http://www.coopfire.com

Topic locked