[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [php-weathermap] Make graphs stay visible in a weathermap?



Paul Fleming wrote:
Have not touched weathermap config in awhile.

Any NODE can have 'ICON' associated with it. That could be the url to the graph.
I could be 100% incorrect. This advice comes with no warranty.

So you would have one NODE with a ICON of the SAN controller. Then a second NODE above it with a ICON of the graph.
It can't be a URL, but it can be a filename. Actually, if you have PHP's "url fopen" feature enabled, then possibly it could be a URL. I don't know if the php gd library uses the standard PHP fopen or the normal one.

If you are using MRTG, or something else that actually generates images on disk, then just use the filename to be safe. If you are using Cacti, or something else that does on-the-fly graph creation, then you might need to have a little wget script fetch the images to a file first. That way you can use them as ICONs as Paul described.

Howie

Copyright 1994-2005, by Howard Jones. howie@thingy.com