User Tools

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
services:monit [2024/02/22 12:49] willyservices:monit [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-[[https://mmonit.com/monit//|Monit]] is a... 
- 
-Check: [[https://wiki.gentoo.org/wiki/Monit|Gentoo Wiki Monit]] page 
- 
-<code bash> 
-emerge -v monit 
-</code> 
- 
-Start it: 
-<code bash> 
-/etc/init.d/monit start 
-</code> 
- 
-It is recommended to start monit through the /etc/inittab so that init itself launches the monit application, and will automatically relaunch it when monit would suddenly die. Starting monit through an init script would not provide this functionality. 
-FILE /etc/inittabAuto restart monit in case of failure 
- 
-# Run monit in standard runlevels 
-mo:2345:respawn:/usr/bin/monit -Ic /etc/monitrc 
- 
-After updating /etc/inittab, monit can be immediately started through telinit q.  
- 
-reverse proxy 
- 
-<file - monit.conf> 
-location /monit/ { 
-        rewrite ^/monit/(.*) /$1 break; 
-        proxy_ignore_client_abort on; 
-        proxy_pass   http://192.168.1.10:2812;  
-        proxy_redirect  http://192.168.1.10:2812 /monit;  
-        proxy_cookie_path / /monit/; 
-    } 
-</file> 
- 
-<code> 
-set httpd port 2812 and 
-    use address localhost  # only accept connection from localhost (drop if you use M/Monit) 
-    allow localhost        # allow localhost to connect to the server and 
-#    allow admin:monit      # require user 'admin' with password 'monit' 
-    allow @users 
-</code> 
  

This website uses technical cookies only. No information is shared with anybody or used in any way but provide the website in your browser.

More information