First : Is it possible to grant user access to only certain realms? For exemple, I'd like to affect user1 to "e1" realm, in which he can only see items related to his realm, not those of "e2" when he logs into the WebUI. I think it's not, as of today, but I'd like to be sure ;-)
Yes if you put a broker in each "isolated" realm. The webui and livestatus are borker module so this is the best way (imho)
Secondly, I created 2 subrealms under the main realm "All" (let's say "e1" ans "e2"). Even though the wiki specifies "realm is: * at least a scheduler *", I had expected that my only scheduler, being attached to the "All" realm could be used for both subrealms as there are members, but it doesn't seem possible. I get a config error on arbiter launch "The realm e1 have hosts but no scheduler!".
Did I miss something, or is it necessary to absolutly have one scheduler for each sub realm ? I know it might seem silly if you think of the example of realms in a global network like in the wiki, but this could avoid having using different schedulers in a mutualised infrastructure for multiple clients (in a single local network).
here is an example from wiki pages that should help you : http://www.shinken-monitoring.org/wiki/setup_distributed_shinken_with_realm?s=realmif it does not help you please send your shinken-specific.cfg with obfuscated names and ip so we can help you point where the config is wrong.