ESX Host Monitoring not working--Service check timed out

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
amitgupta19
Posts: 286
Joined: Fri Sep 08, 2017 5:53 am

ESX Host Monitoring not working--Service check timed out

Post 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?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: ESX Host Monitoring not working--Service check timed out

Post by scottwilkerson »

Did you resolve this issue already?
https://support.nagios.com/forum/viewto ... =7&t=57158
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
amitgupta19
Posts: 286
Joined: Fri Sep 08, 2017 5:53 am

Re: ESX Host Monitoring not working--Service check timed out

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: ESX Host Monitoring not working--Service check timed out

Post by scottwilkerson »

Can you try running the command from the CLI adding the -vvv flag to get verbose output?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
amitgupta19
Posts: 286
Joined: Fri Sep 08, 2017 5:53 am

Re: ESX Host Monitoring not working--Service check timed out

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: ESX Host Monitoring not working--Service check timed out

Post by scottwilkerson »

amitgupta19 wrote: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.
Hmm, does this open?

Code: Select all

curl -vvv "https://xxx.xxx.xxx.xxx:443/sdk/vimService.wsdl"
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
amitgupta19
Posts: 286
Joined: Fri Sep 08, 2017 5:53 am

Re: ESX Host Monitoring not working--Service check timed out

Post by amitgupta19 »

do i need to run the command with below options once again?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: ESX Host Monitoring not working--Service check timed out

Post 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"
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
amitgupta19
Posts: 286
Joined: Fri Sep 08, 2017 5:53 am

Re: ESX Host Monitoring not working--Service check timed out

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: ESX Host Monitoring not working--Service check timed out

Post by scottwilkerson »

amitgupta19 wrote:run as a command
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked