- 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.
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
How to monitor several Plesk servers with Grafana extension - Support Cases from Plesk Knowledge Base
How to monitor several Plesk servers with Grafana extension - Support Cases - Plesk Knowledge Base
www.plesk.com
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.