fachinformatiker-wiki

it's easy when it's here

User Tools

Site Tools


linux:mmonit

M/Monit

:!: Benötigt Monit als Agent

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
sudo mv ~/mmonit-3.7.14 /opt/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

Lizenz einfügen

Inhalt aus /opt/mmonit/conf/license.xml mit Inhalt von der HTML-Datei aus dem M/Monit-Kundenportal ersetzen.

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.txt · Last modified: 2024/02/17 19:03 by 127.0.0.1