Beispiel #1
0
 def __init__(self, config=Config):
     BaseLoggingObj.__init__(self, config)
     TarInstaller.__init__(self)
     self.downloadPath = Config.softServer + Config.soft_java
     self.downloadSavePath = Config.softSavePath + "/" + Config.soft_maven
     self.installPath = Config.softInstallPath
     self.logging.info("add JavaInstaller module!")
Beispiel #2
0
 def __init__(self):
     BaseLoggingObj.__init__(self)
     self.bichondao = BichonDao()
     try:
         self.initAllServer()
     except Exception, e:
         self.logging.error("brokers init false!")
Beispiel #3
0
 def __init__(self):
     BaseLoggingObj.__init__(self)
     self.bichondao = BichonDao()
     try:
         self.initAllServer()
     except Exception, e:
         self.logging.error("brokers init false!")
Beispiel #4
0
 def __init__(self, config=Config):
     self.name = "bichon broker server"
     self.version = Config.version
     self.agents = {}
     self.exportList = []
     self.errorAgents = []
     self.logging.info("broker start over ......")
     BaseLoggingObj.__init__(self, config)
Beispiel #5
0
 def __init__(self, config=Config):
     self.name = "bichon broker server"
     self.version = Config.version
     self.agents = {}
     self.exportList = []
     self.errorAgents = []
     self.logging.info("broker start over ......")
     BaseLoggingObj.__init__(self, config)
Beispiel #6
0
    def __init__(self, config=MySqlConfig):
        BaseLoggingObj.__init__(self)

        self.hostName = config.hostName
        self.name = config.name
        self.db = config.db
        self.password = config.password
        self.charset = config.charset
Beispiel #7
0
 def __init__(self, proxy, host, config=Config):
     BaseLoggingObj.__init__(self, config)
     self.target = proxy
     self.command = {}
     self.host = host
     self.isError = False
     self.export = {}
     self.__init()
Beispiel #8
0
 def __init__(self, proxy, host, config=Config):
     BaseLoggingObj.__init__(self, config)
     self.target = proxy
     self.command = {}
     self.host = host
     self.isError = False
     self.export = {}
     self.__init()
Beispiel #9
0
 def __init__(self):
     BaseLoggingObj.__init__(self)
     self.cpu = CpuModule()
     self.disk = DiskModule()
     self.mem = MemModule()
     self.net = NetModule()
     self.ec = ExecModule()
     self.check = CheckModule()
     self.process = ProcessModule()
     self.file = FileModule()
     self.agent = RPCThreading(("0.0.0.0", Config.agent_port))
     self.registerCpu()
     self.registerDisk()
     self.registerExec()
     self.registerMem()
     self.registerNet()
     self.registerProcess()
     self.registerCheck()
     self.registerFile()
     self.logging.info("客户端程序启动。。。")
     self.agent.serve_forever()
Beispiel #10
0
 def __init__(self):
     BaseLoggingObj.__init__(self)
     self.logging.info("DiskModule added")
Beispiel #11
0
 def __init__(self, config=Config):
     BaseLoggingObj.__init__(self, config=config)
     self.logging.info("add InstallHooker module!")
     self.config = config
     self.module = {}
Beispiel #12
0
 def __init__(self):
     BaseLoggingObj.__init__(self)
     self.logging.info("CpuModule added !")
Beispiel #13
0
 def __init__(self, config=Config):
     BaseLoggingObj.__init__(self, config=config)
     self.moduleMap = {}
Beispiel #14
0
 def __init__(self, config=Config):
     BaseLoggingObj.__init__(self, config=config)
     AbsBroker.__init__(self, config=config)
Beispiel #15
0
 def __init__(self, config=Config):
     BaseLoggingObj.__init__(self, config=config)
     self.logging.info("Environment check start")
Beispiel #16
0
 def __init__(self, config=Config):
     BaseLoggingObj.__init__(self, config=config)
     self.moduleMap = {}
Beispiel #17
0
 def __init__(self, config=Config):
     BaseLoggingObj.__init__(self, config)
     TarInstaller.__init__(self, )
     self.name = "jdk1.8.64.tar.gz"
Beispiel #18
0
 def __init__(self, config=Config):
     BaseLoggingObj.__init__(self, config)
     YumInstaller.__init__(self)
Beispiel #19
0
 def __init__(self):
     BaseLoggingObj.__init__(self)
     self.logging.info("DiskModule added")
Beispiel #20
0
 def __init__(self):
     BaseLoggingObj.__init__(self)
     self.logging.info("create ServiceModule !")
 def __init__(self, config=Config):
     BaseLoggingObj.__init__(self, config=config)
     self.logging.info("init DefaultAgent from file %s", __file__)
Beispiel #22
0
 def __init__(self, config=Config):
     BaseLoggingObj.__init__(self, config)
     YumInstaller.__init__(self)
Beispiel #23
0
 def __init__(self):
     BaseLoggingObj.__init__(self)
     self.logging.info("create MemModule !")
Beispiel #24
0
 def __init__(self, config=Config):
     self.muScanner = ModuleScanner(config)
     self.listArray = []
     BaseLoggingObj.__init__(self, config=config)
     AbsAgent.__init__(self, config=config)
Beispiel #25
0
 def __init__(self, config=Config):
     BaseLoggingObj.__init__(self, config=config)
     AbsBacker.__init__(self)
Beispiel #26
0
 def __init__(self):
     BaseLoggingObj.__init__(self)
     self.logging.info("create NetModule")
Beispiel #27
0
 def __init__(self):
     BaseLoggingObj.__init__(self)
     self.sqlHelp = SqlHelper()
     self.logging.info("构建BichonDao")
Beispiel #28
0
 def __init__(self, config=Config):
     self.muScanner = ModuleScanner(config)
     self.listArray = []
     BaseLoggingObj.__init__(self, config=config)
     AbsAgent.__init__(self, config=config)
Beispiel #29
0
 def __init__(self, config=Config):
     BaseLoggingObj.__init__(self, config)
     TarInstaller.__init__(self, )
     self.name = "jdk1.8.64.tar.gz"