fachinformatiker-wiki

it's easy when it's here

User Tools

Site Tools


linux:mmonit

This is an old revision of the document!


M/Monit

Installation

:!: Unter Debian 11 getestet.

Download

Download und Entpacken:

wget https://mmonit.com/dist/mmonit-3.7.14-linux-x64.tar.gz
sudo tar -xvzf ~/mmonit-3.7.14-linux-x64.tar.gz -C /opt/
sudo mv mmonit-3.7.14 mmonit

Automatischer Start

/etc/systemd/system/mmonit.service erstellen

 [Unit]
 Description = Easy, proactive monitoring of Unix systems, network and cloud services
 After = network.target
 Documentation= https://mmonit.com/documentation/ 

 [Service]
 Type=simple
 KillMode=process
 ExecStart = /opt/mmonit/bin/mmonit -i
 ExecStop = /opt/mmonit/bin/mmonit stop
 PIDFile = /opt/mmonit/logs/mmonit.pid
 Restart = on-abnormal

 [Install]
 WantedBy = multi-user.target

Systemd Konfiguration neu laden, M/Monit beim Boot enablen und Dienst Starten:

sudo systemctl daemon-reload
sudo systemctl enable mmonit
sudo systemctl start mmonit
sudo systemctl status mmonit
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.  More information about cookies 
linux/mmonit.1679525316.txt.gz · Last modified: 2024/02/17 19:03 (external edit)