#rest collector
1 messages · Page 1 of 1 (latest)
I figured out the first issue but now I see “api/network “ not authorized errors
@glacial shale Could you please verify that the role has the relevant permissions as mentioned in the following link: https://netapp.github.io/harvest/23.05/prepare-cdot-clusters/#least-privilege-approach?
Alternatively, it could be a possible issue that another customer faced in the past, which can be found here: #1044927281358966784 message.
We would like to grant read-only permission for /api to the role, as shown in the attached screenshot from the System Manager.
I updated the role and don’t get access errors anymore but the dashboard for the rest cluster are blank no data
hey @glacial shale can you email us the log files for the poller that's using REST so we can take a look ng-harvest-files@netapp.com. What version of Harvest are you using?
I have sent the file thanks
Thanks @glacial shale We have received the file. Could you please specify which dashboard is missing the data? Also, have you checked if the metrics used in the dashboards are available in Prometheus?
The cluster dashboard all panels have. “ no data” except for the average aggr space used” that one does have data
@glacial shale Thank you for the information. Based on the logs, it appears that you are currently only running the Rest Collector. The other panels in the cluster dashboard display performance data. To view the same information, you will need to enable the RestPerf Collector in the harvest.yml configuration file.
Ah ok I will give that a try thanks
Hey Team, I have a customer wondering how hard it would be to get the following NetApp cli commands put into the collector:
"statistics show-periodic -interval 1 -iterations 1 -summary true -object process -instance secd -counter total_stat_period"
"statistics show-periodic -interval 1 -iterations 1 -summary true -object process -instance mgwd -counter total_stat_period"
"statistics show-periodic -interval 1 -iterations 1 -summary true -object process -instance vldb -counter total_stat_period"
"statistics show-periodic -interval 1 -iterations 1 -summary true -object process -instance cifsKsmfUpCallThreadMain -counter total_stat_period"
hi @tired snow Harvest can collect those, but it wouldn't use CLI statistics cmds to do it. CLI statistics commands are exposed via the ZapiPerf and RestPerf Harvest templates. I'll paste a template in the discussion you opened on GitHub