General Discussion

What is the ONTAPI for "statistics" in cluster mode NetApp?

Anshul
2,415 Views

What is the ONTAPI for "statistics" in cluster mode NetApp?

I am unable to find the ONTAPI for "statistics" in NetApp Managebility SDK v. 9.5.

Anybody please help us to identify the ONTAPI to collect statistics.

 

Following command is available but ONTAPI is missing:

D1-FAS2554::> statistics vserver show -vserver MySVM

 

D1-FAS2554 : 11/11/2019 16:25:30

 

          *Total Read Write Other  Read Write Latency

  Vserver    Ops  Ops   Ops   Ops (Bps) (Bps)    (us)

--------- ------ ---- ----- ----- ----- ----- -------

MySVM      0    0     0     0     0     0       0

1 ACCEPTED SOLUTION

Ontapforrum
2,259 Views

Hi,

 

I don't think there is an API that starts with name 'statistics'.  For performance matrics using cDOT API, you will need to use combination of APIs, there is not a single straightforward API.  In order to pull statistics using the cDOT APIs then you will need to you use the combination of APIs:

 

Perf: (Under zexplore)
perf-object-start
perf-object-list-info
perf-object-get-instances
perf-object-get-counter

 

Similar APIs are also available under NetApp PowerShell took_kit as:

Get-NcPerfData
Get-NcPerfInstance
Get-NcPerfObject
Get-NcPerfCounter

 

You can even use 'Invoke-NcSysstat' for performance statistics using correct object & instance.

 

If you are looking for similar statistics using PowerShell, then please take a look at the following blog:

 

Andrew Sullivan has done extensive work on PowerShell with cDOT:

 

cDOT Performance Monitoring Using PowerShell:
https://practical-admin.com/blog/cdot-performance-monitoring-using-powershell/

 

Thanks!

 

View solution in original post

2 REPLIES 2

Ontapforrum
2,260 Views

Hi,

 

I don't think there is an API that starts with name 'statistics'.  For performance matrics using cDOT API, you will need to use combination of APIs, there is not a single straightforward API.  In order to pull statistics using the cDOT APIs then you will need to you use the combination of APIs:

 

Perf: (Under zexplore)
perf-object-start
perf-object-list-info
perf-object-get-instances
perf-object-get-counter

 

Similar APIs are also available under NetApp PowerShell took_kit as:

Get-NcPerfData
Get-NcPerfInstance
Get-NcPerfObject
Get-NcPerfCounter

 

You can even use 'Invoke-NcSysstat' for performance statistics using correct object & instance.

 

If you are looking for similar statistics using PowerShell, then please take a look at the following blog:

 

Andrew Sullivan has done extensive work on PowerShell with cDOT:

 

cDOT Performance Monitoring Using PowerShell:
https://practical-admin.com/blog/cdot-performance-monitoring-using-powershell/

 

Thanks!

 

Anshul
2,147 Views

Thank you very much, your findings/comments helps us to resolve our issues.

Public