Beispiel #1
0
 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'))
Beispiel #2
0
 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'))
Beispiel #3
0
 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'))
Beispiel #4
0
 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'))