Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
services:monit [2024/02/22 13:13] – willy | services:monit [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | [[https:// | ||
- | |||
- | Check: [[https:// | ||
- | |||
- | <code bash> | ||
- | emerge -v monit | ||
- | </ | ||
- | |||
- | Start it: | ||
- | <code bash> | ||
- | / | ||
- | </ | ||
- | |||
- | It is recommended to start monit through the / | ||
- | FILE / | ||
- | |||
- | # Run monit in standard runlevels | ||
- | mo: | ||
- | |||
- | After updating / | ||
- | |||
- | reverse proxy | ||
- | |||
- | <file - monit.conf> | ||
- | location /monit/ { | ||
- | rewrite ^/ | ||
- | proxy_ignore_client_abort on; | ||
- | proxy_pass | ||
- | proxy_redirect | ||
- | proxy_cookie_path / /monit/; | ||
- | } | ||
- | </ | ||
- | |||
- | < | ||
- | set httpd port 2812 and | ||
- | use address localhost | ||
- | allow localhost | ||
- | # allow admin: | ||
- | allow @users | ||
- | </ | ||
- | |||
- | |||
- | ## It is possible to include additional configuration parts from other files or | ||
- | ## directories. | ||
- | include / | ||
- | |||
- | mkdir / | ||
- | |||
- | <file - filesystems> | ||
- | check filesystem Data with path /data | ||
- | if space usage > 90% then alert | ||
- | |||
- | check filesystem Deposito with path /deposito | ||
- | if space usage > 90% then alert | ||
- | |||
- | check filesystem Root with path / | ||
- | if space usage > 90% then alert | ||
- | </ | ||
- | |||
- | <file - services> | ||
- | check process sonarr with pidfile / | ||
- | start program = "/ | ||
- | stop program | ||
- | |||
- | check process radarr with pidfile / | ||
- | start program = "/ | ||
- | stop program | ||
- | |||
- | check process readarr with pidfile / | ||
- | start program = "/ | ||
- | stop program | ||
- | |||
- | check process readarr-audiobooks with pidfile / | ||
- | start program = "/ | ||
- | stop program | ||
- | |||
- | check process lidarr with pidfile / | ||
- | start program = "/ | ||
- | stop program | ||
- | |||
- | check process prowlarr with pidfile / | ||
- | start program = "/ | ||
- | stop program | ||
- | </ | ||
- | |||
- | |||