Hello,
We are using OMD with Check_MK and Nagios. In this setup I also creating some weathermaps to visualize the traffic in my network. This works fine, but it would be really great if I could create a page that has a weathermap on one side and next to that some graphs for specific parts of the traffic, in this case the external / transit traffic. I was thinking of creating something like a dynamic background image that contains some graphs created using rrdtools out of the rrd data.
Has anyone done something like this before, is it possible? Or do I need to create two separate pages and combine them on a third page with 2 iframes or something like that?
Jan Hugo
Dynamic backgrounds on weathermaps
Moderators: Developers, Moderators
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Dynamic backgrounds on weathermaps
If they are actual images on disk, just use them as the icon for a node with no label.
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!)
Re: Dynamic backgrounds on weathermaps
Ah, nice one. Didn't think about that, this could indeed help me. Did indeed find some graphs on disks. But then some additional question. You can create targets by combining several RRD files into one target to calculate a value on the link. Can this also produce a graph of combined RRD data? Can I create a graph that shows the combined traffic of several outgoing interfaces?
And what if the graph is only created on disk when a URL is called?
Jan Hugo
And what if the graph is only created on disk when a URL is called?
Jan Hugo
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Dynamic backgrounds on weathermaps
There is always curl/wget Weathermap won't fetch images from a URL.
You can make rrdtool graphs with many stacked/calculated sources. If you are using Cacti (I have a feeling you aren't) then just make the graph and click on the little spanner icon next to it. The Aggregrate plugin is helpful for this too. Without Cacti, check out drraw.cgi, which lets you build up custom graphs, and tells you the command-line that will recreate them. The key part is rrdtool CDEF, which lets you do calculations on raw data. For simple addition, the STACK feature is also useful.
You can make rrdtool graphs with many stacked/calculated sources. If you are using Cacti (I have a feeling you aren't) then just make the graph and click on the little spanner icon next to it. The Aggregrate plugin is helpful for this too. Without Cacti, check out drraw.cgi, which lets you build up custom graphs, and tells you the command-line that will recreate them. The key part is rrdtool CDEF, which lets you do calculations on raw data. For simple addition, the STACK feature is also useful.
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 0 guests