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

Re: [php-weathermap] [0.96test1]Aggregate functions won't support - for a DS



Erik Versaevel wrote:
> Is there a way to relay CLI parameters to the overlib mouse over graph's as i'm using those to draw the relevant data (link usage/cpu/mem/temp etc)
> however, if i create a monthly report i stil get the data from the last day in my overlib's :)
>   
OVERLIBGRAPH and INFOURL both allow {} variables, so you can --define
urlextra "?monthly" and then add {map:urlextra} to your urls, for
example. Hopefully you have a naming standard for your graphs that
allows it to this simple :-) Be aware that you will need to define
urlextra as "" in the non-aggregated graph as well, to avoid getting an
[UNKNOWN] in your URL. I haven't tested, but I believe you can also use
a SET in the map config itself for the default, and then override that
on the command-line - the command-line defines are set after the config
file has been read.

> Another problem i ran into with the overlibs is that the graphs (3 targets on 1 node) gets drawn off the bottom of the screen which results in a
> scrollbar, but if you scroll down the overlib graphs vanishes and so does the scrollbar.
>   
This one was solved a couple of years ago by Neils Baggeson - if you set
OVERLIBWIDTH and OVERLIBHEIGHT correctly for your graphs, weathermap
will figure out when the graph would go offscreen, and position it to
the left, or above, the pointer as appropriate. Make sure the sizes are
at least as big as the actual image, or you will get some strange
flickering issues.

Best Regards,

Howie

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