Data Infrastructure Management Software Discussions

NetApp Harvest showing metric of old SVM name

After rename the SVM, the grafana is still showing metrics under old SVM name. I have restarted harvest, also removed the metrics under old svm name, but grafana will keep create metrics under the old svm name,

5 REPLIES 5

Re: NetApp Harvest showing metric of old SVM name

You've removed the underlying files in the graphite/whisper path?


If you have purging of old data setup, this should clean up itself over time.  Check out page 22 (7.4 Purging inactive metrics from Graphite [optional]) of the NetApp Harvest Installation and Addministration Guide.

Re: NetApp Harvest showing metric of old SVM name

Yes, I did remove the old folders, but it is keep creating with the old svm name. Some metrics are generated under the new svm name, but the volumes metrics are generated under the old svm name.

Re: NetApp Harvest showing metric of old SVM name

Harvest updates its instances cache every hour, so after an hour (or restart), metrics should be sent to Graphite with the new SVM name. It is possible that the counter manager of the ONTAP system has some delay in updating the SVM name (though I tested this in my lab, and the new name appears almost immediately).

 

You can use the perf-counter-util tool that come to Harvest to see if the SVM names are updated (this tool communicates to Ontap's counter manager with the same protocol as Harvest does, so the data you see is the same Harvest receives).

 

If you are in the Harvest root directory (/opt/netapp-harvest/) you can run this command to get a list of SVMs in your ONTAP system:

./util/perf-counters-utility -host HOSTNAME -user USERNAME -pass PASSWORD -in -f volume:vserver

(replace HOSTNAME, USERNAME and PASSWORD accordingly.)

 

Re: NetApp Harvest showing metric of old SVM name

Thanks for the information, I tried the perf-counters-utility command, it returns the old svm name. Looks like the count manager on filer has gave wrong information. Just wondering is there way to update that information on filer? BTW, I am running ONTAP 9.5 for the filer.

Re: NetApp Harvest showing metric of old SVM name

It depends why exactly this has happened. Might be because the SVM has a peer relationship with another SVM (take a look here).

 

Other than that, this falls out my expertise, I would suggest to open a new post as an ONTAP-issue. I would also add details on how you renamed the SVM (GUI or CLI).

Forums