[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


howtos:software:monit [2018/03/07 11:47 (UTC)] (current) – created lamerix
Line 1: Line 1:
 +<!-- Add your text below. We strongly advise to start with a Headline (seebutton bar above). -->
 +====== monit ======
 +**monit**  is a free open source utility for managing and monitoring, processes, programs, files, directories and filesystems on a UNIX system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations.
 +
 +**website**:  [[https://mmonit.com/monit/|monit.com/monit/]]
 +
 +====== How to install monit on Slackware ======
 +
 +**1)** Download the latest SlackBuild script from [[https://slackbuilds.org/|slackbuilds.org]].
 +
 +**2)** Edit configuration file **/etc/monitrc**
 +
 +**3)** Make **/etc/rc.d/rc.monit** executable
 +<code>
 +chmod +x /etc/rc.d/rc.monit
 +</code>
 +
 +**4)** Start monit
 +<code>
 +/etc/rc.d/rc.monit start
 +</code>
 +
 +<note>
 +The file is setup to start Monit's http server so you have something interesting to look at.
 +After you have started monit, point your browser to **http://127.0.0.1:2812/** and log in with the username **admin** and password **monit**.
 +</note>
 +
 +====== Make monit start at boot ======
 +
 +To make **monit** auto-start at boot you just need to add the following lines to your **/etc/rc.d/rc.local** file.
 +<code>
 +if [ -x /etc/rc.d/rc.monit ]; then
 +  /etc/rc.d/rc.monit start
 +fi
 +</code>
 +
 +====== Useful manuals/HowTo Guides ======
 +
 +* Configuration examples can be found at [[https://mmonit.com/wiki/Monit/ConfigurationExamples|mmonit.com/wiki/Monit/ConfigurationExamples]] \\
 +* How to Enable SSL on monit's web interface [[https://mmonit.com/wiki/Monit/EnableSSLInMonit|mmonit.com/wiki/Monit/EnableSSLInMonit]] \\
 +* Sending alerts to Gmail [[https://mmonit.com/wiki/Monit/Gmail|mmonit.com/wiki/Monit/Gmail]] \\ 
 +* Making custom checks [[https://mmonit.com/wiki/Monit/CustomTests|mmonit.com/wiki/Monit/CustomTests]]
 +
 +
 +====== Sources ======
 +<!-- If you are copying information from another source, then specify that source -->
 +<!-- * Original source: [[http://some.website.org/some/page.html]] -->
 +<!-- Authors are allowed to give credit to themselves! -->
 + * Written by [[wiki:user:lamerix | lamerix]]
 +
 +<!-- Please do not modify anything below, except adding new tags.-->
 +<!-- You must remove the tag-word "template" below before saving your new page -->
 +{{tag>howtos software monit author_lamerix}}
  
 howtos:software:monit ()