Hello here!
Today I have discovered my serverinfo page by searching about metrics for my plateform.
There is nice data inside but I don’t know how to collect this XML or JSON format.
I use Grafana and prometheus for the major part of my infrastructure.
Of course, I found it: GitHub - xperimental/nextcloud-exporter: Prometheus exporter for Nextcloud servers.
But I had some scraping errors and there is no whole datas available.
Anybody know how to collect serverinfo data to Grafana ?
1 Like
j-ed
November 26, 2019, 11:53am
2
You can access server statistics using the API link, which you find at the bottom of the Systems details:
https://<fqdn-of-server>/ocs/v2.php/apps/serverinfo/api/v1/info
or
https://<fqdn-of-server>/ocs/v2.php/apps/serverinfo/api/v1/info?format=json
Hi @j-ed thanks for answer.
I know this two link but I don’t want to check this link manually.
My aim is to setup a graph on grafana and configure alerting from alertmanager for example.
Miam
December 11, 2019, 6:08am
4
Hello eagleenergy!
Same probleme for me, Error during scrape.
Did you find a solution?
thanks!
unico
October 28, 2020, 12:36pm
5
Someone have manual how to install nextcloud-exporter-0.3.0-amd64 step by step? I did no find information about this in internet O_0
j-ed
October 28, 2020, 12:50pm
6
Open the link to the app repository on GitHub and read the documentation in the README.md file.
1 Like