Question
How to enable CGroups for Advanced Monitoring in Plesk for Linux?
Answer
-
Make sure that Cgroups is installed on the Plesk server.
- Connect to the server via SSH.
-
Edit
/usr/local/psa/admin/conf/panel.ini
. In this example we're using the vi editor:# vi /usr/local/psa/admin/conf/panel.ini
- Enable ability to integrate CGroups manager with Advanced Monitoring by adding the following lines into the file:
[ext-monitoring]
allowCgroupsManagerIntegration = true - Log into Plesk.
-
Go to Advanced Monitoring > Settings > Subscription monitoring:
​​
-
Click on the radio button below to enable the integration:
Alternatively, you may enable the integration via the command-line interface with the following command:
# plesk sbin resctrl --enable
Note: Enabling the integration will allow checking the resource usage under any subscription.