Software Development Kit (SDK) and API Discussions

OnCommand Api Services errno 3003 MetricService

acjackson
I'm trying to get any metrics of a cluster component, eg:
 
e.g. 
https://:8443/api/1.0/ontap/aggregates/metrics
 
But I always get the following error:
 
Response Code: 404
 
 
<apiServerResponse>
   <status>
      <code>FAILED</code>
      <error>
      <errno>3003</errno>
      <message>
         Management service instance not found for the specified request.
      </message>
      <reason>
         Unable to find a management-service instance for the 'MetricService'. Please check if the management-service instances have discovered the resource or if management-service instances are added in API Services.
      </reason>
      </error>
   </status>
</apiServerResponse>
I can access the monitoring and event rest apis, but not the metrics rest api calls.
 
 
OCUM: 6.4RC1
OPM: 2.1.0RC1 in Full Integration Mode
OCAPI: 1.1
 
OCAPI Settings:
Access to Unified Manager Database with Database User/Integration Schema
API access to Unified Manager Server with Local User/OnCommand Administrator
 
 
Any ideas?
 
2 REPLIES 2

rohancmr
You can get the cluster performance matrices by connecting to the OPM Mysql DB directly using the database user.

pukale

pl. check the "connection" status with OPM. This can be checked in API1.1 UI:

 

below is example:

https://<IP Address>:8443/api-admin/#/management-services

 

check "Access to OnCommand Performance Manager Database" is fine. If not , resolve it and check for metrics.

 

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public