# Proxmox Monitoring Influxhdb2 and Grafana

Add new metric server on proxmox, generate token from InfluxDB, make sure you get read/write access token API.

Make sure bucket and name patch, we are using organization htf and http port 8086

![image.png](https://wiki.tinod.net/uploads/images/gallery/2024-05/scaled-1680-/p35Fp9S8UeBiZt3R-image.png)

![image.png](https://wiki.tinod.net/uploads/images/gallery/2024-05/scaled-1680-/SrUphLXvyj8yuJfu-image.png)

Create new API this time for grafana and give all read access to all buckets

![image.png](https://wiki.tinod.net/uploads/images/gallery/2024-05/scaled-1680-/gf6yV8k6qj0SGqUn-image.png)

On grafana we will add a new source where URL IP is our Influxdb

![image.png](https://wiki.tinod.net/uploads/images/gallery/2024-05/scaled-1680-/T5APbGSJjD0DNMYv-image.png)

![image.png](https://wiki.tinod.net/uploads/images/gallery/2024-05/scaled-1680-/uURFiLtaymbQq1DY-image.png)

Save and test should work next we will add a new dashboard, we are using [https://grafana.com/grafana/dashboards/17051-proxmox/?tab=revisions](https://grafana.com/grafana/dashboards/17051-proxmox/?tab=revisions) for our dashboard, copy code and import to grafana

![image.png](https://wiki.tinod.net/uploads/images/gallery/2024-05/scaled-1680-/kjeGrlWuzu7SQt9o-image.png)

Select DB (Influxdb) give it a name and import

![image.png](https://wiki.tinod.net/uploads/images/gallery/2024-05/scaled-1680-/cljkMRiu3azeh7XJ-image.png)

![image.png](https://wiki.tinod.net/uploads/images/gallery/2024-05/scaled-1680-/VZ7pqgNr22ak4jfB-image.png)

you can use the following command on Proxmox to view influxdb errors

<p class="callout info">journalctl -a | grep influxdb </p>

Also if no data is being sent make sure pvestatd is running on proxmox

![image.png](https://wiki.tinod.net/uploads/images/gallery/2024-05/scaled-1680-/8zeMe0rus14d2Ffg-image.png)