#Enable Top Clients/Files Metrics in Harvest

1 messages · Page 1 of 1 (latest)

vast river
#

I am using Nabox4 with Harvest 25.11, and the ONTAP version is 9.16.1P4
I followed this document to enable this feature
https://github.com/NetApp/harvest/discussions/3904

And I tried with some input, as viewing from system manager, we do have top clients info as image show.
This is a flexvol.
But from grafana, I cannot see the dashboard, and the metrics is not collecting.

GitHub

Note: Kindly ensure that Activity tracking is enabled on the Volumes as outlined in this document https://docs.netapp.com/us-en/ontap-cli/volume-activity-tracking-on.html for ONTAP. Top Clients col...

real tinsel
#

@vast river Is this traffic continuous? Could you pls check this volume's write traffic, as at times, if the traffic is momentary, the API used to collect top clients may not return anything.
You can also try hitting API to see if it returns data. Replace volume uuid as applicable.

api/storage/volumes/{uuid}/top-metrics/clients?top_metric=iops.write
vast river
real tinsel
#

Ok. Please check if you are getting data in API

api/storage/volumes/{uuid}/top-metrics/clients?top_metric=iops.write
vast river
#

Yes, API is receiving data
{
"records": [
{
"volume": {
"name": "fsa_test"
},
"iops": {
"write": 692,
"error": {
"lower_bound": 692,
"upper_bound": 692
}
},
"client_ip": "192.168.1.164",
"svm": {
"uuid": "100dbabe-19ae-11ef-a997-d039eaaa1b28",
"name": "infra",
"_links": {
"self": {
"href": "/api/svm/svms/100dbabe-19ae-11ef-a997-d039eaaa1b28"
}
}
}
}
],
"num_records": 1,
"_links": {
"self": {
"href": "/api/storage/volumes/542be273-4407-11ef-8768-d039eaaa1b28/top-metrics/clients?top_metric=iops.write"
}
}
}
But no data are showing in harvest

real tinsel
vast river
#

Uploaded

real tinsel
#

Could you remove custom.yaml present in NABox in/etc/nabox/harvest/user/restperf and restart harvest service?

vast river
#

@real tinsel Working now! Thanks