Service Monitoring Configuration Reference: Difference between revisions

From Sympl Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 19: Line 19:
|-
|-
|<code>/etc/sympl/monit.d/incrond</code>
|<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.
|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>]]
|[[Service Monitoring Configuration Reference#Top|<small>More...</small>]]
|-
|-
|<code>/etc/sympl/monit.d/exim4</code>
|<code>/etc/sympl/monit.d/exim4</code>
|Ensures Exim is running properly, which handles mail transfer, and restarts it if needed.
|Ensures [[Exim]] is running properly, which handles mail transfer, and restarts it if needed.
|[[Service Monitoring Configuration Reference#Top|<small>More...</small>]]
|[[Service Monitoring Configuration Reference#Top|<small>More...</small>]]
|-
|-
|<code>/etc/sympl/monit.d/sshd</code>
|<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.
|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>]]
|[[Service Monitoring Configuration Reference#Top|<small>More...</small>]]
|-
|-
|<code>/etc/sympl/monit.d/cron</code>
|<code>/etc/sympl/monit.d/cron</code>
|Ensures Cron the job scheduler is running properly, and restarts it if needed.
|Ensures [[Cron]] the job scheduler is running properly, and restarts it if needed.
|[[Service Monitoring Configuration Reference#Top|<small>More...</small>]]
|[[Service Monitoring Configuration Reference#Top|<small>More...</small>]]
|-
|-
|<code>/etc/sympl/monit.d/clamav-dovecot</code>
|<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.
|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>]]
|[[Service Monitoring Configuration Reference#Top|<small>More...</small>]]
|-
|-
|<code>/etc/sympl/monit.d/clamav-freshclam</code>
|<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.
|Ensures the [[ClamAV]] [[freshclam]] service which updates antivirus definitions is running properly and restarts it if needed.
|[[Service Monitoring Configuration Reference#Top|<small>More...</small>]]
|[[Service Monitoring Configuration Reference#Top|<small>More...</small>]]
|-
|-
|<code>/etc/sympl/monit.d/mysqld</code>
|<code>/etc/sympl/monit.d/mysqld</code>
|Ensures MySQL the database service is running properly, and restarts it if needed.
|Ensures [[MySQL]] the database service is running properly, and restarts it if needed.
|[[Service Monitoring Configuration Reference#Top|<small>More...</small>]]
|[[Service Monitoring Configuration Reference#Top|<small>More...</small>]]
|-
|-
|<code>/etc/sympl/monit.d/apache2</code>
|<code>/etc/sympl/monit.d/apache2</code>
|Ensures Apache which provides the web services are running properly, and restarts it if needed.
|Ensures [[Apache]] which provides the web services are running properly, and restarts it if needed.
|[[Service Monitoring Configuration Reference#Top|<small>More...</small>]]
|[[Service Monitoring Configuration Reference#Top|<small>More...</small>]]
|-
|-
|<code>/etc/sympl/monit.d/dovecot</code>
|<code>/etc/sympl/monit.d/dovecot</code>
|Ensures Dovecot which handles mailboxes is running properly, and restarts it if needed.
|Ensures [[Dovecot]] which handles mailboxes is running properly, and restarts it if needed.
|[[Service Monitoring Configuration Reference#Top|<small>More...</small>]]
|[[Service Monitoring Configuration Reference#Top|<small>More...</small>]]
|-
|-
|<code>/etc/sympl/monit.d/spamassassin</code>
|<code>/etc/sympl/monit.d/spamassassin</code>
|Ensures SpamAssassin which tests incoming mail for spam is running properly, and restarts it if needed.
|Ensures [[SpamAssassin]] which tests incoming mail for spam is running properly, and restarts it if needed.
|[[Service Monitoring Configuration Reference#Top|<small>More...</small>]]
|[[Service Monitoring Configuration Reference#Top|<small>More...</small>]]
|-
|-
|<code>/etc/sympl/monit.d/pure-ftpd</code>
|<code>/etc/sympl/monit.d/pure-ftpd</code>
|Ensures Pure-FTPd which provides FTP access is running properly, and restarts it if needed.
|Ensures [[Pure-FTPd]] which provides [[FTP]] access is running properly, and restarts it if needed.
|[[Service Monitoring Configuration Reference#Top|<small>More...</small>]]
|[[Service Monitoring Configuration Reference#Top|<small>More...</small>]]
|}
|}

Latest revision as of 13:16, 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 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.