#StorageGrid support in NAbox
1 messages · Page 1 of 1 (latest)
It’s on the todo !
@gritty oak in the meantime, we can walk you through the steps to add it manually if you don't want to wait
ETA? weeks? months? I imagine that your todo list is likely longer than the time you have to work on it.
Yeh would like to see this too
Gladly if you can tell me the manual procedure in the meantime.
@chrome hornet do you already have documented how to edit nabox's harvest.yml?
I’m afraid not. Manuel changes might work but there is a good chance it’ll break either during reading or writing. I’ll do some research.
thanks! would be a nice stopgap while there is a gap between Nabox and Harvest
Yes I’ll make something for next release
All right, so 3.3b1 should behave much better regarding "foreign" entries in harvest.yaml. You should be able to put your StorageGrid and it'll even show in the UI
GA will have full UI implementation
@gritty oak with @chrome hornet 's changes mentioned above. You can add a StorageGRID poller by editing your harvest.yml file on nabox. Do that by sshing into your nabox instance and editing /opt/harvest2-conf/harvest.yml Add a new poller as mentioned here https://netapp.github.io/harvest/22.11/configure-storagegrid/ and make sure the storagegrid user has the appropriate permissions as mentioned here https://netapp.github.io/harvest/22.11/prepare-storagegrid-clusters/ Here's an example poller definition:
sg-tmp:
datacenter: rtp
addr: 10.1.1.1
use_insecure_tls: true
username: user
password: pass
collectors:
- StorageGrid
exporters:
- prometheus1
one comment, you must add prometheus_port also, make sure you use one that is not used in another definition. You might have to allow unsecure TLS
does nabox do something with prometheus_port ? I'm asking because Harvest does not
the port is handled by the exporter (in the example above, prometheus1 defines the exporter, port, etc.) And yes, use_insecure_tls: true may be required
That's a good point. How it works currently is NAbox reads harvest.yaml and extracts prometheus_port to add it in the arguments when launching poller process