Introduction
360 Monitoring is a web service that monitors your servers’ performance, displays vital statistics, and can send alerts. When you add a server to 360 Monitoring, the 360 Monitoring site will give some basic installation instructions for your type of server. Depending on your Operating System, some additional manual steps may be required.
Procedure
For servers using CentOS version 7 and higher, you would run the following commands:
yum install python36-devel python36 gcc
pip3 install agent360
For servers using Ubuntu, you would run the following commands:
apt-get install python3-dev python3-setuptools python3-pip
pip3 install agent360
wget -O /etc/agent360.ini https://monitoring.platform360.io/agent360.ini
For servers using CloudLinux (with CageFS) you may not be able to view the processes list or only be able to view the agent360 process itself. In this case, you would need to follow the following steps:
1. Run the id agent360 command to retrieve the groupid for agent360.
2. Edit the /etc/sysctl.conf file and add the following line to the CageFS section.
fs.proc_super_gid=GROUPID
Replace GROUPID with the groupid that was returned in step 1.
3. Run the sysctl -p command to enable your changes.
4. Add agent360 to the /etc/cagefs/exclude/systemuserlist file.
5. Enable the changes by running the cagefsctl --force-update command.
6. Run the service lve_namespaces restart command.
7. Run the sudo -u agent360 agent360 test process command to confirm that the changes work.
8. Restart the agent360 service with the service agent360 restart command.
Comments
0 comments
Article is closed for comments.