'This command is used to schedule downtime for all hosts in a
particular hostgroup.
During the specified downtime, Nagios will not send
notifications out about the hosts.
Syntax: SCHEDULE_HOSTGROUP_HOST_DOWNTIME;<hostgroup_name>;<start_time>;
<end_time>;<fixed>;<trigger_id>;<duration>;<author>;<comment>'

def schedule_hostgroup_host_downtime(self, hostgroup, minutes=30):

    cmd = 'SCHEDULE_HOSTGROUP_HOST_DOWNTIME'
    dt_cmd_str = self._fmt_dt_str(cmd, hostgroup, minutes)
    self._write_command(dt_cmd_str)
