Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Tue Apr 23, 2019 11:08 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Configure multicast map !
PostPosted: Fri Dec 21, 2018 3:44 am 
Offline

Joined: Fri Dec 21, 2018 3:08 am
Posts: 2
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 245 times ]
Top
 Profile  
 
 Post subject: Re: Configure multicast map !
PostPosted: Sat Dec 22, 2018 3:16 pm 
Offline
Cacti Guru User
User avatar

Joined: Thu Sep 16, 2004 5:53 am
Posts: 5300
Location: United Kingdom
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.98 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!)


Top
 Profile  
 
 Post subject: Re: Configure multicast map !
PostPosted: Sun Dec 23, 2018 8:40 pm 
Offline

Joined: Fri Dec 21, 2018 3:08 am
Posts: 2
Thanks Howie,
I understand the point of the problem!

Thank you so much! :D.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group