View Full Version : Graph legend items
Godzilla
28-03-2006, 04:10
Hi Alexei,
Currently a graph has "max", "min", and "last" for the time period of the graph.
Could you add an "avg"?
It would also be nice on the graph config to put checkboxes for which of the above legend items to display on the graph. Maybe I would like only the "max" and "last".
Also, I need more graph colors. A user definable color would be nice. We have an AS/400 with over 10 CPUs.
thanks :)
Also, I need more graph colors. A user definable color would be nice. We have an AS/400 with over 10 CPUs.
10 CPUs AS/400 is a nice box :)
All you said about colors make sense. To be implemented!
Alexei,
What about the 'avg' option on the graphs. I'd like to see that implemented also!
KarmaPolice
05-04-2006, 20:04
Alexei,
What about the 'avg' option on the graphs. I'd like to see that implemented also!
As would I... and i have the same problems with colors too... with how many color palette tools there are out there these days i'd think it wouldn't be hard to incorporate one of those... hopefully this isn't too late to be consider for 1.1... I have several V890's with 16CPUs in them that need to be monitored :)... oh... and they are running Solaris 10... which has a TON of feature changes from previous Solaris versions... so i'm not sure if re-checking how the stats are gathered internal to the agent would be in order here too...
The average would be EXTREMELY useful as well... you can take out "last" for all i care...
The average would be EXTREMELY useful as well... you can take out "last" for all i care...
Agreed! :)
here is the diff for a quick hack of frontends/php/include/classes/graph.inc.php that displays avg values
549c549
< $str=sprintf("%s: %s [%s] [min:%s max:%s avg:%s last:%s]",
---
> $str=sprintf("%s: %s [%s] [min:%s max:%s last:%s]",
555d554
< convert_units(array_sum($data->avg)/(sizeof($data->avg) ? sizeof($data->avg) : 1),$this->items[$i]["units"]),