Service Monitoring Configuration Reference

From Sympl Wiki
Revision as of 12:16, 19 July 2019 by Kelduum (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sympl is comprised of a number of services, but from time to time, these mail fail, due to configuration problems, bugs, or the server simply running out of memory.

To ensure things continue to run smoothly, and avoid downtime as much as possible, Sympl has a monitor service named monit which confirms services are running okay.

This is comprised of a number of scripts in /etc/sympl/monit.d/ which test specific services and stops/starts them as needed.

To check the current health of your system, you can run sudo sympl-monit for a report of the current status.

Configuration Reference

File or Directory Used For More
/etc/sympl/monit.d/ Contains the monit scripts. More...
/etc/sympl/monit.d/incrond Ensures the incrond service which monitors the filesystem for changes is running properly, and restarts it if needed. More...
/etc/sympl/monit.d/exim4 Ensures Exim is running properly, which handles mail transfer, and restarts it if needed. More...
/etc/sympl/monit.d/sshd Ensures the SSH daemon which provides SSH access to the server is running properly, and restarts it if needed. More...
/etc/sympl/monit.d/cron Ensures Cron the job scheduler is running properly, and restarts it if needed. More...
/etc/sympl/monit.d/clamav-dovecot Ensures the ClamAV daemon which tests incoming mail for viruses is running properly, and restarts it if needed. More...
/etc/sympl/monit.d/clamav-freshclam Ensures the ClamAV freshclam service which updates antivirus definitions is running properly and restarts it if needed. More...
/etc/sympl/monit.d/mysqld Ensures MySQL the database service is running properly, and restarts it if needed. More...
/etc/sympl/monit.d/apache2 Ensures Apache which provides the web services are running properly, and restarts it if needed. More...
/etc/sympl/monit.d/dovecot Ensures Dovecot which handles mailboxes is running properly, and restarts it if needed. More...
/etc/sympl/monit.d/spamassassin Ensures SpamAssassin which tests incoming mail for spam is running properly, and restarts it if needed. More...
/etc/sympl/monit.d/pure-ftpd Ensures Pure-FTPd which provides FTP access is running properly, and restarts it if needed. More...

See also Configuration Reference for other configuration files.