On Sep 5, 2008, at 10:47 AM, Paul Donohue wrote:

> It was a lot of work to put this change in (and it would probably be  
> even more work to take it back out), and I do believe it is rather  
> misleading to list the average's min and max on the graph rather  
> than the real min and max, so I, for one, would rather not take this  
> change back out.  However, you are correct that OpenNMS is currently  
> storing daily MIN and MAX values by default, and this does cause  
> unexpected behavior in the graphs.

The issue is that if you zoom in to a period shorter than a day, then  
the Min/Max displayed on the graph might not even be on the graph. I  
noticed this at a client site. We were looking at a bandwidth graph  
where there was an early morning backup (the Max) but also a local  
maximum around 2pm. If you zoomed in, the Max value printed on the  
graph was incorrect, since it reflected the single day value.

> Perhaps a better solution than backing this change out is to change  
> the default RRD collection intervals for MAX and MIN so that they  
> match the collection intervals of the AVERAGE values?  This would  
> solve the graphing issues you're seeing without printing misleading  
> numbers on the graphs...

I hesitate to do this for a number of reasons. First, the more you  
store, the bigger the file and the more careful you have to be about  
disk I/O. We used to do this in the past, but even on a small OpenNMS  
install you'd see huge amounts of data being collected. The second  
reason is that changes to the default RRD storage scheme require that  
old data is either lost or exported and re-imported.

How about this for a compromise. We still print AVG/MIN/MAX as before  
but we add a line at the bottom of each graph for "Daily Min" and  
"Daily Max". That would display the values you need without  
representing a huge departure from exiting functionality.

-T

_______________________________________________________________________
Tarus Balog, OpenNMS Maintainer             Main:   +1 919 533 0160
The OpenNMS Group, Inc.                     Fax:    +1 503 961 7746
Email: [EMAIL PROTECTED]                    URL: http://www.opennms.org
PGP Key Fingerprint: 8945 8521 9771 FEC9 5481  512B FECA 11D2 FD82 B45C


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Reply via email to