The Site24x7 Linux FullStack Agent can be installed and run in three ways:
Each mode supports a slightly different set of features, as summarized below.
| Feature | Install as root and run as root | Install as root and run as non-root | Install as non-root and run as non-root |
|---|---|---|---|
| Server monitoring | All server metrics are collected | Collected. Exceptions:
| Collected. Exceptions:
|
| Applications (Docker, Podman) | All metrics, no configuration required | Add site24x7-agent to the Docker or Podman socket group* | Add the non-root user to the Docker or Podman socket group* |
| Plugins | No configuration required | Place the plugin files under the plugin directory and run: chown -R site24x7-agent:site24x7-group <plugin_folder> | No configuration required |
| Syslogs | Collected, no configuration required | Collected, no configuration required | Append *.* @127.0.0.1:8822 to /etc/rsyslog.conf and restart rsyslog: sudo service rsyslog restart |
| AppLogs | Collects log if the files are accessible | Collects log if site24x7-agent can access the log files | Collects log if the non-root user can access the log files |
| eBPF | Supported | Not supported | Not supported |
| APM Insight AutoProfiler | Supported | Not supported | Not supported |
| Auto-start | Registered as a service. Starts automatically after reboot. | Registered as a service. Starts automatically after reboot. | Not registered as a service. Added to ~/.bash_profile. Login or manual start is required after reboot to start. |
| Install path | /opt/site24x7/monagent | /opt/site24x7/monagent | <home_dir_of_user>/site24x7/monagent |
* Docker/Podman socket group
Metrics are collected through the UNIX socket. Add the runtime user to the group that owns the socket, then restart the agent:
docker_group=`stat -c %G /var/run/docker.sock`
sudo usermod -aG $docker_group site24x7-agent
podman_group=`stat -c %G /var/run/podman/podman.sock`
sudo usermod -aG $podman_group site24x7-agent
For a non-root installation, replace site24x7-agent with the user that runs the agent.
** Restarting rsyslog
Requires root or sudo privileges.