HUB
Sign inSign up

sepa/netapp-grafana-proxy

By sepa

•Updated over 8 years ago

NetApp StorageGRID Webscale Prometheus proxy for Grafana

Image
0

3.0K

sepa/netapp-grafana-proxy repository overview

⁠NetApp StorageGRID Webscale proxy for Grafana

Per official netapp API docs⁠ Prometheus metrics are exposed:

metrics – Operations on StorageGRID Webscale metrics including instant metric queries at a single point in time and range metric queries over a range of time.

Note: The Grid Management API uses the Prometheus systems monitoring tool as the backend data source. For information about constructing Prometheus queries, see the Prometheus web site.

But this endpoint is incompatible for direct use by Grafana, because of Token requirements and renamed URI locations.

This proxy fixes incompatibilities and allows to have Grafana dashboards for data inside StorageGRID.

⁠Quick start

You can use proxy.py directly, or there is docker-compose example with grafana provided for quick check.

First, create User on NetApp with Metric Query access rights:

Then create secret file with his creds and endpoint URI, and save it as napp.json:

{"username": "zabbix", "password": "pass", "endpoint": "https://napp.local"}

Start proxy and grafana:

docker-compose up

Proxy will check access on start, and die with detailed message in case of any issues. In case everything is up - grafana should be available on your http://localhost⁠

Login with admin/admin and set the datasource to proxy container:

Then you should see NetApp items:

⁠Use in docker

Image is available on docker hub as: sepa/netapp-grafana-proxy
You can set these environment variables to override defaults:

environment:
  PORT: '8080'
  SECRET: /run/secrets/napp.json
Tag summary
Recent tags
Content type
Image
Digest
Size
257.8 MB
Last updated
over 8 years ago
docker pull sepa/netapp-grafana-proxy:latest