Monit is very easy to use nearly out of the box. By default, it is set up to check that services are running every 2 minutes and stores its log file in "/var/log/monit.log". (I have changed this to my ramdisk check Wiki)
sudo nano /etc/monit/monitrc
Modify the following parameters:
set daemon 300 -> Check services at 300 seconds (5 minutes)
with start delay 300 -> Start checking the services after 300 seconds (this avoids bootloops if Domoticz has not started yet, give it some time to start fully)
set logfile /var/log/monit.log -> It is preferred to change the location of the logfile to a mounted pen drive or HDD. Or store it in a RAM-drive.
Modify Monitoring_domoticz
Moderator: leecollings
-
- Posts: 19
- Joined: Wednesday 27 February 2019 11:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10717
- Location: Netherlands
- Contact:
Modify Monitoring_domoticz
How can I do this?
-
- Posts: 744
- Joined: Saturday 30 May 2015 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Contact:
Re: Modify Monitoring_domoticz
Well, as the instruction says: check the wiki. The process of enabling the logging in domoticz is very well described in it
Who is online
Users browsing this forum: No registered users and 1 guest