Ad Widget

Collapse

more graph oddities (replace similar on copy and create on host)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xaeth
    Member
    • Nov 2004
    • 67

    #1

    more graph oddities (replace similar on copy and create on host)

    Zabbix 1.6.2 on MySQL5 on RHEL5

    Hi. I'm working with our new Zabbix admin implementing our system and we were trying to get a handful of graphs and screens setup to facilitate the new users before they get to where they are making their own. We ran into a few oddities, and I wanted to put them out here for insight or as a report of the issue.

    1: If I am in Configuration -> Graphs -> Templates -> My_Template and I create a graph, it will be randomly assigned to one of the hosts' that inherits from that graph and I will have to move it to the Template using the "Copy selected to.." button. It does remove from the original just fine, except for in the instances listed in #2 below. I can't seem to find a rhyme or reason to which hosts, but haven't systematically tested it.

    2: For certain things like Disk Usage and Memory Usage we are creating two graphs. A linear (Normal) and a 3D Pie Graph. We created each for our Disk Usage graphs adding a (linear) or (pie) after the name to differentiate them (ie: Disk Usage (pie)). This worked fine. I then went to create one for Memory Usage and whenever I create teh second one, whether linear or pie, and I use "Copy selected to..." as per Issue #1 above, the second will overwrite the first, but also maintain a copy on that host. I tried changing how I delimited them, but still the same issue. It is very reproducible so I'll explain what I did to see if anyone else is having the issue.

    (any not listed settings are default)
    a. Configuration -> Graphs -> Templates -> My_Template
    b. 'Create graph'
    c. Name graph 'Memory (pie)' or 'Memory Pie' (you can start with Linear if you like)
    d. If pie select Pie, 3D, and Legend
    OR if linear select Show triggers and Calculated [min=0]
    * Add 'Total Memory' item using color FF00FF and if pie use 'Graph sum'
    * Add 'Cached Memory' item using color 00FF00
    * Add 'Buffered Memory' item using color 0000FF
    e: move the graph to My_Template
    f: create the other graph using steps c-d
    g: attempt step e with second graph and it should override the first graph on My_Template and leave a copy behind on that host.




    Anyone have any thoughts?
    Last edited by xaeth; 25-02-2009, 01:50. Reason: left our distribution
  • xaeth
    Member
    • Nov 2004
    • 67

    #2
    re-affirmed

    I re-tested this on an older install (zabbix 1.6.1) that we have in another department and the same problem occurs. Has no one experienced any weird issues like this? Could someone take 5 minutes and try replicating it just to see if I'm crazy? I'd appreciate it.

    Thanks

    Comment

    • Aly
      ZABBIX developer
      • May 2007
      • 1126

      #3
      Graphs assigned to hosts by items on which it based. So to create a graph in template host you need to assign items from template host to this graph. May be that will help you.
      Zabbix | ex GUI developer

      Comment

      • xaeth
        Member
        • Nov 2004
        • 67

        #4
        So based on how I said I created the graph in issue #1, how is that not doing as you say? I'm not sure what I'm missing.

        While getting past the annoyance that is #1, I'm really more interested in why the functionality of #2 is broken.

        Comment

        • Aly
          ZABBIX developer
          • May 2007
          • 1126

          #5
          From your first comment, I assume that you are assigning an items from real hosts to the graph, and not from the My_Template template...
          Zabbix | ex GUI developer

          Comment

          • xaeth
            Member
            • Nov 2004
            • 67

            #6
            okay.. on the first one I feel stupid now... i kept missing the drop down on the item select screen for some reason. Thanks, and sorry about that one.


            Now about the graphs overriding each other?

            Comment

            Working...