Sign in to follow this  
Haniz

Dashboard Sharing – An Inline Framing Method

Recommended Posts

Often times we receive LM Administrators and Users requesting for a method to share dashboards with a target internal or external audience. ‘Share’ in the LM Vocabulary may take on two meanings:

I. Sharing Dashboards

II. For the sake of article – Dashboard Shares

These terms might not be as conspicuous to the actual objective. For clarity –
let us briefly describe each key-functionality:

I. Sharing Dashboards

This is explained in our article:

Quote

 

Dashboard Sharing allows you to send a snapshot view of your Dashboards to colleagues or customers. This is particularly useful for generating a visual report of your infrastructure's overall status at a specific moment in time.

Dashboards are shared via email as linked web pages. The recipients of these Dashboards will be given read-only access to the Dashboard.

 

https://www.logicmonitor.com/support/dashboards-and-widgets/managing-dashboards/sharing-dashboards/

An example - Sharing a Static 'System Uptime' Dashboard

SharedStaticDashboard.thumb.png.36377dfae5bbf27312520dd515f4ce1a.png

 

Key components of this function - Snapshot view, Reports

To further explain, it is much alike to the Reports Generation Feature, and literally a static snapshot view of the Dashboard. So we’ve been getting users on our email and chat channels asking for a more interactive Dashboard view, and while our support page briefly mentions this here:

 

II. Shared Dashboards

 

Quote

Shared dashboards are available to users based on the permissions configured by their role and should be created for any dashboard that will be viewed by more than one person.

 

https://www.logicmonitor.com/support/dashboards-and-widgets/managing-dashboards/how-are-dashboards-created/

Therefore the key components are; live Dashboards, interactive, require the setup of role-based access credentials to log in.

A further discourse on this method, this requires a User to be setup with Role Adjustments accordingly set for the target user/audience. This requires a credential or a login to the portal. A scenario would be for MSPs - You may set this to a read-only user for a target customer who may not require management or modification level settings.  think . e.g( Extranet, or DMZ).

This, however, requires the User/Customer to still access the LM Portal, and, login to be able to view the Dashboards. Furthermore, this might be an impediment if you’d like to set the Dashboard on a Display/ Monitor Screen where you might not be able to enter the User Credentials at any time / at all. An extension or workaround to this is in the utilization of inline frames (iframes); it is briefly discussed on this page:

https://www.logicmonitor.com/support/dashboards-and-widgets/overview/what-are-dashboards/

This post would further explain, and demonstrate this method for the benefit of our Users and their corresponding internal/ external audience.

Steps:

1) Role Based Setup:

Firstly we'll need to create a 'View-Only' Role/User on this setup. In this case  - we'll be creating a role that has a 'View' only access to the Dashboard - in our example- the 'Tutorial' Dashboard. 

role.thumb.png.ed0ebb1e6f98ec27420ef59c81d4cf6c.png

 

Subsequently, we'll likewise need to create a User and assign on this ‘view-only’ role View permissions for Dashboards. See example below:

 

viewonlyuser.thumb.png.d99a737385f4696c680cea5499e2ac94.png

Note that the email provided should be one where the external customer does not have access.

 

2) The inline iframe setup method.

 

2a)  Declare the credentials on the embedded URL -

 

https://portalname.logicmonitor.com/santaba/uiv3/dashboard/index.jsp?c=portalname&u=XXX&p=YYY#dashboard=14


where:

c=company(portalname)

u=username (in our case XXX)

p=password (in our case YYY)

 

dashboard= dashboard ID number ( in our example id =14) - see below screenshot to determine the Dashboard ID

URL.png.5ebcfd64a4e46082566817cc319d77e8.png

2b) Paste that URL into a browser to interpret the URL.

2c) User would have a live display of the Dashboard, and can toggle the time-range, but with no rights/ability to edit the configuration, ( and, doesn’t require a login!).

 

exampledashboard.thumb.png.36cf9673d2a4a55ddb174437a8a6cda8.png


N.B. Note that Device or Alert specific data will appear if the user is given permissions to view on that particular Device Group. i.e. if User has permissions to view Device Group A, the Dashboard will only display with Data specific to Device Group A.

 

 

 

 

 

 

 

 

Edited by Haniz

Share this post


Link to post
Share on other sites
Guest Milton

Hello,

Is there a parameter to default the dashboard to full screen mode?

Thanks,

Milton

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum 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.

Sign in to follow this