Hover the mouse over a node

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
PaulLi
Posts: 3
Joined: Tue May 28, 2013 8:45 pm

Hover the mouse over a node

Post by PaulLi »

Hi,
While I hover the mouse over a link,it can show the picture perfectly, but when over a node,it doesn't works.
thanks.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Hover the mouse over a node

Post by Howie »

OK, it should... please post the config that isn't working.
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!)
PaulLi
Posts: 3
Joined: Tue May 28, 2013 8:45 pm

Re: Hover the mouse over a node

Post by PaulLi »

Howie wrote:OK, it should... please post the config that isn't working.
thanks for your reply. the following is the config that isn't working.

NODE node08276
INFOURL /cacti/graph.php?rra_id=all&local_graph_id=6
OVERLIBGRAPH /cacti/graph_image.php?rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300&local_graph_id=6
ICON images/Server_10u_Ok.PNG
POSITION 210 320
PaulLi
Posts: 3
Joined: Tue May 28, 2013 8:45 pm

Re: Hover the mouse over a node

Post by PaulLi »

As it says in the manual,I use HTMLSTYLE overlib and the problem solved.
mikra
Posts: 5
Joined: Thu Aug 21, 2014 10:34 am

Re: Hover the mouse over a node

Post by mikra »

Hi guys,

i got the exact same problem but HTMLSTYLE is already set to overlib.
links hover graph works fine, node hover graph seems broken. i m running 0.97a

is there a specific HTMLSTYLE properties for node or something else ? i didnt find anything more in manual.
any idea ?

Thx for your help
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Hover the mouse over a node

Post by Howie »

Can you post the config for a node please?
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!)
mikra
Posts: 5
Joined: Thu Aug 21, 2014 10:34 am

Re: Hover the mouse over a node

Post by mikra »

Hi,

here is configuration,

NODE nodeBlade1
INFOURL /pluginbgp/cacti/graph.php?rra_id=all&local_graph_id=9037
OVERLIBGRAPH /pluginbgp/cacti/graph_image.php?rra_id=0&graph_nolegend=true&graph_height=120&graph_width=600&local_graph_id=9037
ICON images/Ethernet_ICO_20_20.png
POSITION 300 35

i have tried to put other standard graph on nodes, it works, so it s not an overlib pb i think.
sounds like a pb with custom graph.

is there specific options to set when you create your own Graph Template & co ?

Thx
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Hover the mouse over a node

Post by Howie »

All it does is use the URL in an <img> tag, so if you can paste that same URL into your browser (with the hostname on the front) and get an image, it should work.
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!)
mikra
Posts: 5
Joined: Thu Aug 21, 2014 10:34 am

Re: Hover the mouse over a node

Post by mikra »

hmmm i dont get the image if i try to browse /pluginbgp/cacti/graph_image.php?rra_id=0&graph_nolegend=true&graph_height=120&graph_width=600&local_graph_id=9037

and it works with another graph.
what is the process to create img file ?
Note that i just upgrade to 0.97c
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Hover the mouse over a node

Post by Howie »

That's something within Cacti, not weathermap. As far as I know it does the same thing even for custom graphs.

If you navigate to the graph in the Cacti UI, it shows up OK, right? Copy the URL of that image.
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!)
mikra
Posts: 5
Joined: Thu Aug 21, 2014 10:34 am

Re: Hover the mouse over a node

Post by mikra »

ok, yes it shows UP, and if i copy URL from image, it works

So here we are:

copy URL from image
/graph_image.php?action=view&local_graph_id=9037&rra_id=5 --> display OK

if i delete "graph_nolegend=true" from URL picked up directly by weathermap, it works...
/graph_image.php?rra_id=0&graph_height=100&graph_width=300&local_graph_id=9036 --> display OK
/graph_image.php?rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300&local_graph_id=9036 --> display KO

i m still searching for a reason.
i find this; http://forums.cacti.net/viewtopic.php?f=21&t=15533

i ll try
mikra
Posts: 5
Joined: Thu Aug 21, 2014 10:34 am

Re: Hover the mouse over a node

Post by mikra »

wouhou, All works !!

i applied patch found on the previous link, it s like a bug of cacti in 0.8.8b, all hover graph now works fine without any modification.

Thx for your time.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests