How to monitor Vcenter Service health

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
informatica
Posts: 99
Joined: Thu Jan 28, 2021 9:55 pm

How to monitor Vcenter Service health

Post 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
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: How to monitor Vcenter Service health

Post 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
informatica
Posts: 99
Joined: Thu Jan 28, 2021 9:55 pm

Re: How to monitor Vcenter Service health

Post 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.
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: How to monitor Vcenter Service health

Post 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
Locked