Have you ever needed to monitor the following vRealize products from outside without an agent installed? Below I detail all the useful URL’s / CLI’s, example output and some permissions needed to check and monitor vRA, vCenter, vRO, NSX Manager, vRops, vRLI and vRNI
vROPS – vRealize Operations Manager
This one is simple, just check for ONLINE within <status>
Permissions: No permissions required to access the URL.
URLS:
https://~vRopsServer~/suite-api/api/deployment/node/status
Output:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ops:node-status xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ops="http://webservice.vmware.com/vRealizeOpsMgr/1.0/"> <ops:status>ONLINE</ops:status> <ops:systemTime>1509719088614</ops:systemTime> <ops:humanlyReadableSystemTime>03-11-2017 03:24:48 CET</ops:humanlyReadableSystemTime> </ops:node-status>
vRNI – vRealize Network Insight
vRLI does not have a URL to check the status of the appliance, the only way I found to do this was by SSHing to the Platform VM and checking via a CLI.
Basically the expected state is everything is running.
Permissions: SSH with consoleuser and password (default) ark1nc0ns0l3
Command: show-service-status (check out my powershell script here which i use to monitor this on a schedule)
Output:
(cli) show-service-status ElasticSearch is running. HMaster is running. HRegionServer is running. Kafka is running. QuorumPeerMain is running. ResourceManager is running. NodeManager is running. SaasListener is running. restapilayer is running. ClusterBasedJobCoordinator is running. SamzaContainer is running. Launcher is running. postgresql is running. nginx is running. patroni is running. expressJsapp is running. All required services are running.
vCenter – Virtual Center (appliance)
Below are several URL’s to monitor, with the vCenter API you will need to first call the auth url to get a session ID before you can call the Health URLS below.
https://~vCenter~/rest/com/vmware/cis/session
Permissions: The user will require administrator permissions to the vCenter
URL:
https://~vCenter~/rest/appliance/health/applmgmt
OUTPUT:
{ "value": "green" }
URL:
https://~vCenter~/rest/appliance/health/storage
OUTPUT:
{ "value": "green" }
URL:
https://~vCenter~/rest/appliance/health/system
OUTPUT:
{ "value": "green" }
URL:
https://~vCenter~/rest/appliance/health/system/lastcheck
OUTPUT:
{ "value": "2017-11-03T14:32:53.000Z" }
URL:
https://~vCenter~/rest/appliance/vmon/service
OUTPUT:
{ "value": [ { "value": { "name_key": "cis.applmgmt.ServiceName", "startup_type": "AUTOMATIC", "health_messages": [], "health": "HEALTHY", "description_key": "cis.applmgmt.ServiceDescription", "state": "STARTED" }, "key": "applmgmt" }, { "value": { "name_key": "cis.cm.ServiceName", "startup_type": "AUTOMATIC", "health_messages": [], "health": "HEALTHY", "description_key": "cis.cm.ServiceDescription", "state": "STARTED" }, "key": "cm" }, { "value": { "name_key": "cis.content-library.ServiceName", "startup_type": "AUTOMATIC", "health_messages": [ { "args": [], "default_message": "Database server connection is GREEN.", "id": "com.vmware.vdcs.vsphere-cs-lib.db_health_green" } ], "health": "HEALTHY", "description_key": "cis.content-library.ServiceDescription", "state": "STARTED" }, "key": "content-library" }, { "value": { "name_key": "cis.eam.ServiceName", "startup_type": "AUTOMATIC", "health_messages": [ { "args": [], "default_message": "", "id": "cis.eam.statusOK" } ], "health": "HEALTHY", "description_key": "cis.eam.ServiceDescription", "state": "STARTED" }, "key": "eam" }, { "value": { "name_key": "cis.imagebuilder.ServiceName", "startup_type": "AUTOMATIC", "health_messages": [ { "args": [], "default_message": "Health status is green", "id": "com.vmware.imagebuilder.healthStatus.green" } ], "health": "HEALTHY", "description_key": "cis.imagebuilder.ServiceDescription", "state": "STARTED" }, "key": "imagebuilder" }, { "value": { "name_key": "cis.mbcs.ServiceName", "startup_type": "MANUAL", "description_key": "cis.mbcs.ServiceDescription", "state": "STOPPED" }, "key": "mbcs" }, { "value": { "name_key": "cis.netdumper.ServiceName", "startup_type": "MANUAL", "description_key": "cis.netdumper.ServiceDescription", "state": "STOPPED" }, "key": "netdumper" }, { "value": { "name_key": "cis.perfcharts.ServiceName", "startup_type": "AUTOMATIC", "health_messages": [ { "args": [], "default_message": "health.statsReoptInitalizer.green", "id": "health.statsReoptInitalizer.green" } ], "health": "HEALTHY", "description_key": "cis.perfcharts.ServiceDescription", "state": "STARTED" }, "key": "perfcharts" }, { "value": { "name_key": "cis.rbd.ServiceName", "startup_type": "AUTOMATIC", "health_messages": [], "health": "HEALTHY", "description_key": "cis.rbd.ServiceDescription", "state": "STARTED" }, "key": "rbd" }, { "value": { "name_key": "cis.rhttpproxy.ServiceName", "startup_type": "AUTOMATIC", "health_messages": [], "health": "HEALTHY", "description_key": "cis.rhttpproxy.ServiceDescription", "state": "STARTED" }, "key": "rhttpproxy" }, { "value": { "name_key": "cis.sca.ServiceName", "startup_type": "AUTOMATIC", "health_messages": [], "health": "HEALTHY", "description_key": "cis.sca.ServiceDescription", "state": "STARTED" }, "key": "sca" }, { "value": { "name_key": "cis.sps.ServiceName", "startup_type": "AUTOMATIC", "health_messages": [], "health": "HEALTHY", "description_key": "cis.sps.ServiceDescription", "state": "STARTED" }, "key": "sps" }, { "value": { "name_key": "cis.statsmonitor.ServiceName", "startup_type": "AUTOMATIC", "health_messages": [ { "args": [], "default_message": "Appliance monitoring service is healthy.", "id": "com.vmware.applmgmt.mon.health.healthy" } ], "health": "HEALTHY", "description_key": "cis.statsmonitor.ServiceDescription", "state": "STARTED" }, "key": "statsmonitor" }, { "value": { "name_key": "cis.updatemgr.ServiceName", "startup_type": "AUTOMATIC", "health_messages": [], "health": "HEALTHY", "description_key": "cis.updatemgr.ServiceDescription", "state": "STARTED" }, "key": "updatemgr" }, { "value": { "name_key": "cis.vapi-endpoint.ServiceName", "startup_type": "AUTOMATIC", "health_messages": [ { "args": [ "2017-11-03T13:15:44CET", "2017-11-03T13:15:45CET" ], "default_message": "Current vApi Endpoint health status is created between 2017-11-03T13:15:44CET and 2017-11-03T13:15:45CET.", "id": "com.vmware.vapi.endpoint.healthStatusProducedTimes" } ], "health": "HEALTHY", "description_key": "cis.vapi-endpoint.ServiceDescription", "state": "STARTED" }, "key": "vapi-endpoint" }, { "value": { "name_key": "cis.vcha.ServiceName", "startup_type": "DISABLED", "description_key": "cis.vcha.ServiceDescription", "state": "STOPPED" }, "key": "vcha" }, { "value": { "name_key": "cis.vmcam.ServiceName", "startup_type": "MANUAL", "description_key": "cis.vmcam.ServiceDescription", "state": "STOPPED" }, "key": "vmcam" }, { "value": { "name_key": "cis.vmonapi.ServiceName", "startup_type": "AUTOMATIC", "health_messages": [], "health": "HEALTHY", "description_key": "cis.vmonapi.ServiceDescription", "state": "STARTED" }, "key": "vmonapi" }, { "value": { "name_key": "cis.vmware-vpostgres.ServiceName", "startup_type": "AUTOMATIC", "health_messages": [ { "args": [], "default_message": "VMware Postgres service is healthy.", "id": "cis.vmware-vpostgres.health.healthy" } ], "health": "HEALTHY", "description_key": "cis.vmware-vpostgres.ServiceDescription", "state": "STARTED" }, "key": "vmware-vpostgres" }, { "value": { "name_key": "cis.vpxd.ServiceName", "startup_type": "AUTOMATIC", "health_messages": [ { "args": [ "vCenter Server", "GREEN" ], "default_message": "{0} health is {1}", "id": "vc.health.statuscode" }, { "args": [ "VirtualCenter Database", "GREEN" ], "default_message": "{0} health is {1}", "id": "vc.health.statuscode" } ], "health": "HEALTHY", "description_key": "cis.vpxd.ServiceDescription", "state": "STARTED" }, "key": "vpxd" }, { "value": { "name_key": "cis.vpxd-svcs.ServiceName", "startup_type": "AUTOMATIC", "health_messages": [ { "args": [], "default_message": "Tagging service is in a healthy state", "id": "cis.tagging.health.status" } ], "health": "HEALTHY", "description_key": "cis.vpxd-svcs.ServiceDescription", "state": "STARTED" }, "key": "vpxd-svcs" }, { "value": { "name_key": "cis.vsan-health.ServiceName", "startup_type": "AUTOMATIC", "health_messages": [], "health": "HEALTHY", "description_key": "cis.vsan-health.ServiceDescription", "state": "STARTED" }, "key": "vsan-health" }, { "value": { "name_key": "cis.vsm.ServiceName", "startup_type": "AUTOMATIC", "health_messages": [], "health": "HEALTHY", "description_key": "cis.vsm.ServiceDescription", "state": "STARTED" }, "key": "vsm" }, { "value": { "name_key": "cis.vsphere-client.ServiceName", "startup_type": "AUTOMATIC", "health_messages": [], "health": "HEALTHY", "description_key": "cis.vsphere-client.ServiceDescription", "state": "STARTED" }, "key": "vsphere-client" }, { "value": { "name_key": "cis.vsphere-ui.ServiceName", "startup_type": "AUTOMATIC", "health_messages": [], "health": "HEALTHY", "description_key": "cis.vsphere-ui.ServiceDescription", "state": "STARTED" }, "key": "vsphere-ui" } ] }
vRA – vRealize Automation
Useful information for all the services that make up vRA.
Permissions: No permissions required to access the URL
URLS:
https://~vRAServer~/vcac/services/api/status
The URL above will give you the following information
<serviceRegistryStatus> <initialized>true</initialized> <serviceInitializationStatus>REGISTERED</serviceInitializationStatus> <serviceName>shell-ui-app</serviceName> <solutionUser>cafe-SVUGCZjrJQ</solutionUser> <startedTime>2018-01-23T13:36:56.460Z</startedTime> <serviceRegistrationId>0d7e41f1-fcb0-45ca-ad3d-1e2144195a51</serviceRegistrationId> <sslCertificateInfo> <identityCertificateExists>true</identityCertificateExists> <issuerName>CN=vra.vman.ch,OU=IT,O=vMan,C=CH</issuerName> <notValidAfter>2022-07-07T17:49:50Z</notValidAfter> <notValidBefore>2017-07-08T17:49:50Z</notValidBefore> <principalName>CN=vra.vman.ch,OU=IT,O=vMan,C=CH</principalName> <thumbprint>3C:19:83:AA:B9:7A:86:57:E3:12:78:0E:10:F1:47:8D:0B:85:D4:98</thumbprint> </sslCertificateInfo> </serviceRegistryStatus>
another useful url to hit for vRA
https://~vRAServer~/component-registry/services/status/current
The URL above will give you the following information which is useful to track the serviceInitializationStatus
<content> <serviceStatus serviceId="36435008-648a-43be-bd6a-b372c8412a5c" serviceName="console-proxy-service" serviceTypeId="com.vmware.csp.component.console.proxy.service" notAvailable="false"> <lastUpdated>2018-01-23T13:36:04.352Z</lastUpdated> <statusEndPointUrl>https://vra.vman.ch/console-proxy-service/api/status</statusEndPointUrl> <serviceStatus> <initialized>true</initialized> <serviceInitializationStatus>REGISTERED</serviceInitializationStatus> <serviceName>console-proxy-service</serviceName> <solutionUser>cafe-SVUGCZjrJQ</solutionUser> <startedTime>2018-01-23T13:36:04.165Z</startedTime> <defaultServiceEndpointType>com.vmware.csp.component.console.proxy.service.api</defaultServiceEndpointType> <serviceRegistrationId>36435008-648a-43be-bd6a-b372c8412a5c</serviceRegistrationId> <sslCertificateInfo> <identityCertificateExists>true</identityCertificateExists> <issuerName>CN=vra.vman.ch,OU=IT,O=vMan,C=CH</issuerName> <notValidAfter>2022-07-07T17:49:50Z</notValidAfter> <notValidBefore>2017-07-08T17:49:50Z</notValidBefore> <principalName>CN=vra.vman.ch,OU=IT,O=vMan,C=CH</principalName> <thumbprint>3C:19:83:AA:B9:7A:86:57:E3:12:78:0E:10:F1:47:8D:0B:85:D4:98</thumbprint> </sslCertificateInfo> </serviceStatus> </serviceStatus> <serviceStatus serviceId="718a77b6-ec06-48b2-964a-ad5a0cc1cb10" serviceName="authorization" serviceTypeId="com.vmware.csp.cafe.authorization" notAvailable="false"> <lastUpdated>2018-01-23T13:32:24.424Z</lastUpdated> <statusEndPointUrl>https://vra.vman.ch/identity/api/status</statusEndPointUrl> <serviceStatus> <initialized>true</initialized> <serviceInitializationStatus>REGISTERED</serviceInitializationStatus> <serviceName>identity</serviceName> <solutionUser>cafe-SVUGCZjrJQ</solutionUser> <startedTime>2018-01-23T13:32:24.353Z</startedTime> <defaultServiceEndpointType>com.vmware.csp.core.cafe.identity.api</defaultServiceEndpointType> <serviceRegistrationId>b886c80a-242b-4863-a94e-7dd8e0c0a7f2</serviceRegistrationId> <sslCertificateInfo> <identityCertificateExists>true</identityCertificateExists> <issuerName>CN=vra.vman.ch,OU=IT,O=vMan,C=CH</issuerName> <notValidAfter>2022-07-07T17:49:50Z</notValidAfter> <notValidBefore>2017-07-08T17:49:50Z</notValidBefore> <principalName>CN=vra.vman.ch,OU=IT,O=vMan,C=CH</principalName> <thumbprint>3C:19:83:AA:B9:7A:86:57:E3:12:78:0E:10:F1:47:8D:0B:85:D4:98</thumbprint> </sslCertificateInfo> </serviceStatus> </serviceStatus> <serviceStatus serviceId="a0c5eaf2-8193-4e9b-b940-630a6a4b1905" serviceName="container-service" serviceTypeId="com.vmware.csp.component.cafe.container" notAvailable="false"> <lastUpdated>2018-01-23T13:36:07.912Z</lastUpdated> <statusEndPointUrl>https://vra.vman.ch/container-service/api/status</statusEndPointUrl> <serviceStatus> <initialized>true</initialized> <serviceInitializationStatus>REGISTERED</serviceInitializationStatus> <serviceName>container-service</serviceName> <solutionUser>cafe-SVUGCZjrJQ</solutionUser> <startedTime>2018-01-23T13:36:13.132Z</startedTime> <defaultServiceEndpointType>com.vmware.csp.component.cafe.container.api</defaultServiceEndpointType> <serviceRegistrationId>a0c5eaf2-8193-4e9b-b940-630a6a4b1905</serviceRegistrationId> <sslCertificateInfo> <identityCertificateExists>true</identityCertificateExists> <issuerName>CN=vra.vman.ch,OU=IT,O=vMan,C=CH</issuerName> <notValidAfter>2022-07-07T17:49:50Z</notValidAfter> <notValidBefore>2017-07-08T17:49:50Z</notValidBefore> <principalName>CN=vra.vman.ch,OU=IT,O=vMan,C=CH</principalName> <thumbprint>3C:19:83:AA:B9:7A:86:57:E3:12:78:0E:10:F1:47:8D:0B:85:D4:98</thumbprint> </sslCertificateInfo> </serviceStatus> </serviceStatus> <serviceStatus serviceId="cb482cc1-ac04-4615-8c3f-1b90987e29e2" serviceName="authentication" serviceTypeId="com.vmware.csp.cafe.authentication" notAvailable="false"> <lastUpdated>2018-01-23T13:32:24.685Z</lastUpdated> <statusEndPointUrl>https://vra.vman.ch/identity/api/status</statusEndPointUrl> <serviceStatus> <initialized>true</initialized> <serviceInitializationStatus>REGISTERED</serviceInitializationStatus> <serviceName>identity</serviceName> <solutionUser>cafe-SVUGCZjrJQ</solutionUser> <startedTime>2018-01-23T13:32:24.353Z</startedTime> <defaultServiceEndpointType>com.vmware.csp.core.cafe.identity.api</defaultServiceEndpointType> <serviceRegistrationId>b886c80a-242b-4863-a94e-7dd8e0c0a7f2</serviceRegistrationId> <sslCertificateInfo> <identityCertificateExists>true</identityCertificateExists> <issuerName>CN=vra.vman.ch,OU=IT,O=vMan,C=CH</issuerName> <notValidAfter>2022-07-07T17:49:50Z</notValidAfter> <notValidBefore>2017-07-08T17:49:50Z</notValidBefore> <principalName>CN=vra.vman.ch,OU=IT,O=vMan,C=CH</principalName> <thumbprint>3C:19:83:AA:B9:7A:86:57:E3:12:78:0E:10:F1:47:8D:0B:85:D4:98</thumbprint> </sslCertificateInfo> </serviceStatus> </serviceStatus> <serviceStatus serviceId="fc8ed060-11d2-4f09-8829-1d3329a53288" serviceName="iaas-service" serviceTypeId="com.vmware.csp.iaas.blueprint.service" notAvailable="false"> <lastUpdated>2018-02-13T03:12:03.373Z</lastUpdated> <statusEndPointUrl>https://iaas.vman.ch/WAPI/api/status</statusEndPointUrl> <serviceStatus> <initialized>true</initialized> <serviceInitializationStatus>REGISTERED</serviceInitializationStatus> <serviceName>iaas-service</serviceName> <defaultServiceEndpointType>com.vmware.csp.iaas.api</defaultServiceEndpointType> </serviceStatus> </serviceStatus> <serviceStatus serviceId="ca1541af-0e69-4e81-8a3b-7b09673fa907" serviceName="notification-service" serviceTypeId="com.vmware.csp.cafe.notification" notAvailable="false"> <lastUpdated>2018-01-23T13:32:34.230Z</lastUpdated> <statusEndPointUrl>https://vra.vman.ch/notification-service/api/status</statusEndPointUrl> <serviceStatus> <initialized>true</initialized> <serviceInitializationStatus>REGISTERED</serviceInitializationStatus> <serviceName>notification-service</serviceName> <solutionUser>cafe-SVUGCZjrJQ</solutionUser> <startedTime>2018-01-23T13:32:34.757Z</startedTime> <defaultServiceEndpointType>com.vmware.csp.cafe.notification.api</defaultServiceEndpointType> <serviceRegistrationId>ca1541af-0e69-4e81-8a3b-7b09673fa907</serviceRegistrationId> <sslCertificateInfo> <identityCertificateExists>true</identityCertificateExists> <issuerName>CN=vra.vman.ch,OU=IT,O=vMan,C=CH</issuerName> <notValidAfter>2022-07-07T17:49:50Z</notValidAfter> <notValidBefore>2017-07-08T17:49:50Z</notValidBefore> <principalName>CN=vra.vman.ch,OU=IT,O=vMan,C=CH</principalName> <thumbprint>3C:19:83:AA:B9:7A:86:57:E3:12:78:0E:10:F1:47:8D:0B:85:D4:98</thumbprint> </sslCertificateInfo> </serviceStatus> </serviceStatus> <serviceStatus serviceId="5756fbb8-ff73-429a-8a86-f8664e0eed61" serviceName="licensing-service" serviceTypeId="com.vmware.csp.core.cafe.licensing" notAvailable="false"> <lastUpdated>2018-01-23T13:32:01.969Z</lastUpdated> <statusEndPointUrl>https://vra.vman.ch/component-registry/api/status</statusEndPointUrl> <serviceStatus> <initialized>true</initialized> <serviceInitializationStatus>REGISTERED</serviceInitializationStatus> <serviceName>component-registry</serviceName> <solutionUser>cafe-SVUGCZjrJQ</solutionUser> <startedTime>2018-01-23T13:32:03.936Z</startedTime> <sslCertificateInfo> <identityCertificateExists>false</identityCertificateExists> </sslCertificateInfo> </serviceStatus> </serviceStatus> <serviceStatus serviceId="27e9be7c-5c26-40ad-b9d8-f3f4c1fdcfad" serviceName="plugin-service" serviceTypeId="com.vmware.csp.core.plugin.service" notAvailable="false"> <lastUpdated>2018-01-23T13:32:02.609Z</lastUpdated> <statusEndPointUrl>https://vra.vman.ch/component-registry/api/status</statusEndPointUrl> <serviceStatus> <initialized>true</initialized> <serviceInitializationStatus>REGISTERED</serviceInitializationStatus> <serviceName>component-registry</serviceName> <solutionUser>cafe-SVUGCZjrJQ</solutionUser> <startedTime>2018-01-23T13:32:03.936Z</startedTime> <sslCertificateInfo> <identityCertificateExists>false</identityCertificateExists> </sslCertificateInfo> </serviceStatus> </serviceStatus> <serviceStatus serviceId="95ca2220-c090-41cb-8836-d7159f0f2a2a" serviceName="component-registry" serviceTypeId="com.vmware.csp.core.cafe.componentregistry" notAvailable="false"> <lastUpdated>2018-01-23T13:32:03.792Z</lastUpdated> <statusEndPointUrl>https://vra.vman.ch/component-registry/api/status</statusEndPointUrl> <serviceStatus> <initialized>true</initialized> <serviceInitializationStatus>REGISTERED</serviceInitializationStatus> <serviceName>component-registry</serviceName> <solutionUser>cafe-SVUGCZjrJQ</solutionUser> <startedTime>2018-01-23T13:32:03.936Z</startedTime> <sslCertificateInfo> <identityCertificateExists>false</identityCertificateExists> </sslCertificateInfo> </serviceStatus> </serviceStatus> <serviceStatus serviceId="dae95267-bd3d-4d3b-a92a-5a49104df965" serviceName="eventlog-service" serviceTypeId="com.vmware.csp.cafe.eventlog" notAvailable="false"> <lastUpdated>2018-01-23T13:32:17.850Z</lastUpdated> <statusEndPointUrl>https://vra.vman.ch/event-broker-service/api/status</statusEndPointUrl> <serviceStatus> <initialized>true</initialized> <serviceInitializationStatus>REGISTERED</serviceInitializationStatus> <serviceName>event-broker-service</serviceName> <solutionUser>cafe-SVUGCZjrJQ</solutionUser> <startedTime>2018-01-23T13:32:17.570Z</startedTime> <defaultServiceEndpointType>com.vmware.csp.cafe.event.broker.api</defaultServiceEndpointType> <serviceRegistrationId>673a4c8b-5b81-4893-b905-4ca71f2a43e1</serviceRegistrationId> <sslCertificateInfo> <identityCertificateExists>true</identityCertificateExists> <issuerName>CN=vra.vman.ch,OU=IT,O=vMan,C=CH</issuerName> <notValidAfter>2022-07-07T17:49:50Z</notValidAfter> <notValidBefore>2017-07-08T17:49:50Z</notValidBefore> <principalName>CN=vra.vman.ch,OU=IT,O=vMan,C=CH</principalName> <thumbprint>3C:19:83:AA:B9:7A:86:57:E3:12:78:0E:10:F1:47:8D:0B:85:D4:98</thumbprint> </sslCertificateInfo> </serviceStatus> </serviceStatus> <serviceStatus serviceId="abb163a6-ec5c-42aa-be7b-50cdbfc3a2d6" serviceName="healthbroker-proxy-server" serviceTypeId="com.vmware.csp.component.healthbroker.proxy" notAvailable="false"> <lastUpdated>2018-01-23T13:36:23.434Z</lastUpdated> <statusEndPointUrl>https://vra.vman.ch/healthbroker-proxy-server/api/status</statusEndPointUrl> <serviceStatus> <initialized>true</initialized> <serviceInitializationStatus>REGISTERED</serviceInitializationStatus> <serviceName>healthbroker-proxy-server</serviceName> <solutionUser>cafe-SVUGCZjrJQ</solutionUser> <startedTime>2018-01-23T13:36:27.308Z</startedTime> <defaultServiceEndpointType>com.vmware.csp.component.healthbroker.proxy.api</defaultServiceEndpointType> <serviceRegistrationId>abb163a6-ec5c-42aa-be7b-50cdbfc3a2d6</serviceRegistrationId> <sslCertificateInfo> <identityCertificateExists>true</identityCertificateExists> <issuerName>CN=vra.vman.ch,OU=IT,O=vMan,C=CH</issuerName> <notValidAfter>2022-07-07T17:49:50Z</notValidAfter> <notValidBefore>2017-07-08T17:49:50Z</notValidBefore> <principalName>CN=vra.vman.ch,OU=IT,O=vMan,C=CH</principalName> <thumbprint>3C:19:83:AA:B9:7A:86:57:E3:12:78:0E:10:F1:47:8D:0B:85:D4:98</thumbprint> </sslCertificateInfo> </serviceStatus> </serviceStatus> <serviceStatus serviceId="b886c80a-242b-4863-a94e-7dd8e0c0a7f2" serviceName="identity" serviceTypeId="com.vmware.csp.core.cafe.identity" notAvailable="false"> <lastUpdated>2018-01-23T13:32:21.092Z</lastUpdated> <statusEndPointUrl>https://vra.vman.ch/identity/api/status</statusEndPointUrl> <serviceStatus> <initialized>true</initialized> <serviceInitializationStatus>REGISTERED</serviceInitializationStatus> <serviceName>identity</serviceName> <solutionUser>cafe-SVUGCZjrJQ</solutionUser> <startedTime>2018-01-23T13:32:24.353Z</startedTime> <defaultServiceEndpointType>com.vmware.csp.core.cafe.identity.api</defaultServiceEndpointType> <serviceRegistrationId>b886c80a-242b-4863-a94e-7dd8e0c0a7f2</serviceRegistrationId> <sslCertificateInfo> <identityCertificateExists>true</identityCertificateExists> <issuerName>CN=vra.vman.ch,OU=IT,O=vMan,C=CH</issuerName> <notValidAfter>2022-07-07T17:49:50Z</notValidAfter> <notValidBefore>2017-07-08T17:49:50Z</notValidBefore> <principalName>CN=vra.vman.ch,OU=IT,O=vMan,C=CH</principalName> <thumbprint>3C:19:83:AA:B9:7A:86:57:E3:12:78:0E:10:F1:47:8D:0B:85:D4:98</thumbprint> </sslCertificateInfo> </serviceStatus> </serviceStatus> <serviceStatus serviceId="834c5618-b217-4b7e-9167-94dc6772c496" serviceName="sts-service" serviceTypeId="com.vmware.cis.core.sso" notAvailable="false"> <lastUpdated>2018-01-16T02:36:07.425Z</lastUpdated> <statusEndPointUrl>https://vra.vman.ch:443/SAAS/API/1.0/REST/system/health</statusEndPointUrl> <serviceStatus> <initialized>true</initialized> <serviceInitializationStatus>REGISTERED</serviceInitializationStatus> </serviceStatus> </serviceStatus> <serviceStatus serviceId="4f6b7ee5-081a-403d-ace7-a13b45fec12a" serviceName="iaas-proxy-provider" serviceTypeId="com.vmware.csp.component.iaas.proxy.provider" notAvailable="false"> <lastUpdated>2018-01-23T13:36:31.706Z</lastUpdated> <statusEndPointUrl>https://vra.vman.ch/iaas-proxy-provider/api/status</statusEndPointUrl> <serviceStatus> <initialized>true</initialized> <serviceInitializationStatus>REGISTERED</serviceInitializationStatus> <serviceName>iaas-proxy-provider</serviceName> <solutionUser>cafe-SVUGCZjrJQ</solutionUser> <startedTime>2018-01-23T13:36:32.689Z</startedTime> <defaultServiceEndpointType>com.vmware.csp.component.iaas.proxy.provider.api</defaultServiceEndpointType> <serviceRegistrationId>4f6b7ee5-081a-403d-ace7-a13b45fec12a</serviceRegistrationId> <sslCertificateInfo> <identityCertificateExists>true</identityCertificateExists> <issuerName>CN=vra.vman.ch,OU=IT,O=vMan,C=CH</issuerName> <notValidAfter>2022-07-07T17:49:50Z</notValidAfter> <notValidBefore>2017-07-08T17:49:50Z</notValidBefore> <principalName>CN=vra.vman.ch,OU=IT,O=vMan,C=CH</principalName> <thumbprint>3C:19:83:AA:B9:7A:86:57:E3:12:78:0E:10:F1:47:8D:0B:85:D4:98</thumbprint> </sslCertificateInfo> </serviceStatus> </serviceStatus> <serviceStatus serviceId="515dfd92-40ee-44c4-87fc-eca6258bdfc0" serviceName="fabric-service" serviceTypeId="com.vmware.csp.fabric.cafe.fabric" notAvailable="false"> <lastUpdated>2018-01-23T13:36:35.551Z</lastUpdated> <statusEndPointUrl>https://vra.vman.ch/iaas-proxy-provider/api/status</statusEndPointUrl> <serviceStatus> <initialized>true</initialized> <serviceInitializationStatus>REGISTERED</serviceInitializationStatus> <serviceName>iaas-proxy-provider</serviceName> <solutionUser>cafe-SVUGCZjrJQ</solutionUser> <startedTime>2018-01-23T13:36:32.689Z</startedTime> <defaultServiceEndpointType>com.vmware.csp.component.iaas.proxy.provider.api</defaultServiceEndpointType> <serviceRegistrationId>4f6b7ee5-081a-403d-ace7-a13b45fec12a</serviceRegistrationId> <sslCertificateInfo> <identityCertificateExists>true</identityCertificateExists> <issuerName>CN=vra.vman.ch,OU=IT,O=vMan,C=CH</issuerName> <notValidAfter>2022-07-07T17:49:50Z</notValidAfter> <notValidBefore>2017-07-08T17:49:50Z</notValidBefore> <principalName>CN=vra.vman.ch,OU=IT,O=vMan,C=CH</principalName> <thumbprint>3C:19:83:AA:B9:7A:86:57:E3:12:78:0E:10:F1:47:8D:0B:85:D4:98</thumbprint> </sslCertificateInfo> </serviceStatus> </serviceStatus> <serviceStatus serviceId="ff53ac72-375f-4905-820a-936cb3223dc3" serviceName="portal-service" serviceTypeId="com.vmware.csp.core.portal.service" notAvailable="false"> <lastUpdated>2018-01-23T13:36:55.499Z</lastUpdated> <statusEndPointUrl>https://vra.vman.ch/portal-service/api/status</statusEndPointUrl> <serviceStatus> <initialized>true</initialized> <serviceInitializationStatus>REGISTERED</serviceInitializationStatus> <serviceName>portal-service</serviceName> <solutionUser>cafe-SVUGCZjrJQ</solutionUser> <startedTime>2018-01-23T13:36:58.556Z</startedTime> <defaultServiceEndpointType>com.vmware.csp.core.portal.service.api</defaultServiceEndpointType> <serviceRegistrationId>ff53ac72-375f-4905-820a-936cb3223dc3</serviceRegistrationId> <sslCertificateInfo> <identityCertificateExists>true</identityCertificateExists> <issuerName>CN=vra.vman.ch,OU=IT,O=vMan,C=CH</issuerName> <notValidAfter>2022-07-07T17:49:50Z</notValidAfter> <notValidBefore>2017-07-08T17:49:50Z</notValidBefore> <principalName>CN=vra.vman.ch,OU=IT,O=vMan,C=CH</principalName> <thumbprint>3C:19:83:AA:B9:7A:86:57:E3:12:78:0E:10:F1:47:8D:0B:85:D4:98</thumbprint> </sslCertificateInfo> </serviceStatus> </serviceStatus> <serviceStatus serviceId="5ee2d626-5356-4006-9b1a-0b376bfb4d1e" serviceName="reservation-service" serviceTypeId="com.vmware.vcac.core.cafe.reservation" notAvailable="false"> <lastUpdated>2018-01-23T13:37:15.567Z</lastUpdated> <statusEndPointUrl>https://vra.vman.ch/reservation-service/api/status</statusEndPointUrl> <serviceStatus> <initialized>true</initialized> <serviceInitializationStatus>REGISTERED</serviceInitializationStatus> <serviceName>reservation-service</serviceName> <solutionUser>cafe-SVUGCZjrJQ</solutionUser> <startedTime>2018-01-23T13:37:18.330Z</startedTime> <defaultServiceEndpointType>com.vmware.vcac.core.cafe.reservation.api</defaultServiceEndpointType> <serviceRegistrationId>5ee2d626-5356-4006-9b1a-0b376bfb4d1e</serviceRegistrationId> <sslCertificateInfo> <identityCertificateExists>true</identityCertificateExists> <issuerName>CN=vra.vman.ch,OU=IT,O=vMan,C=CH</issuerName> <notValidAfter>2022-07-07T17:49:50Z</notValidAfter> <notValidBefore>2017-07-08T17:49:50Z</notValidBefore> <principalName>CN=vra.vman.ch,OU=IT,O=vMan,C=CH</principalName> <thumbprint>3C:19:83:AA:B9:7A:86:57:E3:12:78:0E:10:F1:47:8D:0B:85:D4:98</thumbprint> </sslCertificateInfo> </serviceStatus> </serviceStatus> <serviceStatus serviceId="02142c02-147e-4fd4-a59c-a28239e79bbb" serviceName="ipam-service" serviceTypeId="com.vmware.csp.component.ipam.service" notAvailable="false"> <lastUpdated>2018-01-23T13:33:15.047Z</lastUpdated> <statusEndPointUrl>https://vra.vman.ch/ipam-service/api/status</statusEndPointUrl> <serviceStatus> <initialized>true</initialized> <serviceInitializationStatus>REGISTERED</serviceInitializationStatus> <serviceName>ipam-service</serviceName> <solutionUser>cafe-SVUGCZjrJQ</solutionUser> <startedTime>2018-01-23T13:33:16.100Z</startedTime> <defaultServiceEndpointType>com.vmware.csp.component.ipam.service.api</defaultServiceEndpointType> <serviceRegistrationId>02142c02-147e-4fd4-a59c-a28239e79bbb</serviceRegistrationId> <sslCertificateInfo> <identityCertificateExists>true</identityCertificateExists> <issuerName>CN=vra.vman.ch,OU=IT,O=vMan,C=CH</issuerName> <notValidAfter>2022-07-07T17:49:50Z</notValidAfter> <notValidBefore>2017-07-08T17:49:50Z</notValidBefore> <principalName>CN=vra.vman.ch,OU=IT,O=vMan,C=CH</principalName> <thumbprint>3C:19:83:AA:B9:7A:86:57:E3:12:78:0E:10:F1:47:8D:0B:85:D4:98</thumbprint> </sslCertificateInfo> </serviceStatus> </serviceStatus> <serviceStatus serviceId="2e40969f-62de-400b-bc4a-fa029082fbcd" serviceName="branding-service" serviceTypeId="com.vmware.csp.core.branding.service" notAvailable="false"> <lastUpdated>2018-01-23T13:33:38.623Z</lastUpdated> <statusEndPointUrl>https://vra.vman.ch/branding-service/api/status</statusEndPointUrl> <serviceStatus> <initialized>true</initialized> <serviceInitializationStatus>REGISTERED</serviceInitializationStatus> <serviceName>branding-service</serviceName> <solutionUser>cafe-SVUGCZjrJQ</solutionUser> <startedTime>2018-01-23T13:33:42.488Z</startedTime> <defaultServiceEndpointType>com.vmware.csp.core.branding.service.api</defaultServiceEndpointType> <serviceRegistrationId>2e40969f-62de-400b-bc4a-fa029082fbcd</serviceRegistrationId> <sslCertificateInfo> <identityCertificateExists>true</identityCertificateExists> <issuerName>CN=vra.vman.ch,OU=IT,O=vMan,C=CH</issuerName> <notValidAfter>2022-07-07T17:49:50Z</notValidAfter> <notValidBefore>2017-07-08T17:49:50Z</notValidBefore> <principalName>CN=vra.vman.ch,OU=IT,O=vMan,C=CH</principalName> <thumbprint>3C:19:83:AA:B9:7A:86:57:E3:12:78:0E:10:F1:47:8D:0B:85:D4:98</thumbprint> </sslCertificateInfo> </serviceStatus> </serviceStatus> <serviceStatus serviceId="b297f8f8-d626-4494-846d-be7b2740e529" serviceName="vco" serviceTypeId="com.vmware.vco.o11n" notAvailable="false"> <lastUpdated>2018-01-23T13:34:35.434Z</lastUpdated> <statusEndPointUrl>https://vra.vman.ch:443/vco/api/status</statusEndPointUrl> <serviceStatus> <identityCertificateInfo> <identityCertificateExists>false</identityCertificateExists> <issuerName>CN=vCO-15d233a6feb31193c98ed85245e</issuerName> <notValidAfter>2047-07-01T17:23:39Z</notValidAfter> <notValidBefore>2017-07-07T17:23:39Z</notValidBefore> <principalName>CN=vCO-15d233a6feb31193c98ed85245e</principalName> <thumbprint>6C:8F:9D:8A:64:9B:6D:91:71:25:AB:B9:71:CF:3A:5D:4A:1F:4C:99</thumbprint> </identityCertificateInfo> <initialized>true</initialized> <serviceInitializationStatus>REGISTERED</serviceInitializationStatus> <serviceName>vco</serviceName> <solutionUser>vco-Vz_4AgjpAg</solutionUser> <startedTime>2018-01-23T13:34:35.658Z</startedTime> <defaultServiceEndpointType>com.vmware.vco.o11n.api</defaultServiceEndpointType> <serviceRegistrationId>b297f8f8-d626-4494-846d-be7b2740e529</serviceRegistrationId> <sslCertificateInfo> <identityCertificateExists>false</identityCertificateExists> <issuerName>CN=vra.vman.ch,OU=IT,O=vMan,C=CH</issuerName> <notValidAfter>2022-07-07T17:49:50Z</notValidAfter> <notValidBefore>2017-07-08T17:49:50Z</notValidBefore> <principalName>CN=vra.vman.ch,OU=IT,O=vMan,C=CH</principalName> <thumbprint>3C:19:83:AA:B9:7A:86:57:E3:12:78:0E:10:F1:47:8D:0B:85:D4:98</thumbprint> </sslCertificateInfo> </serviceStatus> </serviceStatus> </content>
vRO – vRealize Orchestrator (appliance)
Below is a useful vRO Health URL to query
METHOD: GET ContentType ("application/xml") header (“Authorization ", ' Basic youwishbaby;P')
URL:
https://~vro~/vco/api/healthstatus
OUTPUT:
<?xml version="1.0" encoding="UTF-8" ?> <node-status xmlns=”http://www.vmware.com/vco”> <state>RUNNING</state> <health-status state=”OK”> time “1463231814183”/> <instance-id>9d407d66-e23-4f6c-8ba1-ab143d1a73e7</instance-id>
vRLI – vRealize Log Insight
To access the vRLI API a sessionid will need to be generated first, below is an example of the body that will need to be posted to https://~VRLIServer/api/v1/sessions that returns the sessionid
METHOD (POST) ContentType ("application/json") header (Accept", 'application/json') header ("Content-Type", 'application/json') AuthBody
" { "username": "vRLIUser", "password": "vRLIPassword", "provider": "Local or ActiveDirectory” } "
Permissions: The user will require admin permissions to access this area of the API.
When calling the URL below make sure to use the header with the session id (Note: this times out every X minutes)
$header ('Authorization',"Bearer $(sessionId)")
In my case I needed to make sure the VIP was up and AVAILABLE
https://~vRLIServer~/api/v1/cluster/vips
OUTPUT:
uuid : 192.168.15.200 ipAddress : 192.168.15.200 fqdn : vrli.vman.ch tags : status : AVAILABLE uuid : 192.168.15.100 ipAddress : 192.168.15.100 fqdn : tags : @{product=nxos} status : AVAILABLE
NSX Manager
To get access to the URL’s below you will need to create a user by following the method here
https://~nsxmgr~/api/1.0/appliance-management/summary/components
METHOD: GET ContentType ("application/xml") header (“Authorization ", ' Basic b2Ntcm9AdnNwa91ZDIwMTch')
example output
<?xml version="1.0" encoding="UTF-8" ?> <componentsSummary> <componentsByGroup class="tree-map"> <entry> <string>COMMON</string> <components> <component> <componentId>VPOSTGRES</componentId> <name>vPostgres</name> <description>vPostgres - Database service</description> <status>RUNNING</status> <enabled>true</enabled> <showTechSupportLogs>false</showTechSupportLogs> <usedBy> <string>NSX</string> </usedBy> <componentGroup>COMMON</componentGroup> </component> <component> <componentId>RABBITMQ</componentId> <name>RabbitMQ</name> <description>RabbitMQ - Messaging service</description> <status>RUNNING</status> <enabled>true</enabled> <showTechSupportLogs>false</showTechSupportLogs> <usedBy> <string>NSX</string> </usedBy> <componentGroup>COMMON</componentGroup> </component> </components> </entry> <entry> <string>NSXGRP</string> <components> <component> <componentId>NSXREPLICATOR</componentId> <name>NSX Replicator</name> <description>NSX Replicator</description> <status>RUNNING</status> <enabled>true</enabled> <showTechSupportLogs>false</showTechSupportLogs> <uses> <string>NSX</string> </uses> <usedBy /> <componentGroup>NSXGRP</componentGroup> <versionInfo> <majorVersion>6</majorVersion> <minorVersion>3</minorVersion> <patchVersion>2</patchVersion> <buildNumber>5671917</buildNumber> </versionInfo> </component> <component> <componentId>NSX</componentId> <name>NSX Manager</name> <description>NSX Manager</description> <status>RUNNING</status> <enabled>true</enabled> <showTechSupportLogs>true</showTechSupportLogs> <uses> <string>VPOSTGRES</string> <string>RABBITMQ</string> </uses> <usedBy> <string>NSXREPLICATOR</string> </usedBy> <componentGroup>NSXGRP</componentGroup> <versionInfo> <majorVersion>6</majorVersion> <minorVersion>3</minorVersion> <patchVersion>2</patchVersion> <buildNumber>5672532</buildNumber> </versionInfo> </component> </components> </entry> <entry> <string>SYSTEM</string> <components> <component> <componentId>SSH</componentId> <name>SSH Service</name> <description>Secure Shell</description> <status>RUNNING</status> <enabled>true</enabled> <showTechSupportLogs>false</showTechSupportLogs> <usedBy /> <componentGroup>SYSTEM</componentGroup> </component> </components> </entry> </componentsByGroup> </componentsSummary>
another useful url to track the storage of the NSX manager
https://~nsxmgr~/api/1.0/appliance-management/system/storageinfo
example output
<?xml version="1.0" encoding="UTF-8" ?> <storageInfo> <totalStorage>100G</totalStorage> <usedStorage>20G</usedStorage> <freeStorage>80G</freeStorage> <usedPercentage>20</usedPercentage> </storageInfo>
hope this is helpful!
vMan
Recent Comments