To fully reset the End-Point Operations Agent use these steps for the appropriate operating system.
Caution : Removing the data directory of the agent removes all configuration and all spooled metric data. This means if the agent has been in a configured state, collecting metrics but has not been able to transmit that metric data to vRealize Operations for some reason (i.e. no network access), that metric data ( which is minimal) will be lost when the data directory is removed.
On Windows:
- Log in to Windows Virtual Machine as Administrator where EP OPs agent is installed.
- Open a command prompt and run these commands:
cd \ep-agent\bin
ep-agent.bat stop
ep-agent.bat remove
deltree ..\data
Note: If deltree command does not work, then simply delete the data directory from GUI.
ep-agent.bat install
ep-agent.bat start
On Linux:
- Log in to Linux Virtual Machine as root where EP Ops is installed.
- Run this command:
cd /path
./ep-agent.sh stop
rm -rf ../data
./ep-agent.sh start