Plesk

Grafana is flooding with emails on Plesk: Firing Value: [no value] Labels: – alertname = DatasourceError

Symptoms

Cause

Unsupported Grafana version is installed.

Resolution

For Plesk on RHEL based Linux (AlmaLinux/RockyLinux/CentOS)

  1. Connect to the server via SSH

  2. Downgrade version of the the grafana package to the current one:

    # yumdb search from_repo plesk-ext-grafana
    Loaded plugins: fastestmirror
    grafana-8.3.6-1.x86_64
    from_repo = plesk-ext-grafana

    # rpm -e --nodeps grafana.x86_64 9.0.0-1

    # yum install grafana-8.3.6-1.x86_64

  3. Restart grafana:

    # service grafana-server restart

For Plesk on Debian based Linux (Debian/Ubuntu)

  1. Connect to the server via SSH

  2. Find the file containing non Plesk Grafana repository with this command:

    # grep -r graf /etc/apt/
    /etc/apt/sources.list:deb https://packages.grafana.com/oss/deb stable main
    /etc/apt/sources.list.d/plesk-ext-grafana.list:deb https://autoinstall.plesk.com/grafana/deb stable main

  3. Remove the line containing "packages.grafana.com" from the file found in step 2. (/etc/apt/sources.list)

  4. Install supported Grafana version:

    # apt-get install grafana=8.3.6

  5. Restart Grafana:

    # service grafana-server restart

Exit mobile version