Hello,
i would like to try to import the data from the Server Health Monitor into my own Grafana, but I can not really find where the data is getting stored. What I know by researching the extension:
It saves stuff in /usr/local/psa/var/health/data/localhost/ - but in a RRD database. I tried to dump the content with:
sw-rrdtool dump percent-idle.rrd > percent-idle.txt but I only get informations that look like this:
<!-- 2019-10-20 17:30:00 CEST / 1571585400 --> <row><v>9.9581750326e+01</v></row>
<!-- 2019-10-21 00:45:00 CEST / 1571611500 --> <row><v>9.9602194488e+01</v></row>
<!-- 2019-10-21 08:00:00 CEST / 1571637600 --> <row><v>9.9591826748e+01</v></row>
Which isn't actually really useful, somehow the Server Health Monitor has newer data in their graphics.
I know that I could use Plesk Obsidian and get a Grafana built-in, but I really want to have the data in a external Grafana, so I have to get the data somewhere. Does anyone know where the data is getting stored? Thank you for an answer.
i would like to try to import the data from the Server Health Monitor into my own Grafana, but I can not really find where the data is getting stored. What I know by researching the extension:
It saves stuff in /usr/local/psa/var/health/data/localhost/ - but in a RRD database. I tried to dump the content with:
sw-rrdtool dump percent-idle.rrd > percent-idle.txt but I only get informations that look like this:
<!-- 2019-10-20 17:30:00 CEST / 1571585400 --> <row><v>9.9581750326e+01</v></row>
<!-- 2019-10-21 00:45:00 CEST / 1571611500 --> <row><v>9.9602194488e+01</v></row>
<!-- 2019-10-21 08:00:00 CEST / 1571637600 --> <row><v>9.9591826748e+01</v></row>
Which isn't actually really useful, somehow the Server Health Monitor has newer data in their graphics.
I know that I could use Plesk Obsidian and get a Grafana built-in, but I really want to have the data in a external Grafana, so I have to get the data somewhere. Does anyone know where the data is getting stored? Thank you for an answer.