How to add a device to use REST API support?

A device with REST API support can be added by following the steps given below:

  • Go to Inventory > Devices.
  • Click on add icon on top right corner.
  • Enter the host name or IP Address of the device.
  • Select a device Vendor.
  • Select the appropriate device template for the device.
  • Add Series, Model and Custom Column information (optional).
  • Click on the "Add" button.

Once the device is added, we need to provide credentials on the next slide. We can either provide just REST Credentials or a combination of CLI and REST Credentials. NCM recommends to use the combination of CLI and REST credentials to make the most out of the tool. Please follow the steps given below to associate the credentials to the device:

  • To use just the REST credentials, please select REST API from protocol dropdown. (Note: This option is available only for selected device templates). To use the combination of REST and CLI credentials, please select any other protocol.
  • For CLI credentials please provide credentials under Primary and Additional tab. (These tabs will not be available if the REST API protocol is selected in the first step).
  • To provide REST credentials please open the REST API tab.
  • When a CLI protocol is chosen, we need to first check the option to use REST API credentials under this tab to see the rest of the parameters. Please check the "Use rest API for communication whenever applicable" checkbox.
  • Select the protocol that needs to be used to connect to the device (http / https ).
  • Enter values for the rest of the required parameters. (These parameters will be different for each device template. Few fields will be populated with default values which can be changed according to device requirement).
  • Click on the "Save" button.

Note :

  • As of now the "Save and Test" option does not work for REST credentials.
  • REST API is supported only for selected vendors for now, however we are continuously trying to support more vendors.
  • In case of any queries, please reach out to NCM support team at ncm-support@manageengine.com