# How to get serverinfo metrics in Grafana

**URL:** <https://help.nextcloud.com/t/how-to-get-serverinfo-metrics-in-grafana/64966>\
**Category:** ℹ️ Support\
**Tags:** feature\
**Created:** [November 25, 2019, 1:21pm UTC](https://help.nextcloud.com/t/how-to-get-serverinfo-metrics-in-grafana/64966 "2019-11-25T13:21:22Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![eagleenergy](https://help.nextcloud.com/letter_avatar/eagleenergy/32/5_5575768a8748004e209b776fc1b2916d.png) [@eagleenergy](https://help.nextcloud.com/u/eagleenergy)\
**Post date:** [November 25, 2019, 1:21pm UTC](https://help.nextcloud.com/t/how-to-get-serverinfo-metrics-in-grafana/64966/1 "2019-11-25T13:21:22Z")

</div>

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.](https://github.com/xperimental/nextcloud-exporter)  
But I had some scraping errors and there is no whole datas available.

Anybody know how to collect serverinfo data to Grafana ?

---

<div class="post-metadata">

**Author:** ![j-ed](https://help.nextcloud.com/user_avatar/help.nextcloud.com/j-ed/32/7281_2.png) [@j-ed](https://help.nextcloud.com/u/j-ed)\
**Post date:** [November 26, 2019, 11:53am UTC](https://help.nextcloud.com/t/how-to-get-serverinfo-metrics-in-grafana/64966/2 "2019-11-26T11:53:19Z")

</div>

You can access server statistics using the API link, which you find at the bottom of the Systems details:

```auto
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

```

---

<div class="post-metadata">

**Author:** ![eagleenergy](https://help.nextcloud.com/letter_avatar/eagleenergy/32/5_5575768a8748004e209b776fc1b2916d.png) [@eagleenergy](https://help.nextcloud.com/u/eagleenergy)\
**Post date:** [November 26, 2019, 2:22pm UTC](https://help.nextcloud.com/t/how-to-get-serverinfo-metrics-in-grafana/64966/3 "2019-11-26T14:22:44Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Miam](https://help.nextcloud.com/user_avatar/help.nextcloud.com/miam/32/15786_2.png) [@Miam](https://help.nextcloud.com/u/Miam)\
**Post date:** [December 11, 2019, 6:08am UTC](https://help.nextcloud.com/t/how-to-get-serverinfo-metrics-in-grafana/64966/4 "2019-12-11T06:08:23Z")

</div>

Hello eagleenergy!  
Same probleme for me, Error during scrape.  
Did you find a solution?  
thanks!

---

<div class="post-metadata">

**Author:** ![unico](https://help.nextcloud.com/letter_avatar/unico/32/5_5575768a8748004e209b776fc1b2916d.png) [@unico](https://help.nextcloud.com/u/unico)\
**Post date:** [October 28, 2020, 12:36pm UTC](https://help.nextcloud.com/t/how-to-get-serverinfo-metrics-in-grafana/64966/5 "2020-10-28T12:36:48Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![j-ed](https://help.nextcloud.com/user_avatar/help.nextcloud.com/j-ed/32/7281_2.png) [@j-ed](https://help.nextcloud.com/u/j-ed)\
**Post date:** [October 28, 2020, 12:50pm UTC](https://help.nextcloud.com/t/how-to-get-serverinfo-metrics-in-grafana/64966/6 "2020-10-28T12:50:35Z")

</div>

Open the link to the app repository on GitHub and read the documentation in the README.md file.

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 4, 2024, 10:46am UTC](https://help.nextcloud.com/t/how-to-get-serverinfo-metrics-in-grafana/64966/10 "2024-12-04T10:46:56Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 11, 2024, 4:02pm UTC](https://help.nextcloud.com/t/how-to-get-serverinfo-metrics-in-grafana/64966/11 "2024-12-11T16:02:32Z")

</div>


