I have a list of IPs that I need the models in NetMRI

d79danny
edited April 23 in Automation

I have a excel spread sheet with a list of IPs of devices that I need the models. The devices are already in NetMRI. Is there a way I can import the list of IPs and get their model #s? Im trying not to search them on by one.

Thanks

Answers

  • To avoid searching IPs one by one, you can automate the retrieval of device model numbers from NetMRI using its API. Here's how:

    1. Export IPs from Excel: Save your list of IP addresses from Excel into a CSV or JSON format.
    2. Query NetMRI API: Use the NetMRI API to fetch device details by IP address. Specifically, the GET /devices endpoint allows you to retrieve information about devices, including their model numbers, by providing the management IP address.
    3. Process the Data: Parse the API response to extract the model numbers and associate them with the corresponding IP addresses.

    For detailed information on the available API endpoints and their usage, refer to the official NetMRI API documentation: https://docs.infoblox.com/space/APIDeveloperGuide/43025615/Introduction

    There are some useful examples that can be found at: https://github.com/infobloxopen/infoblox-netmri/tree/master