Book Image

Webmin Administrator's Cookbook

By : Michal Karzynski
Book Image

Webmin Administrator's Cookbook

By: Michal Karzynski

Overview of this book

Table of Contents (19 chapters)
Webmin Administrator's Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Receiving an e-mail when a service stops running


You put your server up to perform a specific service: running a website, hosting a database, or exchanging e-mail. If that service stops working, your visitors, clients, or co-workers will complain, so in case of problems you should always be the first to know.

Webmin provides a capable monitoring system, which can periodically check the status of your server and send you an e-mail if something is out of the ordinary.

Getting ready

Webmin's monitoring service will send an e-mail alert using your local e-mail server. Refer to Chapter 12, Setting Up an E-mail Server for instructions on setting it up.

Before you can use Webmin's monitoring functionality, you'll need to activate it. Follow these steps to do it:

  1. Navigate to Others | System and Server Status.

  2. Click the button marked Scheduled Monitoring.

  3. Answer Yes to the Scheduled checking enabled? question.

  4. Set Send email when to When a service goes down to receive a single message when a monitor test...