CHECK_ESX3.PL CRITICAL - HOST IO Unknown error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Ivajlo911
Posts: 38
Joined: Thu Mar 23, 2017 3:19 am

CHECK_ESX3.PL CRITICAL - HOST IO Unknown error

Post by Ivajlo911 »

Hi,
we are facing an issue of only one of our ESXi hosts in the environment, generating the above error for the host and for all virtual machines on it.

CHECK_ESX3.PL CRITICAL - HOST IO Unknown error

No other hosts report this error. There are no obvious problems with the host itself.

Can I ask for some guidance?

Details of our implementation:

CentOS Linux release 7.7.1908 (Core) kernel : 3.10.0-1062.4.3.el7.x86_64
Manual Install of Nagios XI
No special configurations on our system
We are not using a proxy
We are using Nagios XI Version: 5.6.8
Ivajlo911
Posts: 38
Joined: Thu Mar 23, 2017 3:19 am

Re: CHECK_ESX3.PL CRITICAL - HOST IO Unknown error

Post by Ivajlo911 »

The version of our plugin is 0.7.1
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: CHECK_ESX3.PL CRITICAL - HOST IO Unknown error

Post by lmiltchev »

What is the version of the SDK that you installed on your Nagios XI server, and what is the version of the ESXi server that you are running checks against?

Can you show us the actual check that you run from the command line, along with the output of it? Add "-vvv" at the end of your command for increased verbosity.

Also, upload the plugin that you are using on the forum. You may need to rename it with a "txt" extension in order to be able to upload it.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
jdunitz
Posts: 235
Joined: Wed Feb 05, 2020 2:50 pm

Re: CHECK_ESX3.PL CRITICAL - HOST IO Unknown error

Post by jdunitz »

There's a known issue with certain versions of VMware server software that won't let you monitor I/O via the API.

Is the ESXi machine you're having trouble with running a different version than your others that do work?
Did this ESXi machine work previously and has stopped working?

And you configured this via the wizard, correct? Or did you set it up another way?

Have you tried running check_vmware_api.pl? That one was written to supercede check_esx3.pl, and is the current one we support.

A little more info will help us to figure this out, but this seems like an issue on the VMware server end rather than the plugin end. Thanks!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Ivajlo911
Posts: 38
Joined: Thu Mar 23, 2017 3:19 am

Re: CHECK_ESX3.PL CRITICAL - HOST IO Unknown error

Post by Ivajlo911 »

Hi,
thank you for your quick reply.

Here is the information:

1) Version of plugin:
VMware-vSphere-Perl-SDK-6.7.0-8156551.x86_64
2) Output of command
[root@l3cnagint ~]# /usr/local/nagios/libexec/check_esx3.pl -H "10.10.10.66" -f "/usr/local/nagiosxi/etc/components/vmware/10_10_10_66_auth.txt" -N "XQWEB" -l "IO" -vvv
[extra-opts] check_esx3.pl -H 10.10.10.66 -f /usr/local/nagiosxi/etc/components/vmware/10_10_10_66_auth.txt -N XQWEB -l IO -vvv
CHECK_ESX3.PL CRITICAL - HOST-VM IO Unknown error
3) Attachment added.
4) We used the wizard to install
5) Version of the ESXi server - 6.0.0. , 3620759
6) Is the ESXi machine you're having trouble with running a different version than your others that do work? - No the versions are the same on all nodes.
7) Did this ESXi machine work previously and has stopped working? Yes it did work. The problem came just recently. It affects the entire host and all the VMs on it.
8) Please allow us some time to return info on check_vmware_api.pl as we never used it.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: CHECK_ESX3.PL CRITICAL - HOST IO Unknown error

Post by lmiltchev »

Thanks for the info! We are going to do some more testing / digging into this.
8) Please allow us some time to return info on check_vmware_api.pl as we never used it.
Yes, try the check_vmware_api.pl plugin. At least in our environment, this plugin works "as expected", while the check_esx3.pl fails.

Code: Select all

[root@main-nagios-xi tmp]# /usr/local/nagios/libexec/check_esx3.pl -H "x.x.x.x" -f "/usr/local/nagiosxi/etc/components/vmware/VMWARE_GUEST_auth.txt" -N "Ludmil_ModGearman_Worker" -l "IO"
CHECK_ESX3.PL CRITICAL - HOST-VM IO Unknown error

[root@main-nagios-xi tmp]# /usr/local/nagios/libexec/check_vmware_api.pl -H "x.x.x.x" -f "/usr/local/nagiosxi/etc/components/vmware/VMWARE_GUEST_auth.txt" -N "Ludmil_ModGearman_Worker" -l "IO"
CHECK_VMWARE_API.PL OK - "Ludmil_ModGearman_Worker" io usage=0.1 MB/s, read=0.00 MB/s, write=0.10 MB/s | io_usage=0.1;; io_read=0.00;; io_write=0.10;;
Be sure to check out our Knowledgebase for helpful articles and solutions!
Ivajlo911
Posts: 38
Joined: Thu Mar 23, 2017 3:19 am

Re: CHECK_ESX3.PL CRITICAL - HOST IO Unknown error

Post by Ivajlo911 »

Hi,
can you provide check_vmware_api.pl.
The site of the developers seem not to work?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: CHECK_ESX3.PL CRITICAL - HOST IO Unknown error

Post by lmiltchev »

This plugin ships with Nagios XI. You don't need to download it from an external source. I believe it was included in version 1.7.2 of the vmware wizard. What is the version of Nagios XI and vmware wizard that you are currently using? Try upgrading your wizard to the latest, and check to see if the plugin was installed.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked