Company
Date Published
Author
Alejandro Do Nascimento
Word count
1012
Language
English
Hacker News points
None

Summary

The New Relic Infrastructure agent can now be run as a non-root user, addressing security concerns for customers who cannot install and run it as root due to their security protocols. To enable this, the `nri-agent` user was created and Linux capabilities were defined to allow the user to collect metrics with elevated privileges. The agent offers two run modes: privileged and unprivileged, which provide different levels of access to system metrics and inventory. In privileged mode, the agent has total access to all system metrics and inventory, while in unprivileged mode, it can collect most metrics but lacks some inventory sources and process samples. Customers can install and configure the agent in these run modes using specific environment variables and installation instructions.