CHECK_VMWARE_API.PL CRITICAL - Server version unavailable -Nagios Alert

Need to understand Error and solution  if this is issue with Nagios app running on Linux server or if all resulted due to Network Glitch

Error in Alert is
"HOST CHECK_VMWARE_API.PL CRITICAL - Server version unavailable at 'https://192.168.1.17:443/sdk/vimService.wsdl' at /usr/share/perl/5.10/VMware/VICommon.pm line 734"

What all are precautionary actions required to avoid such error alerts ?
Is there nay recommendation before we configure Nagios for N number of alerts /Devices /VMware /vCentere  
How actually load is decided before we configure nagios for monitoring
LVL 1
patronTechnical consultant Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Update Nagios.
patronTechnical consultant Author Commented:
Thanks Andrew
Is it module or worker file we need to update ?

Any best practice to follow here in such situation ?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Check your Nagios is up to date and can manage the host version you have.
5 Ways Acronis Skyrockets Your Data Protection

Risks to data security are risks to business continuity. Businesses need to know what these risks look like – and where they can turn for help.
Check our newest E-Book and learn how you can differentiate your data protection business with advanced cloud solutions Acronis delivers

patronTechnical consultant Author Commented:
Is it none related to Vmware? as Nagios is claiming its all due to VMware , what all can be checked @VMware if required and what all we can cross check with Nagios -Nagios is configured @ Linux VM running on Vc which is monitored by Nagios
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
What do Nagios is wrong with VMware, if they think it's VMware ?
patronTechnical consultant Author Commented:
Is there any thing to be checked with  VC Certificate ?


What if we have multiple versions managed by VC like 5.5 ,6.0 and 6.5
Any version of Nagios ,Plugin ,worker to be verified and changed ?
How can we distribute load for per worker?
Any config/update required for perl /API /plugins  @Vc level

 and std process we need to follow before configuring worker for specified alerts load/devices to be managed
Thanks
patronTechnical consultant Author Commented:
Thanks ,but answer yet awaited
patronTechnical consultant Author Commented:
Our customer service team is currently offline. We have reported to our solution guides that you would like assistance solving this question.
patronTechnical consultant Author Commented:
please advise if there is anything to be verified @vmware end or if  we can dig more into Nagios config to get this fixed
nociSoftware EngineerCommented:
There are several things at play here.
a) check_vmware_api.pl (and dependancies)...
b) check the URL... a https://IPaddress/ might fail
c) wdsl is a Web Socket Description Language (See https://www.w3schools.com/XML/xml_wsdl.asp , https://www.tutorialspoint.com/wsdl/wsdl_example.htm , https://filext.com/file-extension/WSDL )

a) The dependcy is the current SDK  for this check what check_vmware_api.pl is based on.
see the variable: perl_module_instructions inside for more info.  This might need updating the plugin from the nagios exchange.
(Not complete Nagios as has been suggested before).

b) HTTPS requires a certificate, ceritifcates are based on hostnames, not ip addresses. You may want to verify using http:// instead, or use a host name and correctly use a certificate if needed.
This can be verified using f.e. curl https://192.168.1.17:443/sdk/vimService.wsdl -o vimService.wsdl -v

c) Is the WDSL obtained valid?  this i cannot verify, appearantly there should be a call description inside about how to get the version value.
(that is what the wdsl is about).
patronTechnical consultant Author Commented:
Thanks @noci , so is there anything I need to check /config @my vCenter ?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.