How to pin graph to background?

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
mlodziak
Posts: 5
Joined: Wed Oct 07, 2015 11:16 am

How to pin graph to background?

Post by mlodziak »

Hi,
I have problem with the graph on background in Weathermap plugin. I can't pin the graph to background. Can you tell me how I should do it? Step by step, please.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: How to pin graph to background?

Post by Howie »

You make a node, and use the graph image file as its ICON.

How do you get a graph as an image file? Cacti has an option called Graph Export that will save selected graphs to a file automatically.
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!)
mlodziak
Posts: 5
Joined: Wed Oct 07, 2015 11:16 am

Re: How to pin graph to background?

Post by mlodziak »

Howie wrote:You make a node, and use the graph image file as its ICON.

How do you get a graph as an image file? Cacti has an option called Graph Export that will save selected graphs to a file automatically.
Ok, but what to do to graph has been refreshed?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: How to pin graph to background?

Post by Howie »

The graph export updates the file after every poll, and weathermap updates the map after every poll, so it should update OK.
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!)
mlodziak
Posts: 5
Joined: Wed Oct 07, 2015 11:16 am

Re: How to pin graph to background?

Post by mlodziak »

Howie wrote:The graph export updates the file after every poll, and weathermap updates the map after every poll, so it should update OK.
Ok, thanks. I hope it will work :)
mlodziak
Posts: 5
Joined: Wed Oct 07, 2015 11:16 am

Re: How to pin graph to background?

Post by mlodziak »

Howie,
Which link should I use?
"10.0.0.1/cacti/graph_image.php?action=view&local_graph_id=22&rra_id=1"
or
"/var/lib/cacti/rra/device_traffic_in_22.rrd"
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: How to pin graph to background?

Post by Howie »

For the icon, you can't use a link. You use the filename of the saved image file. That's why you need to set up Cacti's graph export function.
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!)
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests