The Inventory page includes three screens:
- Machine view, showing each monitored host individually
- Groups view, for MongoDB databases, showing database topography
- Agents view, to see the status of each agent and options to start, stop, and view logs
Machine view and Groups view show all registered hosts, with a sparkline summary of host activity (load for OS hosts, throughput for database hosts). You can edit a host’s name, description, tags, and authentication credentials.
In Machine view, the hosts are arranged in a parent/child relationship, where the OS host is the parent, and any database hosts monitored by that OS are children. These rows can be collapsed or expanded.
MongoDB hosts support Groups view, which displays each database and automatically detects whether or not is part of a sharded cluster or a replication set. In addition, it detects and displays if an instance is PRIMARY, SECONDARY, or ARBITER. Lastly, icons indicate whether the machine is a mongos, mongod, or config server. See the screenshot for examples:
If you do not see your sharded cluster, check our troubleshooting page here.
Editing Hosts and Adding Tags
There are currently two ways of editing a host’s information or add tags:
You can edit all the host details by clicking in the gear icon on the right of the list. A popup will appear that will let you edit all of the selected host information in one place.
If you want to edit hosts without leaving the list view, you can use the inline editing feature. When you hover over a host name, description or tag, you will see a pen icon appear, clicking on that icon will allow to change the current value. Then you just click the “apply” or “cancel” button to perform the operation and the value will be updated.
For the name and description is it also possible to double click the text to make it editable.
Learn more about the Agents Dashboard here.