icinga2client.cli.downtime module

Usage:
  i2 downtime [remove] host <name> [--all-services] [options]
  i2 downtime [remove] service <hostname> <name> [options]
  i2 downtime [remove] hostgroup <name> [--all-services] [options]
  i2 downtime [remove] servicegroup <name> [options]
  i2 downtime remove <name>

Create Options:
  --all-services              Include all services when scheduling downtime
                              for hosts [default: false]
  --start=<timespec>          Start time [default: now]
  --end=<timespec>            End time [default: +2 hours]
  --duration=<timespec>       Duration (if flexible downtime)
  --operator=<name>           Name of the operator scheduling the downtime
  --comment=<comment>         Comment describing the reason for the downtime
  --trigger-name=<name>       Trigger (if triggered downtime)
icinga2client.cli.downtime.get_downtime_type(args)
icinga2client.cli.downtime.invoke(client, arguments, **kwargs)
icinga2client.cli.downtime.remove_downtime(client, args, filter_fn)
icinga2client.cli.downtime.schedule_downtime(client, args, filter_fn, comment)