Nutanix API configuration

Adding the SNMP community in Prism Element

  1. Log in to Prism Element and open the Settings menu:
Settings menu for configuring the Nutanix API
  1. Then, under Network, open the SNMP page:
Adding the SNMP community in Prism Element – Shwett
  1. In the main part of the page, choose the Users tab, then click New User:
Adding the SNMP community in Prism Element – Shwett
  1. Enter the UserName and the 2 keys, then click Save:
Adding the SNMP community in Prism Element – Shwett

Adding the SNMP community in the extranet

  1. Log in to the Shwett extranet: https://extranet.shwett.com and go to the SNMP / API page:
Configuring an SNMP community in the Shwett extranet
  1. Then click the SNMP button in the middle of the page:
Button for adding an SNMP community in the Shwett extranet
  1. In the pop-up, choose SNMP version 3, then fill in the fields with the user name entered in Prism Element and the keys:
Adding the SNMP community in the extranet – Shwett
  1. Click SEND to finish

Creating the user account in Prism Element

  1. Log in to Prism Element and open the Settings menu:
Settings in the Prism Element menu for API connection
  1. Then, under Users and Roles, open the Local User Management page
Local user management for Nutanix API configuration
  1. Click the New User button:
Creating the user account in Prism Element – Shwett
  1. Fill in the requested information: user name, last name, first name, email and password:
User name and password for Nutanix API configuration
  1. Confirm by clicking Save.

Adding the Nutanix API in the extranet

  1. Log in to the Shwett extranet: https://extranet.shwett.com and go to the SNMP / API page:
Configuring an SNMP community in the Shwett extranet
  1. Then click the API button in the middle of the page:
Adding the Nutanix API in the extranet – Shwett
  1. In the pop-up that opens, choose Nutanix then Prism Element:
Choosing Nutanix for the Shwett API configuration
Choosing Prism Element for the API configuration
  1. Then enter the Prism Element IP address, its port and the credentials of the user created earlier:
Entering the IP address for Nutanix API configuration
  1. Finish by clicking Send

All steps are now complete: SHWETT can query the Nutanix API and retrieve hypervisors, vSwitches and VMs.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *