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
Permission required to run the Linux agent in a machine
A root or a non root user can install the Linux agent. Related Articles: Know the differences between root and non root installations for Linux agent Add a Linux server monitor
Steps to install Linux monitoring agent in custom platforms/distributions
If you want to install the Site24x7 Server Monitoring agent in platforms/flavors other than Debian, Ubuntu, CentOS, RedHat, Madriva, Fedora, Suse, Amazon Linux, Gentoo, CoreOS, Raspberry Pi (requires Python 3 and above), ARM Processor (requires ...
Configure a proxy for a Linux server monitoring agent during installation
When you install Site24x7's Linux server monitoring agent, use one of the below mentioned commands depending upon your proxy configuration requirements. Scenario 1: Proxy with authentication bash Site24x7InstallScript.sh -i -key=<DEVICE_KEY> ...
How to fix a SSL connection error when downloading the Site24x7 Linux server monitoring agent installer
In a few scenarios, when you try to download the Site24x7 Linux server monitoring agent installer, an SSL connection failure error message will display. Follow the instructions below based on your use case to fix this error. Prerequisite: For ...
APM Insight agent log paths
Folder path to view One agent logs One agent logs can be found only in the common application folder in Windows (usually under C:\ProgramData from Vista onwards). Check the following folder path in Windows: C:\ProgramData\Site24x7APMOneAgent\Logs ...