fachinformatiker-wiki

it's easy when it's here

User Tools

Site Tools


linux:monit

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:monit [2023/03/26 21:30] adminlinux:monit [2024/02/17 19:03] (current) – external edit 127.0.0.1
Line 59: Line 59:
 ===== Konfiguration ===== ===== Konfiguration =====
  
-Zusätzliches Monit Config File erstellen (wird automatisch geladen):+Monit Config File bearbeiten:
 <code bash> <code bash>
-sudo nano /etc/monit/conf-enabled/monit+sudo nano /etc/monit/monitrc
 </code> </code>
  
-''/etc/monit/conf-enabled/monit''+''/etc/monit/monitrc''
 <code> <code>
 # reporting to mmonit # reporting to mmonit
Line 74: Line 74:
     allow localhost        # allow localhost to connect to the server and     allow localhost        # allow localhost to connect to the server and
     allow admin:monit      # require user 'admin' with password 'monit'     allow admin:monit      # require user 'admin' with password 'monit'
 +</code>
 +
 +give the appropriate permissions
 +<code>
 +sudo chmod 600 /etc/monit/monitrc
 </code> </code>
  
linux/monit.1679859052.txt.gz · Last modified: 2024/02/17 19:03 (external edit)