Configure multicast map !

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
anhvt
Posts: 2
Joined: Fri Dec 21, 2018 3:08 am

Configure multicast map !

Post by anhvt »

Hi everyone,
I have a problem when trying to create a multicast map. The map doesn't show the packet on the link so that the link doesn't change the color.

I share the main configuration file of the map:

# Automatically generated by php-weathermap v0.97a

FONTDEFINE 100 docs/example/verdanab.ttf 5

WIDTH 1800
HEIGHT 1200
HTMLSTYLE overlib
TITLE MULTICAST MAP
TIMEPOS 1516 166 Created: %b %d %Y %H:%M:%S

#KEYPOS DEFAULT 1536 39 Traffic Load
#KEYTEXTCOLOR 0 0 0
#KEYOUTLINECOLOR 0 0 0
#KEYBGCOLOR 255 255 255
#BGCOLOR 255 255 255
#TITLECOLOR 0 0 0
#TIMECOLOR 0 0 0
#SCALE DEFAULT 0 0 255 255 0
#SCALE DEFAULT 0 70 65 105 225
#SCALE DEFAULT 70 90 205 16 118
#SCALE DEFAULT 90 100 255 0 0

KEYPOS DEFAULT 1536 39 Packets Per Second
SCALE DEFAULT 0 0 255 255 0 pps
SCALE DEFAULT 0 100 255 0 0


SET nowarn_clipping 1

# End of global section

# TEMPLATE-only NODEs:
NODE DEFAULT
MAXVALUE 100

# TEMPLATE-only LINKs:
LINK DEFAULT
WIDTH 2
BWLABEL packets
BWSTYLE classic
BWFONT 100
COMMENTFONT 100
INBWFORMAT {link:this:bandwidth_in:%d} pps
OUTBWFORMAT {link:this:bandwidth_out:%d} pps
BWOUTLINECOLOR none
BWLABELPOS 65 35
BANDWIDTH 2097152

LINK HCM-P-02-HCM-HED-MX960-02
NODES HCM-P-02 HCM-HED-MX960-02
OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=4567&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
INFOURL /cacti/graph.php?rra_id=all&local_graph_id=4567
Attachments
multicast_map.PNG
multicast_map.PNG (41.67 KiB) Viewed 2655 times
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Configure multicast map !

Post by Howie »

Your link has no TARGET. That's what weathermap uses to get data. The infourl and overlibgraph are just to pop that graph on the screen, drawn by Cacti. Weathermap can't read PNG files :-)

So if you go to the Cacti graph page for that graph and click the little wrench icon, you'll see the rrdtool command that was used to draw that graph. In there is the full filename for the rrd file. Use that in the TARGET line for the link. You will probably also need to change the DS names, since this isn't a normal traffic graph. You'll be able to see those in the rrdtool command too, but if you just add:

TARGET /var/blah/whatever/file.rrd

as a target, Weathermap will complain that there is no valid data, and tell you the possible DS names for that rrd file in the logs.

Then you can:

TARGET /var/blah/whatever/file.rrd:in_ds:out_ds

with the correct names to represent data flowing in and out of the first node (in the NODES line).
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!)
anhvt
Posts: 2
Joined: Fri Dec 21, 2018 3:08 am

Re: Configure multicast map !

Post by anhvt »

Thanks Howie,
I understand the point of the problem!

Thank you so much! :D.
samos667
Posts: 1
Joined: Thu Jun 20, 2019 4:55 am

Re: Configure multicast map !

Post by samos667 »

anhvt did you manage to make your broadcast map ? I am blocked despite having configured the target
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests