About Hovering

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
y-watanabe
Cacti User
Posts: 59
Joined: Fri Jun 29, 2007 3:12 am
Location: Japan

About Hovering

Post by y-watanabe »

Hello!

It seems that my Hovering feature isn't working in my
weathermap 0.92.

I could see the cacti graph when I click the Link but
when I put my mouse on the Link the Hovering doesn't
show up.

I have used the PHP Weathermap Editor to configure it.
I have the following URL in the Hovering URL
/cacti/graph_image.php?local_graph_id=29&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

I've also checked that the local_graph_id exists in the cacti database.

Any advice will be helpful

Thanks!
frdrk
Cacti User
Posts: 55
Joined: Fri Jul 06, 2007 2:27 pm

Post by frdrk »

Hey. Do you have HTMLSTYLE overlib in your config ?
y-watanabe
Cacti User
Posts: 59
Joined: Fri Jun 29, 2007 3:12 am
Location: Japan

Post by y-watanabe »

No I don't .
Do I need that in order to show the graph when I
hover the Link?
y-watanabe
Cacti User
Posts: 59
Joined: Fri Jun 29, 2007 3:12 am
Location: Japan

Post by y-watanabe »

I've found the web page which describes about the HTMLSTYLE overlib.
http://www.network-weathermap.com/manua ... _HTMLSTYLE

I should have read the manual carefully...

Thanks for educating me!
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

y-watanabe wrote:I've found the web page which describes about the HTMLSTYLE overlib.
http://www.network-weathermap.com/manua ... _HTMLSTYLE

I should have read the manual carefully...

Thanks for educating me!
It does mention it in the OVERLIBGRAPH section too... maybe I should add some warning if you use OVERLIBGRAPH without setting the HTMLSTYLE.
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!)
User avatar
streaker69
Cacti Pro User
Posts: 712
Joined: Mon Mar 27, 2006 10:35 am
Location: Psychic Amish Network Administrator

Post by streaker69 »

This question kind of applies to this thread:

I made a static HTML page that's a legend of all the devices on the Weathermap. I then created a dummy node on the map and pointed the hoverover link to that static page. But when I hoverover, I don't get anything. If I put it on the click link I can click it and get to my static page, so cacti is able to find the page. What am I doing wrong with the hoverover?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

streaker69 wrote:This question kind of applies to this thread:

I made a static HTML page that's a legend of all the devices on the Weathermap. I then created a dummy node on the map and pointed the hoverover link to that static page. But when I hoverover, I don't get anything. If I put it on the click link I can click it and get to my static page, so cacti is able to find the page. What am I doing wrong with the hoverover?
You can't do that.

It takes the OVERLIBGRAPH url and puts it into an <IMG> tag. Since your HTML page isn't an image, it doesn't work. You could turn your reference page into one long line of HTML (everything within the body tags) and use NOTES, or your could make an image of the page, and use that with OVERLIBGRAPH.

Maybe an option for NOTES to accept a URL for an external file would be useful...
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!)
User avatar
streaker69
Cacti Pro User
Posts: 712
Joined: Mon Mar 27, 2006 10:35 am
Location: Psychic Amish Network Administrator

Post by streaker69 »

Howie wrote:
streaker69 wrote:This question kind of applies to this thread:

I made a static HTML page that's a legend of all the devices on the Weathermap. I then created a dummy node on the map and pointed the hoverover link to that static page. But when I hoverover, I don't get anything. If I put it on the click link I can click it and get to my static page, so cacti is able to find the page. What am I doing wrong with the hoverover?
You can't do that.

It takes the OVERLIBGRAPH url and puts it into an <IMG> tag. Since your HTML page isn't an image, it doesn't work. You could turn your reference page into one long line of HTML (everything within the body tags) and use NOTES, or your could make an image of the page, and use that with OVERLIBGRAPH.

Maybe an option for NOTES to accept a URL for an external file would be useful...
Ok, for now, I'll just make my Network Legend into an Image, that's no biggie.
User avatar
streaker69
Cacti Pro User
Posts: 712
Joined: Mon Mar 27, 2006 10:35 am
Location: Psychic Amish Network Administrator

Post by streaker69 »

Here's an example of what I was talking about in case anyone is interested in doing it themselves.

I made a dummy node called "Network Legend", I then converted my table of all my devices into a PNG file and pointed the hover over to that PNG.

Works out well for people that need to look at the map, but might not know what all the devices are.
Attachments
LegendExample.jpg
LegendExample.jpg (82.01 KiB) Viewed 3698 times
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests