How To
Summary
Customer does not want the agent to run as root. He needs the agent to run as a non-root user. When he changes it to a non-root user the agent will not start. Issue seems to be a permissions and credentials issue.
Objective
Environment
lz Monitoring Agent for Linux OS
lpl266 Version: 06.35.14.14
Steps
Here is a write up on 'Starting agents as a non-root user':
To run the agent with another user
Make sure the user has permission to the install?
Make sure you run the /opt/ibm/apm/agent/bin/secure.sh -g <group> to a group that the user belongs to so it will have permission to run the agent?
This resolved the customer's issue after all the above steps were taken.
Additional Information
Does the svc_apm_os user have the ability to monitor the same resources as the root user? I read the below and I'm concerned that this new user will not be able to provide us with the information we need.
Restriction
While running as a non-root user, the agent cannot access /proc/pid/status, and therefore cannot report the following attributes:
These attributes are not visible in the Cloud APM console but are available to create thresholds.
Document Location
Worldwide
Historical Number
TS004900732
Product Synonym
APM osagent
Was this topic helpful?
Document Information
Modified date:
11 February 2021
UID
ibm16414651