Page 1 of 1

Modify Monitoring_domoticz

Posted: Friday 19 July 2019 11:37
by witteherder
How can I do this?
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.

Re: Modify Monitoring_domoticz

Posted: Tuesday 23 July 2019 11:42
by jake
Well, as the instruction says: check the wiki. The process of enabling the logging in domoticz is very well described in it