Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

3 watching

Forks

Latest commit

 

History

72 Commits

Folders and files

Repository files navigation

Deploy monitor agent in VirutalMachine created by Yunion OneCloud

Usage

config.yaml supplies influxdb_url and influxdb_name. Run the playbook with:

python run.py <host1> <host2> ... \
  [--ssh-port 22] \
  [--ssh-user root] \
  [--ssh-key PATH] \
  [--ssh-password PASSWORD] \
  [--server-type guest|baremetal] \
  [--config config.yaml]
  • Hosts are required. Each one is both the inventory name and the SSH address.
  • --ssh-port defaults to 22.
  • --ssh-user defaults to root. A non-root account must have passwordless sudo.
  • --ssh-key is the private key for key-based login. Omit it to use ssh-agent or the default keys.
  • --ssh-password is for password login. Do not combine it with --ssh-key.
  • --server-type defaults to guest. Use baremetal to install the baremetal collectors.
  • --config defaults to config.yaml next to run.py.

The same playbook can still be run by editing inventory/hosts.yaml and executing ansible-playbook -i inventory/hosts.yaml -e @config.yaml playbook.yaml.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages