Setting the Do Not Disturb periods between campaigns

Setting the Do Not Disturb periods between campaigns

Set both the Do Not Disturb period and the Non-negotiable Protection period between campaigns in the configuration file of the Portal.

To configure the Do Not Disturb periods:

  1. Log in to the CLI of the Portal appliance.
  2. Optional: If the Portal has no configuration file yet, that is, if portal.conf does not exist in folder /var/nexthink/portal/conf, create it by copying the defaults from the sample configuration file:
    sudo -u nxportal cp /var/nexthink/portal/conf/portal.conf.sample \
    /var/nexthink/portal/conf/portal.conf
  3. Edit the Portal configuration file:
    sudo vi /var/nexthink/portal/conf/portal.conf
  4. Type in the following line to set the value for the do not disturb period. Use the suffix m, h, or d to specify the time interval in minutes, hours, or days, respectively. For example, to set the period to its default value of 6 hours, type in:
    globalconfig.euf-service.customization.do-not-disturb-period = 6 h
    Type in the following line to set the value for the non-negotiable protection period. Use the suffix m, h, or d to specify the time interval in minutes, hours, or days, respectively. For example, to set the period to its default value of 20 minutes, type in:
    globalconfig.euf-service.customization.non-negotiable-protection-period = 20 m
  5. Save your changes and quit the editor by typing:
    :wq
  6. Restart the Portal to apply your settings:
    sudo systemctl restart nxportal