Ad Widget

Collapse

Web Frontend improvement. "All" as default page filter

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stan.vasiljev
    Junior Member
    • Jan 2008
    • 28

    #1

    Web Frontend improvement. "All" as default page filter

    Good time of day.

    Page filter (items in "Group" and "Host" comboboxes) has default value "All". Its acceptable when you load page in first time. After that page filter will load previous selected choice (saved in DB).
    If you have a few distributed nodes - page can remember group/host from distributed node you selected in the Zabbix frontend. This group/host will be invalid for another selected node, so in next time when you load page (for example "Items") for another node - it will reset Group/Host selection to default value "All" and load a total amount of items. It can take a long time and a lot of system resources for web-browser.
    Please, change default filter from "All" to the first group and host in combobox list.
    And add individual save of page filter for distinct selected nodes to the user web-profile, please.

    Thank you for your work. Good luck!
  • NOB
    Senior Member
    Zabbix Certified Specialist
    • Mar 2007
    • 469

    #2
    Hi stan.vasiljev

    I second this proposal !

    It's a PITA that all is the default preselection for all nodes in
    the item and trigger pages.
    The last setting is not remembered after switching the
    view to a different node.

    Update: And by switching from Configuration to Monitoring/Latest data and vc. vs. the
    setting of the host is lost, too. And all data of all hosts are shown
    Another update: And by selecting trigger depencies all triggers of all hosts and templates are shown
    BTW: "Paging" is no real fix.

    Thanks in advance to the developers for fixing this.

    Best regards

    Norbert.
    Last edited by NOB; 08-12-2009, 19:53. Reason: Added another cases of annoyance

    Comment

    • Aly
      ZABBIX developer
      • May 2007
      • 1126

      #3
      May be this one will help: Adminsitration->general->GUI->Dropdown first entry = none;
      Zabbix | ex GUI developer

      Comment

      • NOB
        Senior Member
        Zabbix Certified Specialist
        • Mar 2007
        • 469

        #4
        Hi Aly

        thanks for the tip, but: we are running 1.6

        Best regards

        Norbert.

        Comment

        • stan.vasiljev
          Junior Member
          • Jan 2008
          • 28

          #5
          Thanks for answers. I'm glad to know about this feature in 1.8. New front-end must be much better than 1.6 series.

          Comment

          • exkg
            Senior Member
            Zabbix Certified Trainer
            Zabbix Certified Specialist
            • Mar 2007
            • 718

            #6
            My two cents ...

            In 'include/defines.inc.php':

            ...
            define('ZBX_DROPDOWN_FIRST_ENTRY', 2); // 0 - NONE, 1 - ALL, 2 - SIMILAR ZBX 1.6.2 (compatibility mode)
            define('ZBX_DROPDOWN_FIRST_REMEMBER', 1); // 0 - do NOT remember, 1 - do remember
            ...


            []s,
            Luciano
            --
            Luciano Alves
            www.zabbix.com
            Brazil | México | Argentina | Colômbia | Chile
            Zabbix Performance Tuning

            Comment

            • stan.vasiljev
              Junior Member
              • Jan 2008
              • 28

              #7
              it works!

              Thanks, Luciano, your info is helpful for my situation (Zbx 1.6.7 with a few nodes).
              Frontend will not load "All" items after node change, if we set variable in 'include/defines.inc.php' to 0:
              define('ZBX_DROPDOWN_FIRST_ENTRY', 0); // 0 - NONE

              Comment

              • NOB
                Senior Member
                Zabbix Certified Specialist
                • Mar 2007
                • 469

                #8
                Hi Luciano

                thanks for your tip.

                One big disadvantage though:
                If you select NONE like stan.vasiljev did: you can no longer select ALL to view, e.g., all active triggers.
                This is not useful for monitoring purposes !

                Best regards and happy new year

                Norbert.
                Last edited by NOB; 05-01-2010, 09:45. Reason: Added disadvantage

                Comment

                Working...