• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Issue Plesk instructions for Grafana monitoring dashboard are outdated

webdevv

New Pleskian
Server operating system version
AlmaLinux
Plesk version and microupdate number
last
We use a Grafana dashboard to monitor CPU from 10 servers. Everything worked perfectly with the old SimpleJSON data source plugin. But SimpleJSON was recently deprecated and Grafana suggests to use Infinity plugin instead

However, Plesk data source doesn't work with the new Infinity plugin and Grafana returns this error:
“error while performing the infinity query. unable to parse response body as JSON. unexpected end of JSON input”

This is the guide I followed to build the dashboard, but it’s outdated and still says to use the old Simple JSON data source

If I understand correctly, Plesk monitoring endpoint is in RRD format (Round Robin Database API endpoint), because the command to get the token is “SELECT value FROM params WHERE name = ‘rrd_api_auth_token’”

After following the guide, I get a URL like this:

If I open this URL in my browser, it’s a blank page without any JSON. It was working with the SimpleJSON data plugin, but it seems like Infinity is expecting a raw JSON on this URL and I don’t know how to get this from the remote Plesk server.

Any help would be much appreciated.
 
The instructions in the article are for setting up a data source when the Simple JSON plugin is installed. According to what I have come across, the Infinity plugin does not have a URL field to set up and it is best to follow the official Grafana documentation to connect to remote Plesk-based Grafana at port 3030 using Infinity plugin: Technical documentation | Grafana Labs
 
I don't think there's a dedicated guide on how to configure it with Plesk in particular. The scenario of remote Grafana support was not officially declared by Plesk, so it might be best to consult with your sysadmin.
 
Back
Top