Ad Widget

Collapse

Graph legend items

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Godzilla
    Junior Member
    • Aug 2005
    • 24

    #1

    Graph legend items

    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
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Originally posted by Godzilla
    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 Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • Dave96
      Junior Member
      • Jan 2006
      • 21

      #3
      Alexei,

      What about the 'avg' option on the graphs. I'd like to see that implemented also!

      Comment

      • KarmaPolice
        Member
        • Oct 2005
        • 95

        #4
        Originally posted by Dave96
        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...

        Comment

        • Dave96
          Junior Member
          • Jan 2006
          • 21

          #5
          Originally posted by KarmaPolice
          The average would be EXTREMELY useful as well... you can take out "last" for all i care...
          Agreed!

          Comment

          • attila
            Junior Member
            • May 2006
            • 8

            #6
            avg on graphs

            here is the diff for a quick hack of frontends/php/include/classes/graph.inc.php that displays avg values

            Code:
            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"]),

            Comment

            Working...