Access to graphs outside of the NetXMS Console
-
Hi,
I was thinking that it would be very good if there is way to access particular graphs outside of the NetXMS console.
Is there such thing available right now? For example if i need to show some graph on a standard web site?I was thinking of two possible soltions:
- Provide access to a "dynamic graph web API" which is just a web service that you can call with GET/POST attributes for the graph (size, DCIs, time period, etc...) and it returns a rendered PNG on the fly. Or maybe you create the graph you want as a predefined graph and just "call" it on the web API to get the rendered PNG for use.
- Set a scheduled PNG file creation in a specified location.
Any ideas on how to realize that?
-
Hi,
I think option 1 is more feasible. There is Java API for reading DCI data, so all is needed is to find some Java library that can generate graphs in PNG format and write a simple web service around it. Do you know any good Java library for that? We could possibly use BIRT and built this functionality into web UI, but it will be quite heavy solution.
Best regards,
Victor -
-
Hi,
starting with 2.1-M3 we have added integration with Grafana visualization tool. It is not PNG as you wanted, but still can be used to provide web UI for seeing graphs without actually giving access to NetXMS.
Best regards,
Victor
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login