Linux - Process Supervision using Monit

From The TinkerNet Wiki
Jump to navigation Jump to search

Monit

(Working on this page...)

The Manual

The Wiki

Things figured out

Add this to /etc/monit/monitrc to enable the web interface:

set httpd port 2812
        allow @adm

These lines added based on .pid files found on VNC-Tester:

check process avahi           with pidfile /var/run/avahi-daemon/pid
check process acpid           with pidfile /var/run/acpid.pid
check process cron            with pidfile /var/run/crond.pid
check process dhclient-ens32  with pidfile /var/run/dhclient-ens32.pid
check process lightdm         with pidfile /var/run/lightdm.pid
check process lvmetad         with pidfile /var/run/lvmetad.pid
check process monit           with pidfile /var/run/monit.pid
check process rsyslogd        with pidfile /var/run/rsyslogd.pid
check process sshd            with pidfile /var/run/sshd.pid
check process sambaS          with pidfile /var/run/samba/smbd.pid
check process sambaN          with pidfile /var/run/samba/nmbd.pid
check process thermald        with pidfile /run/thermald.pid

(more to come...)

Things to figure out

  • check X11
  • check VNC