You can install or uninstall an agent on a end point VM using a script.
Prerequisites
- The end point VM must be available in vRealize Operations.
- Complete all the prerequisites. For more information, see Prerequisites.
- The unzip package must be available on the end point VM.
- The user must have access permissions to the download folder.
- The guest IP must be properly configured and is unique across vCenter Servers. If more than one end point VM with the same IP across vCenter Servers is monitored, the script cannot resolve and subscribe to application monitoring.
- The cloud account must be configured for the vCenter Server to which the end point VM belongs.
- Port 443 in vRealize Operations must be accessible to the end point VM.
- The vRealize Operations user must have the following permissions:
- Administration > REST-APIs > All other Read, Write APIs
- Administration > REST-APIs > Read access to APIs
- Environment > Applications > Manage Telegraf Agent
- Environment > Actions > Bootstrap virtual machines
- Environment > Actions > Download bootstrap
Note: To check permissions, navigate to , select the role to which the user is assigned. You can view the permissions on the right side at the end of the page. - Only IPv4 is supported at present.
- VMTools version >=10.2.