Ad Widget

Collapse

Cannot select template items for dynamic graphs on screens in 1.8.4

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Unimatrix02
    Junior Member
    • Feb 2011
    • 2

    #1

    Cannot select template items for dynamic graphs on screens in 1.8.4

    Hi,

    I was using 1.8.1. at first. In this version, I could edit a screen, click to edit a cell, select "graph" as the cell type, and then select a template item from a templated host and group, so the graph was *not* associated with a specific host. If marked as "Dynamic item", I could then view the screen, select a host that had that graph, and the host's data would be shown in the graph.

    Now, in version 1.8.4, it is suddenly no longer possible to select templated groups or hosts, limiting the choices to graphs that are tied to a specific host, effectively eliminating the entire "dynamic item" feature.

    I can hardly believe this was intentional, as it is clearly crippling to usage, but I have a hard time finding out why it works this way.

    Can someone confirm this is a bug or explain me how things are supposed to work...?

    Thank you very much.
  • thiagolmelo
    Junior Member
    Zabbix Certified Trainer
    Zabbix Certified Specialist
    • Dec 2009
    • 27

    #2
    Hi,

    could you paste a screenshot of you configuration screen to I get your point?

    Best Regards
    __________________
    --
    Thiago Melo
    [url]www.zabbix.com.br[/url]
    [url]www.uniredeinfo.com.br[/url]
    Porto Alegre - RS - Brasil

    Comment

    • Unimatrix02
      Junior Member
      • Feb 2011
      • 2

      #3
      Configuration

      Hi,

      Thanks for your reply.

      I have attached a screenshot of the graphs popup window, that is shown when you click the "select" button on the screen configuration page.

      The host group "iBOOD templates" has only templates in it, no real hosts. I have already modified Zabbix to show such groups in the group dropdown list - otherwise I couldn't even select it there. The list of hosts is empty, because that is still filtered on real hosts, instead of all hosts.

      Let me know what you think of this.

      Thanks!
      Attached Files

      Comment

      • dakol
        Member
        • Jan 2008
        • 50

        #4
        I also noticed this regression from version 1.8.3

        ./include/screens.inc.php:431
        function get_screen_item_form(){

        - $selectbtn = new CButton('select',S_SELECT,"javascript: return PopUp('popup.php?writeonly=1&dstfrm=".$form->getName()."&dstfld1=resource
        id&dstfld2=caption&srctbl=graphs&srcfld1=graphid&s rcfld2=name',800,450);");
        + $selectbtn = new CButton('select',S_SELECT,"javascript: return PopUp('popup.php?writeonly=1&dstfrm=".$form->getName()."&real_hosts=1&dstfld1=resourceid&dstfld2=caption&srctbl=graphs& srcfld1=graphid&srcfld2=name',800,450);");

        i modified the line and changed real_hosts=1 by real_hosts=0, and it seems to restore the hability to add Templated Graphs in screens

        For simple graph, the line to modify is 465

        Comment

        • CarFiction
          Junior Member
          • Mar 2011
          • 1

          #5
          More Screens issues

          Hello all,

          I can also verify that there are problems with Screens, post-update. I have a client who was previously on Zabbix v1.8.2. After upgrading to v1.8.4, the following occurs:

          Navigate to Configuration -> Screens

          Select Screen to edit. Click "Change" on any tile and select "Simple Graph" for Resource dropdown. Click "Select" for Parameter, and you receive the pop-up for Simple Graph selection.

          Make sure both the "Group" and "Host" dropdowns are set to "all" and you will see all hosts in all groups below.

          Now change the "Group" dropdown to any of your Host Groups.

          Notice how the view below does not change, as it should. The "Host" dropdown list correctly shows you only those hosts contained within your selected "Group", but if my dropdowns up top state "Group XYZ" and Hosts "all", the view below should change to display all hosts within that Host Group.


          It is possible to finish the Simple Graph configuration by selecting the desired host from the dropdown, but my client is none too happy to see these problems after upgrading. He would like to see the "Host and Description" view change accordingly when he selects his "Group" from the dropdown, as it did before the upgrade.

          Comment

          • mickeyd
            Junior Member
            • Sep 2011
            • 3

            #6
            Do you know if this present still in 1.8.5+ or should I run <=1.8.3 if this functionality is required?

            Comment

            • Jero3n
              Junior Member
              • May 2010
              • 3

              #7
              For anyone else reading this thread missing their templated items in graphs.. yes 1.8.5 also exibits this HIGHLY annoying behaviour.
              Last edited by Jero3n; 21-06-2012, 13:51. Reason: typo, wording

              Comment

              Working...