TECHZEN Zenoss User Community ARCHIVE  

How to put Zenoss Core 5 Graph in static HTML page?

Subject: How to put Zenoss Core 5 Graph in static HTML page?
Author: [Not Specified]
Posted: 2017-03-10 10:40

Hello all,

I need to know a method to put Zenoss Core 5 graphs into a static HTML page.

When I generate the Graph link it opens well (without ask for username and/or password) since I've logged in at Zenoss interface.

When I close the browser and reopen it and paste the copied link and try to view the graph.... It ask me for Zenoss username and password.

Other thing is... I try to load the graph link inside an Iframe in HTML page and at the Element inpection I've seen something like X-Frame-Option not allowed, OK I understand that it is for security reasons.

And more, I have Zenoss 3 installed in another machine and configured the View of RenderServer to Anonymous access then I can view the image of graph link at the browser without Zenoss ask me for user/password and better, I can put this image in a static HTML page as I need.

The question is... How I can do it on Zenoss Core 5 ?

 

Thanks.



Subject: In documentation of Zenoss
Author: [Not Specified]
Posted: 2017-03-20 08:39

In documentation of Zenoss Core administration Guide I can read this:

Link to this Graph - Generate a link to this graph that can be saved to your browser bookmarks or use the URL to directly point to the graph in another Web page or dashboard. For example, you may want to show this graph in the Zenoss Dashboard. You can create a new Site Window portlet and insert the URL to this graph.

But someone can tell me how can I do it ?

How can I put the graph in another Web page? When I try to do it the browser says X-Framing-Options not allowed. So I can't load the graph in another Web page, outside my Zenoss core 5 Server... It only woks when I create a new portlet in dashboard and put the graph link there.

But... it's not what I need... I need a Zenoss graph in a Static HTML web page outside my Zenoss core 5 Server, without X-Framing-Option block.

Thanks.



< Previous
4.2.5 Install Script Issue/Question - Using Jane's Update
  Next
Display Zenoss Core 5 Graphs in HTML page
>