CHECK_VMWARE_API.PL CRITICAL - Server version unavailable -Nagios Alert

patron
patron used Ask the Experts™
on
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
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
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 Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
Check your Nagios is up to date and can manage the host version you have.
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

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 Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
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
Software Engineer
Distinguished Expert 2018
Commented:
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 ?
patronTechnical consultant

Author

Commented:
Thanks

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial