Hello,
on Nagios XI is error for service "VM Status for VMHost":
ESX3 CRITICAL - Can't call method "cpuStatusInfo" on an undefined value at /usr/local/nagios/libexec/check_esx3.pl line 1295.
This error happens only on two ESXi servers 5.1. It's Blade server HP Proliant BL465c G5 with quad-core AMD Opteron Processor 2356.
On other ESXi servers works ok. Example:
ESX3 OK - 7/9 VMs up, overall status=green, connection state=connected, maintenance=no, All 0 health checks are Green, no config issues
Thank you in advance for your help!
check_esx3 - ESX3 CRITICAL - Can't call method "cpuStatusInf
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: check_esx3 - ESX3 CRITICAL - Can't call method "cpuStatu
Are these using the same esx version? Also is the installed vmware sdk at or above both of these versions? Generally updating the sdk will resolve issues such as this, if it is below your highest server version.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: check_esx3 - ESX3 CRITICAL - Can't call method "cpuStatu
I have same issue.
NagiosXi is updated, an there are several ESX hosts - all with identical setups. Few of them are reporting this errory, most of them are OK.
NagiosXi is updated, an there are several ESX hosts - all with identical setups. Few of them are reporting this errory, most of them are OK.
Re: check_esx3 - ESX3 CRITICAL - Can't call method "cpuStatu
Are the commands identical? Can you post a few examples?
OP: Are the versions identical?
OP: Are the versions identical?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: check_esx3 - ESX3 CRITICAL - Can't call method "cpuStatu
Any news on that issue?
We have the same problem.
Nagios is 2014R1.4, esx are all same version, same setup.
check_esx3-0.5.pl is latest version.
Response is:
Check command:
Any clue?
We have the same problem.
Nagios is 2014R1.4, esx are all same version, same setup.
check_esx3-0.5.pl is latest version.
Response is:
Code: Select all
CHECK_ESX3-0.5.PL CRITICAL - Can't call method "cpuStatusInfo" on an undefined value at /usr/local/nagios/libexec/check_esx3-0.5.pl line 1681.Code: Select all
check_esx3_host!/usr/local/nagiosxi/etc/components/vmware/bugs_bunny_bomb_auth.txt!RUNTIME!- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: check_esx3 - ESX3 CRITICAL - Can't call method "cpuStatu
check_esx3 is now called check_vmware_api:
http://exchange.nagios.org/directory/Pl ... pi/details
I'm confident that if you upgrade to this version your problems will be resolved.
However I also suggest you check out box293_check_vmware:
http://exchange.nagios.org/directory/Pl ... re/details
I'm a bit biased when I say I think it's a better solution.
http://exchange.nagios.org/directory/Pl ... pi/details
I'm confident that if you upgrade to this version your problems will be resolved.
However I also suggest you check out box293_check_vmware:
http://exchange.nagios.org/directory/Pl ... re/details
I'm a bit biased when I say I think it's a better solution.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: check_esx3 - ESX3 CRITICAL - Can't call method "cpuStatu
Thank you for your reply. I wasn't aware of the new script. I think if it is new it should be included in nagiosxi vmware wizard.
On internet i even found check_vmware_esx.pl which seems to be even newer than check_vmware_api.pl. But I'm not sure which one to use.
Now I'm having some other problems with applying the check_vmware_api.pl script. It seems that nagios still uses the check_vmware_esx.pl script. I made a ticket to support.
I'll get back here when I'll resolve that issue, so please leave topic open as I'll report back.
Regards,
Peter
On internet i even found check_vmware_esx.pl which seems to be even newer than check_vmware_api.pl. But I'm not sure which one to use.
Now I'm having some other problems with applying the check_vmware_api.pl script. It seems that nagios still uses the check_vmware_esx.pl script. I made a ticket to support.
I'll get back here when I'll resolve that issue, so please leave topic open as I'll report back.
Regards,
Peter
Re: check_esx3 - ESX3 CRITICAL - Can't call method "cpuStatu
I didn't see this thread before replying to your other one but I also recommend @Box293's solution. It's incredibly well-documented and is definitely worth a look.
Former Nagios employee