Site24x7
            Knowledge Base Site24x7 Knowledge Base Server Monitoring Linux Server Monitoring

            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:






            Updated: 20 Mar 2018 11:11 PM
            Helpful?  
            Help us to make this article better
            0 0