# System Monitoring The below commands will setup ```monit``` to track key elements of the PiFrame hardware and software. ```monit``` is a very light weight monitoring solution and is used to ensure key parts of the system are in a reasonable state and working. ``` sh apt install monit nano -w /etc/monit/monitrc set httpd port 2812 and use address 0.0.0.0 allow admin:monit set mailserver domain.tld port 587 username "piframe@domain.tld" password "apassword" using tls cat > /etc/monit/conf.d/rootfs < 80% then alert EOF cat > /etc/monit/conf.d/tankfs < 80% then alert EOF cat > /etc/monit/conf.d/fim <