Documentation:
1. vRealize Operations Manager 6.1 -> You already have it installed, if not, download it
-> https:/my.vmware.com/group/vmware/info?slug=infrastructure_operations_management/vmware_vrealize_ope...
2. vRealize Operations EndPoint Agent installable -> download the 64-bit version from
-> https://my.vmware.com/group/vmware/details?downloadGroup=VROPS-610&productId=538&rPId=8818
3. vCenter Monitoring Solution Management Pack (PAK-File) -> not easy to find, but it is on
-> https://solutionexchange.vmware.com/store/products/130354
4. vCenter Server access with administrator / root privileges -> in my case Linux vCSA
1. Install and configure EPOPS Agent on the vCenter
2. Install and configure vCenter Monitoring Management Pack
Open the /etc/init.d/epops-agent file in a text editor.
1.3.1 Change the line:
RUN_AS_USER=epops
to
RUN_AS_USER=root
1.3.2 Also find the line below:
AGENT_CTL="su $RUN_AS_USER -s $SHELL $AGENT_INSTALL_DIR/epops-agent/bin/ep-agent.sh"
and remove $SHELL, such that the line now reads:AGENT_CTL="su $RUN_AS_USER -s $AGENT_INSTALL_DIR/epops-agent/bin/ep-agent.sh"
vcsa-01a:~ # service epops-agent start
Starting End Point Operations Management Agent...... running (1919).
[ Running agent setup ] - The agent generated the following token 1453723755661-608569690955820004-2774624980274959717
Enter the server hostname or IP address: vrops-01a.corp.local
Enter the server SSL port [default=443]: - Testing secure connection ...
...
Do you trust this certificate (yes/no/more)? [default=no]: yes
- Connection successful.
Enter your server username: admin
Enter your server password:
- Registering the agent with server.
- The agent has received a client certificate from server.
- The agent has been successfully registered.
This password will be used later on to configure the postgres monitoring plugin in vR Ops:
vcsa-01a:~ # cat /etc/vmware-vpx/vc
db.properties
driver = org.postgresql.Driver
dbtype = PostgreSQL
url = jdbc:postgresql://localhost:5432/VCDB
username = vc
password = DKTRP){3d$1sHvCZ
password.encrypted = false
Download vCenter Self-Monitoring Solution management pack from here: https://solutionexchange.vmware.com/store/products/130354
Log in to vRealize Operations manager as "admin" and go to Solution, click on the + sign and install the management pack.
Once the management pack installed and assuming the agent is already running a list of new resources will appear. Go to "Administration -> Inventory Explorer -> Adapter Types -> EP Ops Adapter" and select "vCenter App Server- your-vcsa-hostname" object. Press the pencil symbol ot edit it.
Click on + to create new credentials
Now select the object called "PostgreSQL - your vcsa hostname" and click on the pencil to edit it. Add the postgres credentials acquired in the step 1.5.
After a while (5 minutes) both configured objects should show gree collection status.
Check new objects and data under Environment -> Operating Systems World -> Linux -> vcsa-host..
Filter based on "Adapter Type = EP Ops Adapter"
According to the description on Solution Exchange Cloud Management Marketplace | Solution Exchange "The vCenter management pack requires standard edition vRealize Operations Manager Installation."
I don't really want to use my admin credentials to connect the agent to the server...
I've set up a new local vROPs user with the "AgentManager" role, and it's not allowing agents using that username / password to submit stats to the server.
What permissions need to be granted to a user to enable it to be used by the endpoint agent to send data to the server?
Thank you for these detailed instructions. The solution guide was lacking a lot of steps required to register the EPOPS Agent.
I am stuck at 2.3, I don't see my virtual center listed as that adapter type. I did upload the pak with no issues. and I see my VC as an EPOagent client, just not as a vcenter app.
Thoughts?
mine is sort of working, but showing MSSQL as red, which makes the whole system red. However we are using VCSA so no mssql. How do I remove this from the workflow so it doesn't attempt to query sql?
GB