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

Re: [php-weathermap] fake "comments" and max of aggregate?



On Wed, Oct 29, 2008 at 8:16 PM, Howard Jones <howie@xxxxxxxxxx> wrote:
> Oh... # comments you mean? Yeah, that's not likely to change. It
> probably could be made to attach all comments between objects to the
> following object, or something like that, but not preserving comment
> position within an object

Right - what I was meaning is that you can make "fake" comments by
preceding your comment with SET NOTE1 instead of '#'  - it has the
"same" effect of not being used, but won't get deleted as a comment.
It's just something I happened on and thought it might be useful.

> If you have a TARGET line with multiple RRDs, you get the total of all
> the rrd files. If you mean the RRD consolidation function, then you can
> change that for the whole map, with:
>  SET rrd_cf MAX
>
> The TARGET line with multiple RRDs will still show you the total of
> those values though.
>
> I hope something in there helps - it's not clear whether you are using
> multiple links, or one link with multiple targets.

No, not really, let me try again:
We have 4 links, 2,2,3 and 7 (all out of 10) current usage.  With the
multiple targets for one link, it would return a % of 14/40 or 35%.  I
would like for this instead to return 7/10, or 70% because that lets
us know that something needs investigating (assuming that we "know" it
shouldn't be that high).

-aw

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