Symptoms
-
Advanced Monitoring shows a blank screen
-
There is the following message on the Grafana page:
Looks like there's nothing here
-
There are no dashboards in the Grafana application
-
Attempts to reinstall Grafana result in the error:
ERROR: TypeError: Argument 1 passed to PleskExtMonitoringDashboardPanelBuilder::setTargets() must be of the type array, null given, called in /opt/psa/admin/plib/modules/monitoring/library/Dashboard/TemplateBuilder/HddDashboardTemplateBuilder.php on line 45 (PanelBuilder.php:116)
Cause
The Advanced Monitoring installation is corrupted
Resolution
-
Connect to the server via SSH
-
Remove Grafana and Advanced Monitoring extensions
# plesk bin extension -u grafana
# plesk bin extension -u monitoring -
Install Advanced Monitoring:
# plesk bin extension -i monitoring
Note: Grafana will be installed alongside with Advanced Monitoring.