Page 1 of 2
ESX Host Monitoring not working--Service check timed out
Posted: Mon Jan 20, 2020 9:02 am
by amitgupta19
I have added some ESX Hosts to the monitoring.
I am using the check_esx3.pl Plugin to monitor the same.
I am monitoring the Memory and CPU Usage using the following commad:
check_esx3.pl -H $HOSTADDRESS$ -u $USER20$ -p $USER12$ -t 240 -l cpu -s usage -w $ARG1$ -c $ARG2$
check_esx3.pl -H $HOSTADDRESS$ -u $USER20$ -p $USER12$ -t 240 -l mem -s usage -w $ARG1$ -c $ARG2$
Only 1 ESX Host is giving the following error:
(Service check timed out after 60.04 seconds)
Can anyone suggest what could be the reason?
Re: ESX Host Monitoring not working--Service check timed out
Posted: Mon Jan 20, 2020 9:27 am
by scottwilkerson
Re: ESX Host Monitoring not working--Service check timed out
Posted: Mon Jan 20, 2020 10:41 am
by amitgupta19
This Issue:
viewtopic.php?f=7&t=57158
I am getting while i am setting up a New Nagios Server.
These 2 issues are from the separate instances of the Nagios Core.
Re: ESX Host Monitoring not working--Service check timed out
Posted: Mon Jan 20, 2020 10:46 am
by scottwilkerson
Can you try running the command from the CLI adding the -vvv flag to get verbose output?
Re: ESX Host Monitoring not working--Service check timed out
Posted: Mon Jan 20, 2020 11:00 am
by amitgupta19
CHECK_ESX3.PL CRITICAL - Server version unavailable at '
https://xxx.xxx.xxx.xxx:443/sdk/vimService.wsdl' at /usr/share/perl5/VMware/VICommon.pm line 704.
Re: ESX Host Monitoring not working--Service check timed out
Posted: Mon Jan 20, 2020 11:03 am
by scottwilkerson
Hmm, does this open?
Code: Select all
curl -vvv "https://xxx.xxx.xxx.xxx:443/sdk/vimService.wsdl"
Re: ESX Host Monitoring not working--Service check timed out
Posted: Mon Jan 20, 2020 11:32 am
by amitgupta19
do i need to run the command with below options once again?
Re: ESX Host Monitoring not working--Service check timed out
Posted: Mon Jan 20, 2020 11:34 am
by scottwilkerson
I was wondering if the following can load a page
Code: Select all
curl -vvv "https://xxx.xxx.xxx.xxx:443/sdk/vimService.wsdl"
Re: ESX Host Monitoring not working--Service check timed out
Posted: Tue Jan 21, 2020 5:56 am
by amitgupta19
Do i need to open this in a Web Browser?
curl -vvv "
https://xxx.xxx.xxx.xxx:443/sdk/vimService.wsdl"
or run as a command
Kindly clarify
Re: ESX Host Monitoring not working--Service check timed out
Posted: Tue Jan 21, 2020 7:41 am
by scottwilkerson
amitgupta19 wrote:run as a command