Running the OS agents as a non-root user

You can run the Monitoring Agent for Windows OS, Monitoring Agent for UNIX OS, and Monitoring Agent for Linux® OS as a non-root user.

To run the Windows OS agent as a non-root user, see Running the Monitoring Agent for Windows OS as a non-root user.

To run the Monitoring Agent for UNIX OS and Monitoring Agent for Linux OS agents as a non-root user, see Starting agents as a non-root user.

Restriction:
While running as a nonroot user, the agent cannot access /proc/pid/status, and therefore cannot report the following attributes:
  • -User CPU Time (UNIXPS.USERTIME)
  • -System CPU Time (UNIXPS.SYSTEMTIM)
  • -Total CPU Time (UNIXPS.TOTALTIME)
  • -Thread Count (UNIXPS.THREADCNT)
  • -Child User CPU Time (UNIXPS.CHILDUTIME)
  • -Child System CPU Time (UNIXPS.CHILDSTIME)
  • -Total Child CPU Time (UNIXPS.CHILDTIME)
  • -Wait CPU Time (UNIXPS.WAITCPUTIM)
  • -Terminal (UNIXPS.USERTTY)

These attributes are not visible in the Cloud APM console but are available to create thresholds.