• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Advance Monitoring

If you see the following output of command:

Code:
# python2 -c 'import urllib2 ; print urllib2.urlopen("https://packages.grafana.com/gpg.key").read()'
. . .
urllib2.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>

that means broken CA certificates configuration on OS level. The issue is linked with Ubuntu bug with ID 396818

  1. Move /usr/lib/ssl directory:

    Code:
    # mv /usr/lib/ssl /usr/lib/ssl_old

  2. Reinstall CA certificates:

    Code:
    # apt-get install --reinstall openssl ca-certificates

  3. Verify that certificate can be obtained without any errors:

    Code:
    # python2 -c 'import urllib2 ; print urllib2.urlopen("https://packages.grafana.com/gpg.key").read()'
    -----BEGIN PGP PUBLIC KEY BLOCK-----
    Version: GnuPG v1
    mQENBFiHXVIBCADr3VDEAGpq9Sg/xrPVu1GGqWGXdbnTbbNKeveCtFHZz7/GSATW
    iwiY1skvlAOBiIKCqJEji0rZZgd8WxuhdfugiCBk1hDTMWCpjI0P+YymV77jHjYB
    jHrKNlhb+aLjEd9Gf2EtbKUT1fvGUkzlVrcRGSX/XR9MBZlgja7NIyuVbn3uwZQ4

  4. Reinstall Grafana extension:

    Code:
    # plesk bin extension --install grafana

  5. Verify Grafana package was installed successfully:

    Code:
    # dpkg --list | grep grafana
    ii grafana 6.3.6 amd64 Grafana

  6. Log in to Plesk GUI

  7. Go toAdvanced Monitoring

    In case the following error message is shown, click on Fix installation:

    The grafana-simple-json-datasource plugin is not installed.
Should the issue persist after applying the steps above, reinstall the Grafana extension:

Code:
# plesk bin extension --uninstall grafana
# plesk bin extension --install grafana
 
Back
Top