WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud Foundation
  • VKS
  • Homelab
    • Resources
    • Nested Virtualization
  • VMware Nostalgia
  • Apple
You are here: Home / Automation / What's new in the vSphere 4.1 MOB

What's new in the vSphere 4.1 MOB

07.13.2010 by William Lam // 17 Comments

The vSphere MOB (Managed Object Browser) is not a well known tool and unless you are a developer, you probably do not know of its existence. The simplest way to describe the vSphere MOB is that it is a debugging tool to graphical visualize all entities within the vSphere API through a web browser. It is often used to better understand the vSphere API/inventory and aide in developing your own vSphere application or script. For a detailed deep dive of the vSphere inventory, check out Steve Jin's post here.

The vSphere MOB can be reached by pointing your web browser to either an ESX(i) or vCenter host followed by the path "/mob". You will be prompted for credentials as you normally would prior to gaining access to the MOB.

The vSphere MOB may not always be the easiest to navigate. Understanding the vSphere inventory structure is definitely helpful, otherwise it can be very confusing to users. With the release of vSphere 4.1, there are two major changes in the MOB that can help make the navigation easier for developers.

Previous to vSphere 4.1, the MOB would display managed entities using their Managed Object IDs (MoRef ID) as a way to uniquely identify these objects. This made it very difficult for developers to identify the specific object you are viewing without having to dig further.

In vSphere 4.1, the MOB provides both the MoRef ID and the translated the names of the managed entities.

The vSphere MOB not only displays information about the managed entities but also provides a way to interact with the system. It does this by listing the available API methods for each managed entity at the bottom of the page and can be executed by providing the correct input parameters. The issue arises when trying to execute methods which requires complex input that require more than a simple string or integer value. The format of the input is XML-based and it can be challenging to generate the correct format, especially without any examples.

In the new version of the MOB, you are now presented with an XML template of the required parameters which can then be filled out to execute the method.

The following example will demonstrate the change of an ESXi advanced configuration value for configuring a syslog server:

Once you have filled in the required parameters, you will need to click on the "Invoke Method" to execute the specific method.

Here we verify the advanced configuration key "Syslog.Remote.Hostname" has been changed and is set to our new syslog server.

I think these two changes will make it easier for developers to navigate the vSphere MOB and assist with understanding the vSphere API and it's managed entities.

More from my site

  • How To Initiate a Wipe & Shrink Operation On an SE Sparse Based Disk
  • How to easily disable vMotion & Cross vCenter vMotion for a particular Virtual Machine?
  • How to automate vSphere MOB operations using PowerShell?
  • Creating Custom vSphere Reports is a Breeze with CloudPhysics
  • Enabling/Disabling EVC using the vSphere MOB

Categories // Automation Tags // api, Managed Object Browser, mob, sdk, vSphere, vSphere MOB

Comments

  1. *protectedWill says

    04/01/2016 at 7:05 am

    How can I read the current values for the syslog before making the change?

    Reply

