Total bandwidth graph on map ?

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Total bandwidth graph on map ?

Post by mcutting »

Howie,

I'd like to place a total agregated bandwidth graph on my map (MPLS network). I expect I could get the total bandwidth for all of the routers using the agregate plugin, but is it possible to insert this one the map ?

Also, I've seen an article about sparklines - can I utilise something like this ?

Thanks
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Anyone ?
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

You can list multiple targets in one line, and weathermap will total them up:

TARGET file1.rrd file2.rrd file3.rrd
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!)
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

Sorry - you want the graph...

well, as long as you can produce the graph image somehow, you just use that image as the icon for a node. Cacti's graph export might help you, or you could just cut&paste the rrdtool command from the graph debug screen, and have a shell script produce that one graph - that's what I do for a similar problem.
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!)
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Great - thanks Howie.

Regds
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Howie wrote:Sorry - you want the graph...

well, as long as you can produce the graph image somehow, you just use that image as the icon for a node. Cacti's graph export might help you, or you could just cut&paste the rrdtool command from the graph debug screen, and have a shell script produce that one graph - that's what I do for a similar problem.
Howie,

Sorry - could you give me an example of this ?

Thanks
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
aftershocks
Cacti User
Posts: 117
Joined: Fri Aug 22, 2014 2:11 pm

Re:

Post by aftershocks »

Howie wrote:Sorry - you want the graph...

well, as long as you can produce the graph image somehow, you just use that image as the icon for a node. Cacti's graph export might help you, or you could just cut&paste the rrdtool command from the graph debug screen, and have a shell script produce that one graph - that's what I do for a similar problem.
Hi Howie,

Doesn't this just create the update/create the *.rrd file? Does it output as a *.png file somewhere? Or how would I be able to do that?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Re:

Post by Howie »

aftershocks wrote:
Howie wrote:Sorry - you want the graph...

well, as long as you can produce the graph image somehow, you just use that image as the icon for a node. Cacti's graph export might help you, or you could just cut&paste the rrdtool command from the graph debug screen, and have a shell script produce that one graph - that's what I do for a similar problem.
Hi Howie,

Doesn't this just create the update/create the *.rrd file? Does it output as a *.png file somewhere? Or how would I be able to do that?
On the graph debug screen, that's the rrdtool command to produce a graph. It does it to stdout, but if you replace the '-' after the word 'graph' with a filename.png, it will write it to that file instead.
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!)
aftershocks
Cacti User
Posts: 117
Joined: Fri Aug 22, 2014 2:11 pm

Re: Total bandwidth graph on map ?

Post by aftershocks »

Thanks Howie! I got it... :)
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests