Hello All,
Recently i am trying to embed charts for each machine created in Weathermap by using overlib graph option.
What i would like to achive is to extract last value from each rra related to machine like cpu,mem, etc... and export them into Open Flash chart for example and present it with form of guage or bar chart this way i have kind of interactive machine status without the need brows cacti graph tree.
my question is it possible?
Thanks in advanced
Embed Open Flash Chart into Weathermap
Moderators: Developers, Moderators
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Embed Open Flash Chart into Weathermap
I've never heard of Open Flash, but assuming it's a .swf file, you could do that using the NOTES command instead of OVERLIBGRAPH. It pops up in the same way, but allows you to embed chunks of HTML instead of an image. You could add an <object> tag in there, pointing to your flash.tbaror wrote:Hello All,
Recently i am trying to embed charts for each machine created in Weathermap by using overlib graph option.
What i would like to achive is to extract last value from each rra related to machine like cpu,mem, etc... and export them into Open Flash chart for example and present it with form of guage or bar chart this way i have kind of interactive machine status without the need brows cacti graph tree.
my question is it possible?
Thanks in advanced
Extracting the last value would be your own issue though. Unless you can have some kind of cgi/php/whatever that can take parameters and produce your flash dynamically. Then, you could do
Code: Select all
NOTES <object type="application/x-shockwave-flash" width="320" height="240" data="mychart.swf?cpuval={node:servercpu:bandwidth_in}&memval={node:servermem:bandwidth_in}">
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Who is online
Users browsing this forum: No registered users and 2 guests