• 0
Mosh

How to construct device tree URL?

Question

Hi,

I want to link directly to a device in LogicMonitor from the CI page in our ServiceNow platform.  I can use the API to get the device ID, but how I do construct the URL that we typically see when using the LogicMonitor UI?  For example:

https://account.logicmonitor.com/santaba/uiv3/device/index.jsp#tree/eyJ0IjoiZGciLCJpZCI6MjU0LCJlIjpbXSwicyI6IjI1NGczMjJkIn0%3D

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 1

Hi Mosh,

The URL you've listed is one you'd see when browsing the device tree, but if you "focus" on a particular device, you'll see the url change to something like this: https://account.logicmonitor.com/santaba/uiv3/device/index.jsp?rnd=1#tree/-132-d-3119, where the first id is the group id and the second id is the device id.  Though note that this does require an active session. 

Thanks,

Sarah

Share this post


Link to post
Share on other sites
  • 0

@Sarah Terry Thanks!  Just what I needed.  My users are always having to copy and paste device names into the search, so I wanted to make a Chrome Extension that the user can select device name text, right click and jump to the device in LM.

Edited by Mosh

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.