API calls utilizing /appliance/vmon/service fail
search cancel

API calls utilizing /appliance/vmon/service fail

book

Article ID: 400848

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • 3rd party tools utilizing vCenter available vMON API's are failing. 

  • When listing out the service registrations for the lookup service, the following entry is missing:

     Service Product: com.vmware.cis
            Service Type: cis.vmonapi
            Service ID: f9e758f0-6613-4f96-aebc-0d8d660265a6
            Site ID: default-first-site
            Node ID: ace2dffa-5862-4056-b2f5-e2a726b854af
            Owner ID: [email protected]
            Version: 1.0
            Endpoints:
                    Type: com.vmware.appliance.vmon
                    Protocol: vapi.json.http
                    URL: http://localhost:1080/vmonapi

  • In the vCenter - /var/log/vmware/vapi/endpoint/endpoint-access.log The following messages are present:

    20225:2025-05-14T20:56:41.771Z | jetty-default-1810496 | 10.60.130.41 - - [14/May/2025:20:56:41 +0000] "GET /rest/appliance/vmon/service HTTP/1.1" 404 325 "-" "Java/11.0.24" 0

Cause

Due to the above listed missing service registration, the API calls cannot complete correctly.

Resolution

Utilize LSDOCTOR and rebuild the service registrations for the vCenter experiencing the problem:

Using the 'lsdoctor' Tool

Additional Information

The API is deprecated and will be removed in a future version. More information can be found at the following KB:

Deprecation of vMON API service