Hi Chris and Rahul - I have just installed 24.08.0 as a new system. One thing that I noticed was the option to include user and group quota reporting ( along with the tree reporting ) is missing in the new code. I added the section of code from an older release and that hasn't worked either. Has the user and group quota reporting changed in the way it should work ?
#User and group quota reporting
1 messages · Page 1 of 1 (latest)
hi @frigid onyx there were some changes in this area. Few questions: 1) which collector are you using Zapi or Rest? 2) are you using a custom template or the out-of-the-box one? 3) can you share log files with us so we can check for problems? https://netapp.github.io/harvest/nightly/help/log-collection/
Hi Chris, Rest , with out-of-the-box template . Will email the log files shortly
one of the changes was to split the quota and qtree templates (they should have been that way originally). The qutoa template is new, enabled by default, and includes the tree/user/group filters. https://github.com/NetApp/harvest/blob/f95fef196131397864a86dc84fd3ac85ceec35dc/conf/rest/9.12.0/quota.yaml#L28
Tree is enabled by default, user and/or group can be enabled by changing line 28. For example to collect quotas of type tree and user you would use - type=tree|user
that makes sense Chris. I have reverted the qtree.yaml and have modified the quota.yaml as explained in the above doc. Infact, I have only enabled the user quota so that we get a clarity on the result - but it hasn't worked yet and the quota dashboard still shows the quota on the gtrees - rather than the users or the groups.
I also ensured that I imported the latest quota.yaml dashboard from the git. I am sending you the logs in an email and can slo send the screenshot of the yaml file if you would like to see
thanks, received
these logs weren't much useful to me but i would wait for you to have a look at them
Mostly agree, the collector is running fine, collecting and exporting metrics
2024-08-15T16:20:37Z INF collector/collector.go:595 > Collected Poller=poller-1 apiMs=68 bytesRx=634 calcMs=0 collector=Rest:Quota exportMs=0 instances=1 instancesExported=11 metrics=9 metricsExported=11 numCalls=1 parseMs=0 pluginInstances=0 pluginMs=0 pollMs=68 zBegin=1723738837925
Can you share your template? Also what if you query Harvest's /metric endpoint directly. Perhaps the dashboard has not updated yet.
Something like this: replace $ip with your poller's promPort
curl -s 'http://localhost:$ip/metrics' | sort | grep -Ev '^#|metadata' | grep -E '^quota_'