Ad Widget

Collapse

Zabbix 2.4 Overview filter

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • killach
    Junior Member
    • Jul 2012
    • 13

    #1

    Zabbix 2.4 Overview filter

    Hi all,

    Just installed Zabbix 2.4 and get the ennoying filter menus just above the triggers in overview and I can live with that but when switching between screens it defaults to triggers that had or have a problem state. I have emails configured and I want for the Overview to be an Overview, to show every trigger. Is there any way to change it defaulting to triggers with problems to show all? I was meddling with overview.php and actually managed to do it but then I have problems applying any filters.

    Why change the overview in the first place?

    Is it possible or am I stuck with it if I stay with 2.4 version?
  • killach
    Junior Member
    • Jul 2012
    • 13

    #2
    Anyone any ideas?

    Comment

    • GOID
      Member
      • Oct 2014
      • 35

      #3
      Originally posted by killach
      Hi all,

      Just installed Zabbix 2.4 and get the ennoying filter menus just above the triggers in overview and I can live with that but when switching between screens it defaults to triggers that had or have a problem state. I have emails configured and I want for the Overview to be an Overview, to show every trigger. Is there any way to change it defaulting to triggers with problems to show all? I was meddling with overview.php and actually managed to do it but then I have problems applying any filters.

      Why change the overview in the first place?

      Is it possible or am I stuck with it if I stay with 2.4 version?
      I found hardcode solution.
      in overview.php you can comment two strings and filter will be save our choice.

      PHP Code:
      //if (getRequest('show_triggers') != TRIGGERS_OPTION_ALL) {
          
      CProfile::update('web.overview.filter.show_triggers'getRequest('show_triggers'), PROFILE_TYPE_INT);
      //} 
      REMEMBER: dev comment above this string
      // show triggers
      // when this filter is set to "All" it must not be remembered in the profiles because it may render the
      // whole page inaccessible on large installations.

      Comment

      • ebonweaver
        Member
        • Feb 2013
        • 71

        #4
        Awesome, this works!

        Comment

        Working...