To add a new Tenancy, navigate to ‘Multi-Tenancy Settings’ within the ‘Settings’ tab. Once loaded, a screen similar to the one below is displayed:
Click on the ‘Add New’ button which will display a window as shown below.
In the above example, we are creating a new Tenancy based on the ‘Opsview only’ Role we created in section 4.2.3. This Role only has access to view and modify hosts within the ‘Monitoring Servers’ Host Group, and can only view Service Checks on those Hosts that are within the service group ‘Application – Opsview’.
After clicking ‘Submit’, the new Tenancy is added:
Note: The primary role cannot be changed after the initial creation, although an administrator can edit the permissions for that role. Opsview will automatically ensure that all other roles in that tenancy will not have more permissions than the primary role.
Now, when a User who has the Role ‘Opsview Servers’ logs in, he will be able to add Hosts, create Roles (if the Role ‘Opsview Servers’ allows), and so on, all based on the Hosts and Service Checks that the primary Role is configured to allow Users to view and edit.