Network Change & Configuration Management

Reply
Accepted Solution

URL to get to DeviceViewer only having DeviceName and/or DeviceIPDotted

JS
Techie
Posts: 8
1995     0

Trying to cross-launch into NetMRI but I only have the DeviceName/DeviceIPDotted. 

 

I tried crafting the URL but I always get a "301 Missing Parameter. The Device ID Parameter Is Required."

 

The app we are launching from does have the ability to store custom fields but I would rather not have to sync DeviceID outside of NetMRI if possible. 

 

Any suggestions to have a URL go directly to the DeviceViewer from only having DeviceName and/or DeviceIPDotted?

 

Appreciate the help.

Re: URL to get to DeviceViewer only having DeviceName and/or DeviceIPDotted

Adviser
Posts: 414
1996     0

Can you post what you tried?

Follow me on LinkedIn: https://www.linkedin.com/in/sifbaksh
Twitter: https://twitter.com/sifbaksh

Re: URL to get to DeviceViewer only having DeviceName and/or DeviceIPDotted

JS
Techie
Posts: 8
1996     0

https://NETMRIHOST/netmri/results/DeviceViewer/index.tdf?DeviceName=HOST

 

https://NETMRIHOST/netmri/results/DeviceViewer/index.tdf?DeviceIPDotted=IPADDRESS

 

Both came back with a 301 Missing Parameter missing DeviceID. I get that is the key for each device because it is not a good idea to use hostname or IP address but it would be nice to get to the device viewer directly by one of those attributes.

 

Appreciate the help Sif.

Re: URL to get to DeviceViewer only having DeviceName and/or DeviceIPDotted

skuchynski
Techie
Posts: 18
1996     0

Indeed, DeviceID is a required parameter to display this page. DeviceViewer is not part of the API and normally used only internally, so alternative option is not available here. If you would like to use Device Viewer page, you'll need to look up DeviceID by name or IP address using API first.

Re: URL to get to DeviceViewer only having DeviceName and/or DeviceIPDotted

JS
Techie
Posts: 8
1996     0

I think I will just create a middleware piece to do the lookup for me by name or IP and then redirect to the appropriate NetMRI URL. It is the best solution for now because syncing DeviceID from NetMRI into the other product is not as real-time as I want it.

 

Thank you!

 

Showing results for 
Search instead for 
Do you mean 

Recommended for You