Applicable to:
- Plesk for Linux
Symptoms
- Both CPU and Memory usage widgets display the following error on the Plesk home page:
- The following error is logged in the Plesk panel log at
/var/log/plesk/panel.log:
CONFIG_TEXT: [2024-12-13 23:36:38.197] 467571:675cb6f6300d0 ERR [extension/monitoring] /usr/local/psa/admin/plib/modules/monitoring/library/RrdLib/RrdHeader.php(92): Empty file.
[2024-12-13 23:36:38.239] 467574:675cb6f63a8b8 ERR [extension/monitoring] /usr/local/psa/admin/plib/modules/monitoring/library/RrdLib/RrdHeader.php(92): Empty file
-
The solutions from each of these articles do not resolve the issue:
▪ Plesk Monitoring thresholds cannot be updated: Request failed with status code 500 – Plesk
▪ Monitoring widget in Plesk panel shows error: Request failed with status code 500 – Plesk
Cause
The root cause of the issue is unknown.
More information on Jira PPS-17138
Resolution
In order to resolve the issue, fully remove the Monitoring and Grafana extensions and their relative data and then re-install them. That can be achieved by executing the following steps:
- Connect to the server via SSH
-
Uninstall Grafana and Monitoring Extensions:
# plesk bin extension --uninstall grafana
# plesk bin extension --uninstall monitoring -
Remove Grafana from the server completely by executing one of the following commands (based on the operating system):
▪ For Debian-based operating systems:
# apt purge grafana && rm -rf /usr/share/grafana /etc/grafana /var/lib/grafana
▪ For RHEL-based operating systems:
# yum remove grafana && rm -rf /usr/share/grafana /etc/grafana /var/lib/grafana
-
Delete the folder
/usr/local/psa/var/health/dataand its content:# rm -rf /usr/local/psa/var/health/data
-
Reinstall Grafana and Monitoring Extensions:
# plesk bin extension --install grafana
# plesk bin extension --install monitoring -
Restart
sw-collectdto regenerate stat files:# systemctl restart sw-collectd
Comments
Please sign in to leave a comment.