html overlib

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
bencac
Posts: 25
Joined: Fri Jan 30, 2009 3:53 am

html overlib

Post by bencac »

I want to put a node with a special overlib feature.

I want to put a comment in my node overlib but when I create a php file with a simple print command when I pass over my node nothing appear.

A php file or html doesn't work with overlib.

What can we do to put a simple print(a text) and the node put on screen when we pass over this node?


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

Re: html overlib

Post by Howie »

bencac wrote:I want to put a node with a special overlib feature.

I want to put a comment in my node overlib but when I create a php file with a simple print command when I pass over my node nothing appear.

A php file or html doesn't work with overlib.

What can we do to put a simple print(a text) and the node put on screen when we pass over this node?


thanks a lot
OVERLIBGRAPH must be an image.

NOTES allows you to put text in that box, without any external files.
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!)
bencac
Posts: 25
Joined: Fri Jan 30, 2009 3:53 am

Post by bencac »

I can just create an image an put the url in the url overlibb in the node and after it works


thanks
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Post by browniebraun »

You can also use iframes to call up your php script, which returns the information you want to show.
I use it in that way to display the site information of a device under the latency graph.
It will be loaded dynamically from our network database and cached in Cacti for 24 hours to improve the performance and to reduce the number of database queries between the servers.


Best regards
-Andreas-
Hat das Blümchen einen Knick, war der Schmetterling zu dick! ;)
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests