13.5 Reduce High CPU Utilization while Computing User Assignment Dashlet Data

To compute data for the User Assignment dashlet, common user source related data is obtained in advance from the LDAP and stored in the memory. This data is collected when the User Assignment dashlet is loaded or when it is refreshed. However, this might lead to high CPU utilization and subsequently the User Assignment dashlet might take a while to load.

You can exclude obtaining data related to groups other than those of user groups from the LDAP, for example, you can exclude workstation groups. This might reduce the computation time and high CPU utilization. To exclude the groups, you need to add exclusion filters in the file BUADashlet-LDAPExclusions.xml available in the following locations:

On a Windows Server: %ZENSERVER_HOME%\conf\buaDashlet\BUADashlet-LDAPExclusions.xml

On a Linux Server: /etc/opt/microfocus/zenworks/buaDashlet/BUADashlet-LDAPExclusions.xml

By default, the file does not have any filters:

<LDAPExclusions>
     <GroupExclusions>
            <CNFilters>
                 <CNFilter></CNFilter>
            </CNFilters>
     </GroupExclusions>
</LDAPExclusions>

For example, if all workstation groups in the zone follow a specific naming convention and it ends with *GP C and then edit the file and add the following filter:

<LDAPExclusions>
     <GroupExclusions>
            <CNFilters>
                 <CNFilter>*GP C</CNFilter>                 
            </CNFilters>
     </GroupExclusions>
</LDAPExclusions>

All groups that match with the common name ending with *GP C are excluded from being queried from the LDAP. You can also add multiple filters in this file:

<LDAPExclusions>
     <GroupExclusions>
            <CNFilters>
                 <CNFilter>*GP C</CNFilter>
                 <CNFilter>*GP W</CNFilter>
            </CNFilters>
     </GroupExclusions>
</LDAPExclusions>