CloudLinux Plugin

With the CloudLinux module, you'll be able to monitor individual users on your CloudLinux servers.

Dependencies

You need at least agent360 version 1.1.47.

To upgrade your agent, run the pip install agent360 --upgrade command.

The agent360 user needs sudo access to run lveinfo. Open the /etc/sudoers file and append the following at the end of the file.

agent360 ALL=(ALL) NOPASSWD: /usr/sbin/lveinfo 

This assumes that lveinfo is installed in /usr/sbin/lveinfo.

Configure the plugin

To enable the plugin, edit the /etc/agent360-custom.ini file and add the following lines:

[cloudlinux]
enabled = yes

Test the plugin

Run the sudo -u agent360 agent360 test cloudlinux command to see if everything is installed correctly.

cloudlinux:{"metrics": 0.....}

Now you can restart the agent with the service agent360 restart command.