Caveat: This VESagent practice applies to multicloud-windriver only right now.
VESagent provision sample:
Assuming:
IP to access multiCloud-windriver: 172.30.3.37
...
Tenant: sampletenant
VESagent provision sample 1: monitor specific VMs under specific tenant
Code Block | ||||
---|---|---|---|---|
| ||||
{"vesagent_config":{"backlogs":[{"source":"sample_vm_0 ","domain":"fault","type":"vm","tenant":"sampletenant"},{"source":"sample_vm_1","domain":"fault","type":"vm","tenant":"sampletenant"}],"poll_interval_default":10,"ves_subscription":{"username":"admin","password":"admin","endpoint":"http://172.30.3.55:8081/eventListener/v5"}}} |
VESagent provision sample 2: monitor all VMs under specific tenant
Code Block | ||||
---|---|---|---|---|
| ||||
{"vesagent_config":{"backlogs":[ {"domain":"fault","type":"vm","tenant":"sampletenant"}],"poll_interval_default":10,"ves_subscription":{"username":"admin","password":"admin","endpoint":"http://172.30.3.55:8081/eventListener/v5"}} |
Provisioning the MultiCloud VESagent
...