Ad Widget

Collapse

Disable Dashboard/reports

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • andydouth
    Junior Member
    • Feb 2006
    • 18

    #1

    Disable Dashboard/reports

    Hi,

    I have a user who has R/O access to a host group - this is all good, however in the dashboard when they login they can see the status of zabbix and in reports they can also see global zabbix items in status of zabbix.

    Is there a way of disabling these, for certain users?

    thanks
  • krisdv
    Junior Member
    • Apr 2008
    • 9

    #2
    Hi,

    Did you find the answer already? Would like to do this for some users too.

    Regards.

    Comment

    • NomenNescio
      Member
      • Jan 2009
      • 70

      #3
      krisdv,

      Did you maybe find the answer to this? I'm having the same problem.

      Comment

      • krisdv
        Junior Member
        • Apr 2008
        • 9

        #4
        Unfortunately not. If someone found a workaround please share.

        Comment

        • NomenNescio
          Member
          • Jan 2009
          • 70

          #5
          Could someone answer this question please, I'd much rather know that it's not possible than not know if it's possible.

          Comment

          • NomenNescio
            Member
            • Jan 2009
            • 70

            #6
            Bump, Can't anyone answer this? It doesn't seem like a difficult question.

            Comment

            • Aly
              ZABBIX developer
              • May 2007
              • 1126

              #7
              Only by manually changing php sources.
              Zabbix | ex GUI developer

              Comment

              • bada
                Junior Member
                • Apr 2009
                • 2

                #8
                How to disable dashboard(Status of ZABBIX)/reports

                Hi,

                First, Modify a "zabbix web directory/include/page_header.php"

                PHP Code:
                                'reports'=>array(
                                                
                'label'                 => S_REPORTS,
                                                
                'user_type'             => USER_TYPE_ZABBIX_ADMIN,        // modify 

                Second, Modify a "zabbix web directory/dashboard.php"
                insert "global $USER_DETAILS;"
                and than
                PHP Code:
                        if ($USER_DETAILS['type'] > 1) {                                                     // insert
                        
                $sysmap_menu = new CDiv(SPACE,'iconmenu');
                        
                $sysmap_menu->AddAction('onclick','javascript: create_dashboard_menu(event,"sysmaps");');
                        
                $sysmap_menu->AddOption('title',S_MENU);

                        
                $left_tab->AddRow(create_hat(
                                        
                S_FAVOURITE.SPACE.S_MAPS,
                                        
                make_favorite_maps(),
                                        array(
                $sysmap_menu),
                                        
                'hat_favmap',
                                        
                get_profile('web.dashboard.hats.hat_favmap.state',1)
                                ));
                        }                                                                                     
                // insert 
                Last edited by bada; 05-08-2009, 11:21.

                Comment

                Working...