Graphs in Weathermap
Moderators: Developers, Moderators
Graphs in Weathermap
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.
Re: Graphs in Weathermap
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 :
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 :
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 :
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 :
Re: Graphs in Weathermap
Thanks for the reply Mystvearn, but I was looking more at have a embedded graph.
Re: Graphs in Weathermap
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.
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
Who is online
Users browsing this forum: No registered users and 4 guests