示例#1
0
 def start(self):
     if check_run():
         print('pro has run')
     else:
         print("going to start the monitor client")
         # exit_flag = False
         Client = client.ClientHandle()
         Client.forever_run()
示例#2
0
    def start(self):
        """
        Start the client listener

        :param start:
        :return
        """
        # TODO add log
        Client = client.ClientHandle()
        Client.forever_run()
示例#3
0
 def start(self):
     print("going to start the monitor client")
     # exit_flag = False
     Client = client.ClientHandle()
     Client.forever_run()
示例#4
0
    def start(self):
        print("监控客户端代理准备运行。。。")
        #exit_flag = False

        Client = client.ClientHandle()
        Client.forever_run()
示例#5
0
文件: main.py 项目: liuliulin/cmdb
 def stop(self):
     print("stopping the monitor client")
     Client = client.ClientHandle()
     Client.stop_client()
示例#6
0
 def start(self):
     print("Going to start monitor client(core/main.py)")
     #exit_flag = False
     Client = client.ClientHandle()
     Client.forever_run()