Option to deploy Watchdog extension via CLI with custom monitoring settings
Option to deploy Watchdog extension via CLI with custom monitoring settings
It would be really helpful for a Plesk Administrator the possibility to configure Watchdog extension via CLI with custom monitoring settings. This would save a lot of time and would allow to easy implement a standard monitoring system on a set of Plesk servers.

You can configure your monitoring settings in fir /usr/local/psa/etc/modules/watchdog/monitrc in CLI and create your own customized configs as you want. Do not forget restart service with /usr/local/psa/admin/bin/modules/watchdog/wd -restart after that.
-
IG
-
Mikhail commented
The suggested file says following:
#ATTENTION!
#
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.Is there a better way to manage it?