Ad Widget

Collapse

Zabbix 2.2 Dashboard Latest Issues Count

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nms_user
    Member
    • Feb 2009
    • 43

    #1

    Zabbix 2.2 Dashboard Latest Issues Count

    Hello,

    On v2.0 I had adjusted the Latest x Issues to (much) more than the default 20 via the define('DEFAULT_LATEST_ISSUES_CNT', 20) - parameter in zabbix.conf.php.

    On v2.2 this config file seems to be revised and the above mentioned parameter is not working anymore.

    Where/how can I adjust the Latest Issue count now?


    Many thanks
  • aib
    Senior Member
    • Jan 2014
    • 1615

    #2
    small cheat - add
    Code:
    define('DEFAULT_LATEST_ISSUES_CNT', 99);
    in /usr/share/zabbix/dashboard.php right after start disclaimer.

    As far I found only one place where DEFAULT_LATEST_ISSUES_CNT was used - it is dashboard.php

    More correct way is to use /usr/share/zabbix/include/defines.inc.php
    Code:
    # cat -n defines.inc.php | grep "DEFAULT_LATEST_ISSUES_CNT"
       541  define('DEFAULT_LATEST_ISSUES_CNT', 26);
    Last edited by aib; 23-04-2014, 16:57.
    Sincerely yours,
    Aleksey

    Comment

    • nms_user
      Member
      • Feb 2009
      • 43

      #3
      Hello Aleksey,

      Now I know why "this config file seems to be revised" - I was simply looking in the false one...

      Many thanks for your answer.

      Comment

      • aib
        Senior Member
        • Jan 2014
        • 1615

        #4
        No Problem
        Sincerely yours,
        Aleksey

        Comment

        Working...