Ad Widget

Collapse

Zabbix 1.5.4 - Build 5766 - DM Environment

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

    #1

    Zabbix 1.5.4 - Build 5766 - DM Environment

    Zabbix 1.5.4 - Build 5766 - DM Environment

    The "Current Node" menu no longer shows up while in a DM Environment. Had to move back to a previous version.
  • Aly
    ZABBIX developer
    • May 2007
    • 1126

    #2
    The latest rev. is not tested on DM...
    Zabbix | ex GUI developer

    Comment

    • Aly
      ZABBIX developer
      • May 2007
      • 1126

      #3
      I have committed some fixes related to DM. rev. 5771
      Zabbix | ex GUI developer

      Comment

      • Palmertree
        Senior Member
        • Sep 2005
        • 746

        #4
        Thanks Aly.

        Just downloaded them and trying them now...

        I will follow back up in a few minutes....

        Comment

        • Palmertree
          Senior Member
          • Sep 2005
          • 746

          #5
          DM is fixed and works like a champ in 5771. Thanks Aly. Testing other fixes for the messages and etc that were posted earlier...

          Comment

          • Palmertree
            Senior Member
            • Sep 2005
            • 746

            #6
            I haven't reported this one yet but I noticed that when you switch nodes while in latest data, Group all and Host all is selected because the profile IDX for web.latest.last.groupid and web.latest.last.hostid is out of range for the new node. Wonder if it would make sense to have IDX keys separate for each node by attaching the node number to the end of it. Just an idea.
            Last edited by Palmertree; 16-06-2008, 18:48.

            Comment

            • Palmertree
              Senior Member
              • Sep 2005
              • 746

              #7
              Aly,

              The "Current Node" or DM problem is half way fixed with the frontend. Only "Super Admins" can actually see the menu for the node selection even though users and admins have access to the other child nodes in their user groups.

              Also, I noticed that the other (child) node groups do not show up as denied when you do a show "User rights" in the administration menu for the group. It only shows groups from the current nodeid as denied. But groups from other nodes that have been granted read-only rights do show up. Strange.

              Also, is it possible to have a horizontal scroll bar or a mouse hover so that the entire group name can be seen. Currently I have to do a "view source" to see the entire group name if it extends past the window. Sorry for being picky.
              Last edited by Palmertree; 17-06-2008, 06:29.

              Comment

              • Aly
                ZABBIX developer
                • May 2007
                • 1126

                #8
                Thats because I had a half of DM setup
                More fixes committed rev. 5775
                Zabbix | ex GUI developer

                Comment

                • Palmertree
                  Senior Member
                  • Sep 2005
                  • 746

                  #9
                  Thanks Aly. I am downloading the newest SVN Build and will report my finding in a few minutes...

                  Comment

                  • Palmertree
                    Senior Member
                    • Sep 2005
                    • 746

                    #10
                    Aly, great job on the permissions for a DM environment. Haven't found a problem yet. Also, I like the new larger check boxes. It is easier to see the group names. Also, the child nodes now show up in the deny status box. :-)

                    Comment

                    • Aly
                      ZABBIX developer
                      • May 2007
                      • 1126

                      #11
                      Thank You. I'm glad you like it
                      Zabbix | ex GUI developer

                      Comment

                      • Palmertree
                        Senior Member
                        • Sep 2005
                        • 746

                        #12
                        Aly,

                        I only tried this for latest data but I was able to retain my users' profile settings between nodes by making the following changes in red. There might be a better way but I thought that this might of interest to someone.

                        latest.php
                        Code:
                        50         [COLOR="Red"]if(!$ZBX_WITH_SUBNODES)
                         51                 $profile_nodeid = get_current_nodeid();
                         52         else
                         53                 $profile_nodeid = 0;[/COLOR]
                         54
                         55         check_fields($fields);
                         56         validate_sort_and_sortorder('i.description',ZBX_SORT_UP);
                         57
                         58         $options = array('allow_all_hosts','monitored_hosts','with_monitored_items');
                         59
                         60         $_REQUEST['hostid'] = get_request('hostid',get_profile('web.latest.last.hostid[COLOR="Red"].'.$profile_nodeid[/COLOR]));
                         61         if(!isset($_REQUEST['hostid'])){
                         62                 array_push($options,'always_select_first_host');
                         63
                         64                 $_REQUEST['groupid'] = get_request('groupid',get_profile('web.latest.last.groupid.'[COLOR="Red"].$profile_nodeid[/COLOR]));
                         65                 if(!isset($_REQUEST['groupid'])){
                         66                         validate_group(PERM_READ_ONLY,array('allow_all_hosts','monitored_hosts','with_monitored_items','always_select_first_group'),'web.latest.last.groupid.'[COLOR="Red"].$profile_nodeid[/COLOR]);
                         67                 }
                         68         }
                         69
                         70         if(!$ZBX_WITH_SUBNODES) array_push($options,'only_current_node');
                         71
                         72         validate_group_with_host(PERM_READ_ONLY,$options,'web.latest.last.groupid[COLOR="Red"].'.$profile_nodeid[/COLOR],'web.latest.last.hostid[COLOR="Red"].'.$profile_nodeid[/COLOR]);
                         73
                         74 ?>
                         75 <?php
                         76
                        Last edited by Palmertree; 18-06-2008, 22:46.

                        Comment

                        • Palmertree
                          Senior Member
                          • Sep 2005
                          • 746

                          #13
                          Aly,
                          Looks like there is one more bug. If a non "Supper Admin" user selects a child node from the "Current Node List", the list disappears when they change to the child node. The only way to get back to the master node is to logout and log back in. Dug around in the code. Thinking it is in the function get_accessible_nodes_by_user that might be the problem.

                          Comment

                          • Aly
                            ZABBIX developer
                            • May 2007
                            • 1126

                            #14
                            Originally posted by Palmertree
                            Aly,
                            Looks like there is one more bug. If a non "Supper Admin" user selects a child node from the "Current Node List", the list disappears when they change to the child node. The only way to get back to the master node is to logout and log back in. Dug around in the code. Thinking it is in the function get_accessible_nodes_by_user that might be the problem.
                            Thanks Fixed in the latest revision.
                            Zabbix | ex GUI developer

                            Comment

                            • Palmertree
                              Senior Member
                              • Sep 2005
                              • 746

                              #15
                              Aly,
                              Thanks for the quick fix. It works at 100 percent. Great job. I can switch between nodes back and forth with a read-only account with no issues.

                              Comment

                              Working...