Page 1 of 1

How to monitor Vcenter Service health

Posted: Mon Apr 26, 2021 4:54 am
by informatica
Hi Team,

We would like to monitor vcenter service health status from nagios. Could you please help with the script. And we are using the box293_check_vmware1.pl and check_vmware_esx.pl, but we could not find the any Options to call the Vcenter Service health. Please find the attachment for you reference.

In the attachment we would like to monitor vAPI Endpoint Health status. Please let me know if you need more details.
Note: this is Vcenter Service

Re: How to monitor Vcenter Service health

Posted: Mon Apr 26, 2021 5:34 pm
by ssax
What does this output?

Code: Select all

/usr/local/nagios/libexec/check_vmware_api.pl -H VCENTERIP -u 'user' -p 'pass' -l service

Re: How to monitor Vcenter Service health

Posted: Mon Apr 26, 2021 11:37 pm
by informatica
Hi

I am getting the below output.

[root@ittestnagiosxi libexec]# /usr/local/nagios/libexec/check_vmware_api.pl -H XXXXX -u 'XXXXX' -p 'XXXX' -l service
CHECK_VMWARE_API.PL OK - services : DCUI (up), TSM (down), TSM-SSH (down), lbtd (up), lwsmd (down), ntpd (up), pcscd (down), sfcbd-watchdog (down), slpd (down), snmpd (down), vmsyslogd (up), vmware-fdm (up), vpxa (up), xorg (down)


But our exception is we would like to monitor only vAPI Endpoint Health status. Could you please help on this.

Re: How to monitor Vcenter Service health

Posted: Tue Apr 27, 2021 1:43 pm
by vtrac
Hi,
Please check out the below URL (Nagios Exchange):
https://exchange.nagios.org/directory/P ... th/details

Also, what is the health status page below give you?
[url]https://hostname_or_IP/vapiendpoint/health[/url]

If you able to open the above page, would that be enough to check for vAPIendpoint.


Best Regards,
Vinh