As described in Overview of the Security Model, Multi-Tenancy is a great way to give a control of Opsview Monitor to your end users. It does so by allowing them to create new Hosts and further Roles and Users all within their own secure, private environment.
To use Multi-Tenancy, you must first ensure that your User's Role has the CONFIGURETENANCIES
option checked. This option is located within the 'Configuration' tab, as shown below:
By default, this option is disabled. Once the option is enabled, you should be able to see the 'Multi-
Tenancy' icon within the 'Settings' tab:
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 the previous section. 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.