# How to monitor multiple environments in sensugo

**URL:** <https://discourse.sensu.io/t/how-to-monitor-multiple-environments-in-sensugo/1332>\
**Category:** Sensu Go\
**Created:** [September 3, 2019, 2:13pm UTC](https://discourse.sensu.io/t/how-to-monitor-multiple-environments-in-sensugo/1332 "2019-09-03T14:13:22Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![masifpak](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@masifpak](https://discourse.sensu.io/u/masifpak)\
**Post date:** [September 3, 2019, 2:13pm UTC](https://discourse.sensu.io/t/how-to-monitor-multiple-environments-in-sensugo/1332/1 "2019-09-03T14:13:22Z")

</div>

I install sensugo 5.12. I need to monitor Amazon instances and local cloud instances. I have crerated two more namespaces (No resource yet) but unable to view it on dashboard. I am using admin user. What I am missing. Please guide me.

---

<div class="post-metadata">

**Author:** ![aaronsachs](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/aaronsachs/32/47_2.png) [@aaronsachs](https://discourse.sensu.io/u/aaronsachs)\
**Post date:** [September 3, 2019, 2:33pm UTC](https://discourse.sensu.io/t/how-to-monitor-multiple-environments-in-sensugo/1332/2 "2019-09-03T14:33:32Z")

</div>

@masifpak have you taken a look at our guides on [https://docs.sensu.io/sensu-go/5.12/getting-started/get-started/](https://docs.sensu.io/sensu-go/5.12/getting-started/get-started/)? They’re great resources and should help you understand the basic workflow for Sensu and how to monitor various resources.

---

<div class="post-metadata">

**Author:** ![masifpak](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@masifpak](https://discourse.sensu.io/u/masifpak)\
**Post date:** [September 3, 2019, 2:44pm UTC](https://discourse.sensu.io/t/how-to-monitor-multiple-environments-in-sensugo/1332/3 "2019-09-03T14:44:46Z")

</div>

Yes, I got through and good familiar with flow. There is no help regarding monitoring multiple namespaces.

---

<div class="post-metadata">

**Author:** ![jspaleta](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/jspaleta/32/141_2.png) [@jspaleta](https://discourse.sensu.io/u/jspaleta)\
**Post date:** [September 3, 2019, 7:23pm UTC](https://discourse.sensu.io/t/how-to-monitor-multiple-environments-in-sensugo/1332/4 "2019-09-03T19:23:37Z")

</div>

Hey!

So in the web-ui, on the home screen in the lower right hand section, you see a block that contains a list of the name spaces you have access to.

So when I log into my local sensu dashboard at the moment as the default admin user I see both “default” and “demo”  
To switch from “default” to “demo” I just click demo

Alternatively I can enter the menu from any view via the top left menu icon and see a dropdown namespace selector, so I can switch namespace views that way.

Once i have “demo” selected all page views in the web ui correspond to the resources in the “demo” namespace until i switch back to “default”.

Hope this helps;

---

<div class="post-metadata">

**Author:** ![jspaleta](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/jspaleta/32/141_2.png) [@jspaleta](https://discourse.sensu.io/u/jspaleta)\
**Post date:** [September 3, 2019, 7:29pm UTC](https://discourse.sensu.io/t/how-to-monitor-multiple-environments-in-sensugo/1332/5 "2019-09-03T19:29:15Z")

</div>

If you aren’t see the additional namespaces that you have created, we may need to review your ClusterRoles, Roles, and associated bindings to make sure the RBAC for the namespace is coherent and is allowing the access you expect.

---

<div class="post-metadata">

**Author:** ![masifpak](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@masifpak](https://discourse.sensu.io/u/masifpak)\
**Post date:** [September 4, 2019, 4:24am UTC](https://discourse.sensu.io/t/how-to-monitor-multiple-environments-in-sensugo/1332/6 "2019-09-04T04:24:50Z")

</div>

Thanks for reply. Default admin user don’t have rights to manage multiple namespaces? can we create a cluster-role and cluster role binding to manage multiple namespaces?

---

<div class="post-metadata">

**Author:** ![masifpak](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@masifpak](https://discourse.sensu.io/u/masifpak)\
**Post date:** [September 4, 2019, 5:03am UTC](https://discourse.sensu.io/t/how-to-monitor-multiple-environments-in-sensugo/1332/7 "2019-09-04T05:03:18Z")

</div>

I am doing as following.  
sudo sensuctl cluster-role create clusterrole1 --verb get,list,delete,create --resource events,checks,entities  
sudo sensuctl cluster-role-binding create cluster-role-binding1 --cluster-role=clusterrole1 --user admin --group=cluster-admins

Then I logged in using admin but there is only one default namespace  
I also configured sensuctl with namespace different but response is same.

---

<div class="post-metadata">

**Author:** ![masifpak](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@masifpak](https://discourse.sensu.io/u/masifpak)\
**Post date:** [September 4, 2019, 5:42am UTC](https://discourse.sensu.io/t/how-to-monitor-multiple-environments-in-sensugo/1332/8 "2019-09-04T05:42:45Z")

</div>

Thanks geeks. I had done it. Actually I was looking it in wrong place.
