View Source

WAS THIS PAGE HELPFUL? {html}<a href="mailto:training@gwos.com?subject=How to set downtime for large host groups">Leave Feedback</a>{html}\\
\\

h5. Overview

This is a temporary workaround. Very large host groups may cause errors on REST API update when setting regular or scheduled downtime. Please follow the steps below as recommended edits.

h5. Steps

# Edit the following file and save:
{noformat}/usr/local/groundwork/php/etc/php.ini{noformat}
#* Under the section *Resource Limits*, change the following to:
{noformat}max_input_vars = 10000{noformat}
and
{noformat}memory_limit = 512M{noformat}
# Edit the following file and save:
{noformat}/usr/local/groundwork/config/rstools/config.php{noformat}
#* Add this to the bottom of the file before the last "}" brace:
{noformat}const DOWNTIME_MAX_ELEMENTS = 6000;
const DOWNTIME_HOSTGROUP_HOST_BIZ_BULK = 50;
const DOWNTIME_HOSTGROUP_SERVICE_BIZ_BULK = 4;{noformat}