@Danielccm These are the instructions I used to install Monit, Install Monit
I left pretty much everything the same as the instructions. I didn’t do automatic eMail notification or anything like that.
So basically it was log into the PI and complete the following, I would recommend updating the PI first mind (back up though before you update)
Update PI
sudo apt-get update
sudo apt-get dist-upgrade
Clean up PI and any old files
sudo apt-get autoremove
sudo apt-get autoclean
sudo reboot
Then install monit
sudo apt-get install monit
Edit the monitoring file to add Domoticz
sudo nano /etc/monit/monitrc
I changed the checking from 300 to 120
Then under the webservice part I entered the following
use address IP Addy of PI
Then under the Configuring Monitoring of programs part of the link change the template IP address to your IP Addy of your PI and Port No
Follow the rest of the links commands.
Basically exit the file and save it
sudo monit -t (to ensure the code in the file is ok)
sudo monit start all
sudo service monit start
sudo reboot - habit I do after all configurations.
Check the webserver to see if working, Monit is running its own Run Server on your PI which is accessible from your PI IP Addy:2812
It should look something like this when you load it up
If it does not load up from the PI type
sudo service monit reload
and retest.
See how you get on, any questions, just reply and I’ll see if I can assit more.