Overview
On some cPanel/WHM servers—particularly DNS Cluster nodes—360 Monitoring may be automatically reinstalled by cPanel even after repeated manual removals. This behavior can lead to unnecessary resource consumption and operational overhead.
This knowledge base article provides a reliable, permanent method to disable, uninstall, and prevent reinstallation of 360 Monitoring (agent360) on affected servers.
Impact
-
Automatic reinstallation within minutes after removal
-
Increased CPU/RAM usage from
agent360 -
Undesirable on lightweight servers (e.g., DNS-only nodes)
Solution Summary
The solution involves:
-
Disabling the plugin at the ecosystem/feature level
-
Removing feature flags that trigger reinstall
-
Uninstalling monitoring components
-
Stopping and disabling all related services
-
Verifying complete removal
Step-by-Step Resolution
Run all commands as
root.
1. Remove the Pkg & Disable the 360 Monitoring Plugin via WHM API
yum remove cpanel-monitoring-plugin -y || apt remove cpanel-monitoring-plugin -y
whmapi1 EcosystemFeatures/local_disable plugin=cpanel-monitoring-plugin
2. Prevent Reinstallation Using Feature Flags
touch /var/cpanel/feature-flags/cpanel.360-monitoring.plugin.local.disable
rm -vf /var/cpanel/feature-flags/cpanel.360-monitoring.plugin.installed
3. Uninstall Monitoring Plugins
/var/cpanel/plugins/monitoring/uninstall.sh
/var/cpanel/plugins/monitoring-agent/uninstall.sh
4. Stop and Disable agent360 Service
systemctl disable --now agent360.service
Optional deep cleanup (recommended if the agent persists):
systemctl stop agent360
systemctl disable agent360
rm -f /etc/systemd/system/agent360
rm -f /etc/agent360.ini
rm -f /etc/agent360-token.ini
pip uninstall -y agent360
userdel agent360
5. Ensure the Agent Is Fully Disabled
chmod +x /var/cpanel/plugins/monitoring-agent/disable.sh
/var/cpanel/plugins/monitoring-agent/disable.sh
6. Verify No agent360 Process Is Running
ps aux | grep agent
Only the grep process itself should appear.
7. Final Verification (Recommended)
Run the official uninstall verification script once more to confirm complete removal:
echo y | sh <(curl https://raw.githubusercontent.com/plesk/kb-scripts/master/360-monitoring-uninstall/360-monitoring-uninstall.sh \
|| wget -O - https://raw.githubusercontent.com/plesk/kb-scripts/master/360-monitoring-uninstall/360-monitoring-uninstall.sh)
Result
-
360 Monitoring is fully removed
-
agent360 services are disabled
-
cPanel is prevented from reinstalling the plugin
-
System resources are freed and stabilized
Notes
-
This approach is safe for DNS-only and lightweight cPanel servers
-
Reboot is not required, but optional for confirmation
-
If cPanel updates reintroduce the plugin in the future, re-check the feature flags
