Service Monitoring Configuration Reference: Difference between revisions

From Sympl Wiki
Jump to navigation Jump to search
(Created page with "{{Stub}} ==Configuration Reference== <section begin=config /> {| class="wikitable sortable" |+ !File or Directory !Used For !More |}<section end=config /><blockquote>See also...")
Tag: visualeditor
 
No edit summary
Tag: visualeditor
Line 1: Line 1:
{{Stub}}
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 <code>/etc/sympl/monit.d/</code> which test specific services and stops/starts them as needed.
 
To check the current health of your system, you can run <code>sudo sympl-monit</code> for a report of the current status.
 
==Configuration Reference==
==Configuration Reference==
<section begin=config />
<section begin=config />
{| class="wikitable sortable"
{| class="wikitable sortable"
|+
!File or Directory
!File or Directory
!Used For
!Used For
!More
!More
|}<section end=config /><blockquote>See also [https://wiki.sympl.host/view/Configuration_Reference ''Configuration Reference''] for other configuration files.</blockquote>
|-
|<code>/etc/sympl/monit.d/</code>
|Contains the monit scripts.
|[[Service Monitoring Configuration Reference#Top|<small>More...</small>]]
|-
|<code>/etc/sympl/monit.d/incrond</code>
|Ensures the incrond service which monitors the filesystem for changes is running properly, and restarts it if needed.
|[[Service Monitoring Configuration Reference#Top|<small>More...</small>]]
|-
|<code>/etc/sympl/monit.d/exim4</code>
|Ensures Exim is running properly, which handles mail transfer, and restarts it if needed.
|[[Service Monitoring Configuration Reference#Top|<small>More...</small>]]
|-
|<code>/etc/sympl/monit.d/sshd</code>
|Ensures the SSH daemon which provides SSH access to the server is running properly, and restarts it if needed.
|[[Service Monitoring Configuration Reference#Top|<small>More...</small>]]
|-
|<code>/etc/sympl/monit.d/cron</code>
|Ensures Cron the job scheduler is running properly, and restarts it if needed.
|[[Service Monitoring Configuration Reference#Top|<small>More...</small>]]
|-
|<code>/etc/sympl/monit.d/clamav-dovecot</code>
|Ensures the ClamAV daemon which tests incoming mail for viruses is running properly, and restarts it if needed.
|[[Service Monitoring Configuration Reference#Top|<small>More...</small>]]
|-
|<code>/etc/sympl/monit.d/clamav-freshclam</code>
|Ensures the ClanAV freshclam service which updates antivirus definitions is running properly, and restarts it if needed.
|[[Service Monitoring Configuration Reference#Top|<small>More...</small>]]
|-
|<code>/etc/sympl/monit.d/mysqld</code>
|Ensures MySQL the database service is running properly, and restarts it if needed.
|[[Service Monitoring Configuration Reference#Top|<small>More...</small>]]
|-
|<code>/etc/sympl/monit.d/apache2</code>
|Ensures Apache which provides the web services are running properly, and restarts it if needed.
|[[Service Monitoring Configuration Reference#Top|<small>More...</small>]]
|-
|<code>/etc/sympl/monit.d/dovecot</code>
|Ensures Dovecot which handles mailboxes is running properly, and restarts it if needed.
|[[Service Monitoring Configuration Reference#Top|<small>More...</small>]]
|-
|<code>/etc/sympl/monit.d/spamassassin</code>
|Ensures SpamAssassin which tests incoming mail for spam is running properly, and restarts it if needed.
|[[Service Monitoring Configuration Reference#Top|<small>More...</small>]]
|-
|<code>/etc/sympl/monit.d/pure-ftpd</code>
|Ensures Pure-FTPd which provides FTP access is running properly, and restarts it if needed.
|[[Service Monitoring Configuration Reference#Top|<small>More...</small>]]
|}
<section end=config /><blockquote>See also [https://wiki.sympl.host/view/Configuration_Reference ''Configuration Reference''] for other configuration files.</blockquote>
[[Category:Reference]]
[[Category:Services]]

Revision as of 12:08, 19 July 2019

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 ClanAV 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.