This article will show you how to check the health sate of a service using vmon-cli.
The vmon is a service that checks the health of services in vCenter Server,
The following command displays a list of services that vmon is monitoring:
(Access the Bash Shell of the vCenter Server appliance and execute the command.)
# vmon-cli -l
Below is an example of checking the services monitored by vmon in vCenter 8.0U3.[email protected] [ ~ ]# vmon-cli -lanalyticsapplmgmtcertificateauthoritycertificatemanagementcis-licensecontent-libraryeamenvoyenvoy-hgwenvoy-sidecarhvcimagebuilderinfraprofilelookupsvcnetdumperobservability-vapiperfchartspschealthrbdrhttpproxyscaspsststopologysvctrustmanagementupdatemgrvapi-endpointvc-ws1a-brokervchavlcmvmcamvmonapivmware-postgres-archivervmware-vpostgresvpxdvpxd-svcsvsan-healthvsmvsphere-uivstatsvtsdbwcp
vCenter Server 8.0.X
vCenter Server 7.0.X
To check a servie health satate, executing the following command:# vmon-cli -s <Service Name>
For <Service Name>, enter the service name by executing the vmon-cli -l.
Below is an example to check the health state of vpxd:
root@vcsa01 [ ~ ]# vmon-cli -s vpxdName: vpxdStarttype: AUTOMATICRunState: STARTEDRunAsUser: vpxdCurrentRunStateDuration(ms): 511HealthState: HEALTHY <===!!!FailStop: N/AMainProcessId: 6142