If you use CloudLinux with CageFS, or similar virtualised file systems, this can interfere with the data the agent posts back to Server Density such as the number of running processes (by default, the agent can only see processes running under
To ensure the agent can view correct server metrics, you need to exclude the user from CageFS with the following changes.
1. Get the group ID of the agent with the command
/etc/sysctl.conf and add the following under the CageFS section using the group ID from above
Note: if you need other users/groups to use this setting, you should add those users (including the agent) to a new group and use that GID instead.
3. Save and exit. Run
sysctl -p to apply the changes.
4. Add the sd-agent (or whichever user the agent is running as) to
5. Update CageFS with
The agent should then report back correct data and you can verify by checking a Processes graph (note the jump):
You can also verify this has been configured correctly by switching to the agent user and running ps (if you see processes for all users, the changes have been applied properly):
su sd-agent ps aux