This article applies to updating monit with new configuration as per sevicewatchdog.inc. I.e if manually updating servicewatchdog.inc you will need to restart monit as per below to allow for changes to be written to the monit config file.


  1. Login to P8 Interface
  2. Enter follow URL https://<p8url>:444/execute.php 
  3. Enter the below text in the "PHP Exec" block


<---------------------------------------->

require_once("config.inc");

require_once("servicewatchdog.inc");


setup_monit_conf();

servicewatchdog_restart();

<---------------------------------------->


Once done confirm status by running 'monit -c /var/etc/monit.conf summary' and the CLI.  Note: If you restart web security settings then you will need to wait for 5 minutes as Monit has a delay start time of 5 minutes.


You should see the following: