Articles in this section

Empty graphs are displayed in the Monitoring extension

kb: technical ext: advanced monitoring

Applicable to:

  • Plesk for Linux

Symptoms

  • Monitoring > Graphs are shown empty.

  • The next error could be found on Monitoring page:

    CONFIG_TEXT: An unexpected error occurred

  • Grafana custom repository is present on the server:

    # grep -r grafana /etc/apt/
    /etc/apt/sources.list:#deb https://packages.grafana.com/oss/deb stable main

  • A different grafana package version than the provided by Plesk is installed due to custom repository:

    # dpkg -l | grep graf
    ii grafana 9.2.6

Cause

Grafana version was not installed from Plesk repositories but from the custom one.

Resolution

  1. Connect to the server via SSH

  2. Remove the Grafana extension:

    # plesk bin extension --uninstall grafana

  3. Remove the Advanced Monitoring extension:

    # plesk bin extension --uninstall monitoring

  4. Remove Grafana from the server:

    • For Debian or Ubuntu operating systems:

      # apt purge grafana && rm -rf /usr/share/grafana /etc/grafana /var/lib/grafana

    • For RHEL, CentOS or CloudLinux operating systems:

      # yum remove grafana && rm -rf /usr/share/grafana /etc/grafana /var/lib/grafana

  5. Disable the custom repository by adding a preceding "#" or removing the line entirely. Vi editor can be used for this.

  6. Reinstall the Grafana extension:

    # plesk bin extension --install grafana

    # plesk bin extension --install monitoring

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.