Monitor System Services with Webmin

A dedicated server typically runs several background services or daemons. These may include but are not limited to your web server, database server, and mail server. All of these services need to be running 24/7 to keep them available for your users. When one of the services goes down, you need to know. Webmin has a built-in monitoring system that can alert you when one of them is not working.

To monitor services in Webmin, follow these steps:

  1. Login to Webmin using your administrative account
  2. Navigate to Others — System and Server Status
  3. If you see the service you want to monitor already listed, click on it. Otherwise, use “Add monitor of type” to add it
  4. Select number of failures before reporting (default is one)
  5. Check “Email” as notification method. It should use your system email address. If you want to use another, enter it on the next line
  6. Specify any commands you want to run if the service is down or comes back up
  7. Click “Save”

You should now have a working system monitor. Assuming you used the default Webmin installation, you can even monitor your web server, since Webmin runs on its own web server. For more information about system monitoring in Webmin, see the online documenation.