Plesk dashboard widget monitoring stuck: grafana has no rules loaded

Started by senthil, Jun 24, 2025, 06:33 AM

Previous topic - Next topic

senthil

Symptoms
  • Plesk Obsidian running on a Debian-based operating system
  • Configuring grafana in debug mode in /etc/grafana/grafana.ini shows no rules added:
    logger=alerting.scheduler t=2025-02-12T12:33:31.008195604+01:00 level=debug msg="Scheduling update"
    ruleCount=0
    logger=alerting.scheduler t=2025-02-12T12:33:41.000957178+01:00 level=debug msg="Scheduling update"
    ruleCount=0
    logger=secrets t=2025-02-12T12:33:50.255870488+01:00 level=debug msg="Removing expired data keys
    from cache..." logger=secrets t=2025-02-12T12:33:50.256088386+01:00 level=debug msg="Removing
    expired data keysfrom cache finished successfully"

Cause
Grafana's installation is corrupted and this prevents the Grafana and Monitoring extensions in Plesk from working
as expected because they both depend on Grafana being operational.

Resolution
  • Connect to the server via SSH
  • Remove the Grafana extension:
    #plesk bin extension --uninstall grafana
  • Remove the Monitoring extension by executing the following command:
    #plesk bin extension --uninstall monitoring
  • Remove Grafana left-over files by executing the following command:
    #apt-get remove grafana && rm -rf /usr/share/grafana /etc/grafana /var/lib/grafana
  • Reinstall both extensions in this order:
    #plesk bin extension --install grafana
    #plesk bin extension --install monitoring