Root and non root installations for Linux agent

Differences between root and non root installations for Linux agent

The Linux agent can be installed by a root or a non root user.

Feature
Install as root and run as root user
Install as root and run as non root
Install as non root and run as non root
Docker  
Will include all metrics, without any configuration
The site24x7-agent user should be added to the docker group*
Add the non root user to the docker group*
Plugins   
No configuration required
Place the plugin files under the plugin directory and execute the following commands:
chown -R site24x7-agent:site24x7-group <plugin_folder> or
chmod +x <plugin/file>
No configuration required 
Syslogs   
Will include all metrics, without any configuration
Will include all metrics, without any configuration
Append the line "*.* @127.0.0.1:8822" to the file /etc/rsyslog.conf and and restart rsyslog using the command:
sudo service rsyslog restart**
init daemon
The agent will be registered as a service. During a server reboot, the agent will be automatically started
The agent will be registered as a service. During a server reboot, the agent will be automatically started.
The agent will not be registered automatically as a service. It will be added in the startup. During a server reboot, manual login is required.

*Note: We make use of the docker UNIX socket file to collect metrics. If the agent runs as non-root, add the non-root user or the site24x7-agent user to the docker group using the following commands:
docker_group=`ls -al /var/run/docker.sock | awk -F ' ' '{print $4}'`
usermod -a -G $docker_group

**This requires root or sudo privileges

Related Help Documentation:






    • Related Articles

    • Prerequisites for Node.js agent installation

      For a smooth Node.js agent installation, ensure that you've fulfilled the following prerequisites. The environment should have node version 16.20.2 or above installed. The application user should have full permission to access the agent directory. ...
    • How to uninstall the Site24x7 Windows Server Monitoring Agent

      Method 1: To uninstall the Site24x7 Windows Server Monitoring Agent, click the link below: https://staticdownloads.site24x7.com/server/Site24x7WindowsAgentUninstall.zip Unzip and execute the Uninstall.bat file in the Command Prompt as an ...
    • Bundled .NET and .NET Core agents in a single MSI

      In APM Insight .NET agent version 6.8.0, the .NET and .NET Core agents have been bundled into a single MSI, enabling unified monitoring of both application types. Upgrade requirements for .NET Core agent 6.7 and below If you're using .NET Core agent ...
    • What are the major differences between Monitor Groups and Tags

      Monitor Groups   A Monitor Group helps in logically grouping resources, and provides a business perspective of the resources. It can be used for: Filtering monitors in the Home tab - Monitor Status Page. Filtering monitors in Configuration Rules and ...
    • Add Node.js agent in Kubernetes via InitContainers (using prebuilt agent image)

      To integrate the APM Insight Node.js agent into your Kubernetes applications using InitContainers, follow the steps given below: Step 1: Create an empty volume that will be used to copy the agent files during the initContainers process. Example: ...