This is Part Four of a series on Monitoring Processes in Linux using VMware vRealize Operations Endpoint Operations Management (EPOPS).
Part 1 – Creating the MultiProcess Object for a single Linux Machine
Part 2 – Creating a MultiProcess Object for a Linux Machine (via Inventory Explorer)
Part 3 – Creating Object Relationships
Part 4 – Identifying the correct process.query string
Firstly I would highly recommend the following steps are taken within a test/lab environment. Within my lab environment I had numerous instances of core CentOS7, so if you have a more feature rich installation of Linux some of the steps may not be necessary.
I am currently using a bare bones CentOS 7 image with the vRealize Endpoint Operations Agent 6.2.x (vRealize-Endpoint-Operations-Management-Agent-x86-64-linux-6.2.0-3404388.rpm) installed with integrated Java.
My home lab has connectivity to the internet so the installation of Java 1.8 was relatively simple. If you don’t have Java installed you can either download the offline package or just type
yum install java and follow the on screen prompts (which is
Identifying the correct value for
Log into CentOS (i’m using
root login as its my homelab).
ps ax | grep <process> to show the information on the process you want to monitor. You need to identify the PID for the process, in this instance I have chosen the sshd process and it had a PID of 1272.
java -jar /opt/vmware/epops-agent/bundles/agent-x86-64-linux-6.2.0/pdk/lib/sigar-18.104.22.168.jar and press enter.
Sigar shell type
pinfo 1272 to show the information on the sshd process.The Name field highlighted can be used within the
process.query field to monitor the process using the EPOPS agent (