Trackbacks

  1. Having Difficulties Enabling Nested ESXi in vSphere 5.1? | virtuallyGhetto says:
    03/01/2014 at 4:44 pm

    […] IF your CPU has both Intel-VT+EPT or AMD-V+RVI. A quick and easy way to validate this is using the vSphere MOB to retrieve the […]

    Reply
  2. Enabling/Disabling EVC using the vSphere MOB | virtuallyGhetto says:
    03/02/2014 at 6:13 pm

    […] said that, one could still "potentially" automate EVC configurations using the vSphere MOB interface using the private vSphere API, but it may not be ideal and will require some […]

    Reply
  3. There’s a new mob in town, FDM MOB for ESXi 5 | virtuallyGhetto says:
    03/02/2014 at 7:44 pm

    […] right, vSphere is not the only one with a MOB, the new FDM (Fault Domain Manager) feature also includes a MOB view on an ESXi 5.0 hosts that is […]

    Reply
  4. How to Ack & Reset vCenter Alarm implementing hidden API method | virtuallyGhetto says:
    03/03/2014 at 2:37 pm

    […] is a screenshot of the alarmManager in the vSphere MOB and you will notice no methods pertains to resetting an […]

    Reply
  5. Automating ESXi 4.1 Kickstart Tips & Tricks | virtuallyGhetto says:
    03/03/2014 at 2:38 pm

    […] Traffic. One way I solved this problem is creating a python script which connects to the local ESXi MOB and enables Management Traffic on a particular VMkernel interface. I have shared this specific […]

    Reply
  6. How to Access vSphere Remote Console Using vSphere & VMRC API | virtuallyGhetto says:
    12/08/2015 at 8:27 am

    […] method provided by the SessionManager managed object. In this example, we will be using the vSphere MOB to quickly retrieve our session ticket, but in a real implementation, you would programamtically […]

    Reply
  7. How to automate vSphere MOB operations using PowerShell? | virtuallyGhetto says:
    07/13/2016 at 1:07 pm

    […] couple of weeks back I was investigating something that involved the use of the vSphere Managed Object Browser (MOB) and I needed to automate a particular operation. For those of you not familiar with the vSphere […]

    Reply
  8. How to easily disable vMotion & Cross vCenter vMotion for a particular Virtual Machine? | virtuallyGhetto says:
    07/20/2016 at 9:41 am

    […] as an internal vCenter Server API. However, it is possible to access these APIs using the vSphere MOB, but it is not very user friendly nor intuitive. Below is a screenshot of invoking the […]

    Reply
  9. VSAN Managed Object Browser (MOB) in vSphere 6.7 & vSphere 6.7 Update 1 says:
    09/10/2018 at 10:39 am

    […] you have ever spent any time using the vSphere API, you probably have heard of or have used the vSphere Managed Objected Browser (MOB) which is an extremely useful learning and debugging tool when working with the vSphere API. The […]

    Reply
  10. Is vCenter Server & ESXi hosts using VMware Certificate Authority (VMCA) or custom CA certificates? says:
    10/23/2018 at 8:41 am

    […] is a screenshot of the data using the vSphere MOB for an ESXi host that has VMCA-based […]

    Reply
  11. vSphere 7 DRS Scalable Shares Deep Dive - frankdenneman.nl says:
    05/27/2020 at 3:57 am

    […] that we expect you to do during normal operations. To get the share values, you can use the vSphere Managed Object Browser. William (of course, who else) has written extensively about the MOB. Please remember that […]

    Reply
  12. VMware Cloud on AWS – VM Creation Date available in vSphere API says:
    10/17/2020 at 6:46 am

    […] Since I already had a browser open, rather than context switch, I decided to quickly open up the vSphere MOB which is a debugging tool that provides a browser interface to the vSphere SOAP API. While going […]

    Reply
  13. Quick Tip - How to actually disable host encryption mode on ESXi? says:
    07/25/2022 at 7:55 am

    […] mentioned the use of a vSphere API, I figured I can probably figure it out and I turned to the vSphere MOB which is an extremely useful tool for navigating and visualizing the vSphere SOAP APIs. While I was […]

    Reply
  14. Power off VM from Guest OS Reboot capability in vSphere 8 says:
    09/26/2022 at 8:01 am

    […] snippet above will work once you have an updated version of PowerCLI. In the mean time, you can use vSphere MOB and simply pass in single field called rebootPowerOff = "true" to the XML spec or you could even […]

    Reply
  15. How to automate adding a license into vCenter Server with custom label?  says:
    02/06/2023 at 9:39 am

    […] Not to bore you with all the details, but there is a private API for managing licenses with custom labels which is part of the vSphere Lookup Service (LS) API  within vCenter Server. While directly accessing the API through a typical vSphere SDK is not possible, we do have a trick up our sleeve by using the LS Managed Object Browser (MOB) interface, which is similiar to that of the vSphere MOB. […]

    Reply
  16. Managed Object Browser (MOB) do vSphere para solução de problemas avançada – Eduardo Mozart says:
    01/09/2025 at 5:48 am

    […] 1. ^ a b c William Lam, 2010. What's new in the vSphere 4.1 MOB. […]

    Reply

Leave a Reply to WillCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search

Thank Author

Author

William is Distinguished Platform Engineering Architect in the VMware Cloud Foundation (VCF) Division at Broadcom. His primary focus is helping customers and partners build, run and operate a modern Private Cloud using the VMware Cloud Foundation (VCF) platform.

Connect

  • Bluesky
  • Email
  • GitHub
  • LinkedIn
  • Mastodon
  • Reddit
  • RSS
  • Twitter
  • Vimeo

Recent

  • Programmatically accessing the Broadcom Compatibility Guide (BCG) 05/06/2025
  • Quick Tip - Validating Broadcom Download Token  05/01/2025
  • Supported chipsets for the USB Network Native Driver for ESXi Fling 04/23/2025
  • vCenter Identity Federation with Authelia 04/16/2025
  • vCenter Server Identity Federation with Kanidm 04/10/2025

Advertisment

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Copyright WilliamLam.com © 2025