Ad Widget

Collapse

Zabbix 1.5.2 (Trunk 5675) - Dashboard - Web Mon Items do not show up

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Palmertree
    Senior Member
    • Sep 2005
    • 746

    #1

    Zabbix 1.5.2 (Trunk 5675) - Dashboard - Web Mon Items do not show up

    When view the dashboard, the Web Monitoring items are not display for Super Admin, Admin or User type. To fix the problem I made the following change in the blocks.inc.php file. Changes are in red and starting around line 669.

    Original:
    Code:
     666 function make_webmon_overview(){
     667         global $USER_DETAILS;
     668
     669         $available_hosts = get_accessible_hosts_by_user($USER_DETAILS,PERM_READ_ONLY,[COLOR="Red"]PERM_RES_DATA_ARRAY[/COLOR]);
     670
     671         $table  = new CTableInfo();
     672         $table->SetHeader(array(
     673                 is_show_subnodes() ? S_NODE : null,
     674                 S_HOST_GROUP,
     675                 S_OK,
     676                 S_FAILED,
     677                 S_IN_PROGRESS,
     678                 S_UNKNOWN
     679                 ));
    Correction:
    Code:
     666 function make_webmon_overview(){
     667         global $USER_DETAILS;
     668
     669         $available_hosts = get_accessible_hosts_by_user($USER_DETAILS,PERM_READ_ONLY,[COLOR="Red"]PERM_RES_IDS_ARRAY[/COLOR]);
     670
     671         $table  = new CTableInfo();
     672         $table->SetHeader(array(
     673                 is_show_subnodes() ? S_NODE : null,
     674                 S_HOST_GROUP,
     675                 S_OK,
     676                 S_FAILED,
     677                 S_IN_PROGRESS,
     678                 S_UNKNOWN
     679                 ));
  • Aly
    ZABBIX developer
    • May 2007
    • 1126

    #2
    Correct one. Fixed.
    Zabbix | ex GUI developer

    Comment

    Working...