def run_host(self, obj, comment, sticky, notify='1', persistent='1'): self.cli.command('ACKNOWLEDGE_HOST_PROBLEM', obj.host_name, sticky, notify, persistent, get_username(), comment) self.cli.sendline(self.cli.ui.color('bold_yellow', 'Host problem acknowledged'))
def run_service(self, obj, comment, sticky, notify='1', persistent='1'): self.cli.command('ACKNOWLEDGE_SVC_PROBLEM', obj.host_name, obj.service_description, sticky, notify, persistent, get_username(), comment) self.cli.sendline(self.cli.ui.color('bold_yellow', 'Service problem acknowledged'))
def run_service(self, obj, comment, sticky, notify='1', persistent='1'): self.cli.command('ACKNOWLEDGE_SVC_PROBLEM', obj.host_name, obj.service_description, sticky, notify, persistent, get_username(), comment) self.cli.sendline( self.cli.ui.color('bold_yellow', 'Service problem acknowledged'))
def run_host(self, obj, comment, sticky, notify='1', persistent='1'): self.cli.command('ACKNOWLEDGE_HOST_PROBLEM', obj.host_name, sticky, notify, persistent, get_username(), comment) self.cli.sendline( self.cli.ui.color('bold_yellow', 'Host problem acknowledged'))