#Hello guys I m currently looking at the

1 messages · Page 1 of 1 (latest)

sharp vortex
quick nimbus
#

Hmm ok @sharp vortex, how would I then enable the rest collector on NAbox? I don't seem to get it working

#

I'm trying to get the nfs clients dashboard working

sharp vortex
quick nimbus
#

Ah yes, they worked. Thanks!!

sturdy needle
#

@sharp vortex Hi Chris, some of my ONTAP version are 9.7, 9.8 and 9.10. In order to get nfs-client metrics, I added HTTP for user harvest-harvest2 in ONTAP with certificate authentication but harvest log shows "User is not authorized." after harvest is restarted. Does HTTP for REST only supports password authentication?

slim breach
#

@sturdy needle Your error is related to authorization. Could you check if you have certificate authentication enabled for this user application http? I have attached screenshot from both system manager and cli.

sturdy needle
#

@slim breach Hi Rahul, I have certificate authentication enabled for the user application HTTP. But error “User is not authorized.” in harvest log.

#

@slim breach For Zapi and ZapiPerf, it’s working fine.

slim breach
#

@sturdy needle Could you verify api level permissions for this role? Attached screenshot.

sturdy needle
#

@slim breach Hi Rahul, same permission setting for harvest2-role and ONTAP version is 9.10.1.

slim breach
#

okay. How about this command vserver services web access show -role harvest2-role

#

I am able to recreate this error after deleting web access rest from this role

#

Let's try to create rest access point using below command and it should work then
vserver services web access create -vserver umeng-aff300-01-02 -name rest -role harvest2-role

sturdy needle
#

@slim breach Hi Rahul, thanks for your prompt response. I tried to create web access REST and it works now.👍🏻

slim breach
#

awesome! We'll also add these steps in our docs

steel gate
slim breach
#

@steel gate What is the harvest version? When you say that you cann't see nfs client dashboard, Does it mean an empty dashboard or dashboard doesn't exist in grafana?

steel gate
#

hello rahul, dashboard exits, but i have no data.

slim breach
#

okay. Could you share harvest logs once you have restarted the pollers after making changes in custom.yaml

#

Also is it the first time, you are trying Rest collector? I want to rule out any permission issues. We'll get to know that from logs.

steel gate
slim breach
#

ok i see the same problem as faced by @sturdy needle in your logs
nabox-harvest2 | 2022-11-29T08:19:46Z WRN ./poller.go:684 > init collector-object error="6691623: User is not authorized." Poller=dcfast1 collector=Rest object=NFSClients