Ad Widget

Collapse

User Permissions to IT Services View?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AZFlyer
    Junior Member
    • Sep 2011
    • 2

    #1

    User Permissions to IT Services View?

    Hello,

    I'm looking at using Zabbix 1.8.7 for a small IT consulting business. My thought is to allow the various businesses access to Zabbix to look at there company's IT services down to their companies current SLA level. The different levels of access by host and host group seem to work fine for the other views. The one that I'm having trouble with is the IT Services view.

    If I setup the different levels and child levels it appears that any standard Zabbix login can see the SLA's for all companies, at least at the top level.

    For example, here is the layout.

    root
    SLA by Company
    Company ABC
    ABCServer1
    ABCServer2
    Company XYZ
    XYZServer1
    XYZServer2

    Now under Monitoring --> IT Services while logged in under the ABC user that only has host and host group read permissions to the Company ABC's services, it appears that they can see the SLA metrics for Company XYZ. However they cannot see XYZServer1 and XYZServer2 specific metrics under Company XYZ.

    Am I missing something?

    So far everything else looks like it will work fine and I am getting more comfortable with how everything else integrates together in Zabbix.

    Thanks in advance.

    -AZ
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    that's most likely a feature request https://support.zabbix.com/browse/ZBXNEXT-59
    Zabbix 3.0 Network Monitoring book

    Comment

    • AZFlyer
      Junior Member
      • Sep 2011
      • 2

      #3
      Originally posted by richlv
      that's most likely a feature request https://support.zabbix.com/browse/ZBXNEXT-59
      Thanks. The exiting feature request you pointed out sums up what I'm looking for but appears to be from 2009. I guess its fair to say that it has not been implemented yet.

      -AZ

      Comment

      • richlv
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Oct 2005
        • 3112

        #4
        Originally posted by AZFlyer
        I guess its fair to say that it has not been implemented yet.
        i don't think it is implemented yet
        Zabbix 3.0 Network Monitoring book

        Comment

        • leferocha
          Junior Member
          • Mar 2012
          • 3

          #5
          Originally posted by richlv
          i don't think it is implemented yet
          I have this same need...
          When will release this feature?

          Comment

          • tpramos
            Junior Member
            • Feb 2010
            • 13

            #6
            go to :
            zabbix_frontdend_dir/include/
            Make a backup for file services.inc.php
            Edit then:
            Locate a function named "del_empty_nodes" repace by:
            Code:
            function del_empty_nodes($services) {
                            do {
                                    unset($retry);
                                    foreach ($services as $id => $data) {
                                            if (isset($data['serviceupid']) && !isset($services[$data['serviceupid']])) {
                                                    unset($services[$id]);
                                                    $retry = true;
                                            }else if ((!isset($data['triggerid']) || is_null($data['triggerid']))) {
            
                                                    $has_children = false;
                                                    if (isset($data['childs'])) {
                                                            foreach($data['childs'] as $child) {
                                                                    if (isset($services[$child['id']])) {
                                                                            $has_children = true;
                                                                    }
                                                            }
                                                    }
                                                    if (!$has_children) {
                                                            unset($services[$id]);
            
                                                            $retry = true;
                                                    }
                                             }
                                            }
                            } while (isset($retry));
            
                            return $services;
                    }
            tested in zabbix 1.8.11.
            Sorry by my English.

            Comment

            • mruk
              Junior Member
              • Apr 2006
              • 10

              #7
              Does anyone have similar patch for 2.0.2?

              Best regards,
              mruk

              Comment

              • harmonica
                Senior Member
                • Jan 2009
                • 251

                #8
                Hi,

                Does anyone have similar patch for 2.0 or above?

                Best regards

                Comment

                • harmonica
                  Senior Member
                  • Jan 2009
                  • 251

                  #9
                  Will this feature be implemented someday? We want to allow several customers to access at there company's IT services, down to their companies current SLAs. This feature is very important for our goal.

                  Regards

                  Comment

                  • richlv
                    Senior Member
                    Zabbix Certified Trainer
                    Zabbix Certified SpecialistZabbix Certified Professional
                    • Oct 2005
                    • 3112

                    #10
                    it's currently not on the roadmap (some of which you can see here - https://zabbix.org/wiki/Docs/roadmap )
                    Zabbix 3.0 Network Monitoring book

                    Comment

                    • fflux
                      Member
                      Zabbix Certified Specialist
                      • Mar 2011
                      • 34

                      #11
                      this is realy weird. i would think that this was prio 1

                      Comment

                      • eskytthe
                        Senior Member
                        Zabbix Certified Specialist
                        • May 2011
                        • 363

                        #12
                        Well we are only 5 people who have voted on it:
                        (https://support.zabbix.com/browse/ZBXNEXT-59)
                        So I do not think it have high priority at zabbix sia.
                        But maybe someone would like to sponsor it ... to get a faster implementation.
                        BR
                        Erik

                        Comment

                        • m_gularte
                          Member
                          Zabbix Certified Specialist
                          • Jul 2012
                          • 85

                          #13
                          6 votes now, here we need this too...

                          By the way:
                          "The full list of community requests (ZBXNEXT) sorted by popularity is available here, where you can vote for your favorite project or submit your ideas.": https://support.zabbix.com/browse/ZB...arissues-panel

                          There are requests from 2009, 2010 and so far many of them has not been done yet. Maybe in a few years... =/

                          Comment

                          • harmonica
                            Senior Member
                            • Jan 2009
                            • 251

                            #14
                            7 votes now.

                            Comment

                            • Yeyo404
                              Junior Member
                              • Nov 2007
                              • 5

                              #15
                              Its very important to publish IT services status.
                              9 votes now.

                              Comment

                              Working...