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

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



Aaron Weintraub wrote:
> A couple of things:
> One, I noticed (as has been said before) that comments in conf files
> get blitzed out by the editor, as it reads and and rewrites the file.
> You can sorta fool it by doing a SET NOTE1 <blah> in front of a line,
> which will cause a parameter which nothing uses to get set, but the
> editor will leave it.
>   
Huh? I edit maps with comments in all the time... 

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
> Is there an easy way (besides writing your own plugin, phooey) to do
> an aggregate target, which instead of showing the "average" shows
> instead only the highest of  all the links?  We have situations where
> Nx parallel paths should be all more or less equal, but sometimes
> something might happen to cause one to take a lot more traffic to the
> point of maxxing out.  With the average it's not easy to see this, but
> a max of all the targets ahould show it well (and for the case where
> you do the average over multiple links, the max should also  be
> somewhat close to the average if they are all balanced equally)
>   
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.

Cheers,

Howie

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