Restrict users to one hostgroup in Icinga Web

So, say that you want to monitor your customers servers with a single icingainstallation, and you want to give the customer access to your icinga-web, but they should only see their own servers. This is how you do:

* Create a hostgroup / customer with the serves in
* Create a group in which you add the principal “icingahostgroups” and then you choose what hostgroup to limit to.
* Add the user to the group
* Make sure that the user don’t have the “Standard users group”, that’ll probably give them rights to see all hosts.

Done! Feel free to ask if you want to.