Graphs in Weathermap

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
bboy8012
Cacti User
Posts: 54
Joined: Thu May 01, 2014 8:27 am

Graphs in Weathermap

Post by bboy8012 »

Wondering can anybody give ways on how to add a cacti graph to weathermap, kinda like when you hover over a link and it displays a graph. I searched but couldn't find steps or ways thanks.
Mystvearn
Posts: 3
Joined: Tue Aug 25, 2015 6:03 am

Re: Graphs in Weathermap

Post by Mystvearn »

If i understand you want to use the OVERLIBGRAPH for a spécific graph of cacti to a node of Weathermap.

Actually you must use the local_graph_id= of the graph you want to show
As exemple here:
Take the ID of the graph you want :
Image

For me i place it like this for the NODE :
NODE 1F10
#INFOURL
OVERLIBGRAPH /cacti/graph_image.php?rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300&local_graph_id=268
OVERLIBCAPTION SW-SRG1-BP
#NOTES
ICON images/PortBP_{node:this:inscaletag}.png
#ICON images/708_PortDown_1.png
TARGET gauge:/var/lib/cacti/rra/sw-srg1-bp_int_status_647.rrd:int_status:-
USESCALE ifstatus in percent
POSITION BP-A-ETC1 -150 83

and i have this :
Image
bboy8012
Cacti User
Posts: 54
Joined: Thu May 01, 2014 8:27 am

Re: Graphs in Weathermap

Post by bboy8012 »

Thanks for the reply Mystvearn, but I was looking more at have a embedded graph.
User avatar
XTech
Cacti User
Posts: 59
Joined: Sat May 26, 2012 9:25 pm

Re: Graphs in Weathermap

Post by XTech »

Hello.
At first, you should setup a graph export for selected graphs.
Then, in your weathermap config file, define a node where ICON instead of regular images/something.png have path to your exported graph, e.g.

Code: Select all

ICON /var/cacti/graphs/graph_16_0.png
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests