in moneo.py [0:0]
def deploy(self):
'''
Deploys Moneo monitoring to hosts listed in the
specified host ini file
'''
print('Deployment type: ' + self.args.type)
logging.info('Moneo starting, Deployment type: ' + args.type)
if self.args.type == 'workers' or self.args.type == 'full':
if self.args.container:
self.deploy_work_docker(self.args.host_file, self.args.fork_processes)
else:
self.deploy_worker(
self.args.host_file,
self.args.fork_processes)
if self.args.type == 'manager' or self.args.type == 'full':
self.deploy_manager(self.args.host_file, user=self.args.user, manager_host=self.args.manager_host)
logging.info('Moneo starting, Deployment type: ' + self.args.type)