Hi,
We are using check_esxi_hardware.py plugin to check the esxi hardware health, we are getting CRITICAL error even though Memory is OK on server.
[nagios@XXXX libexec]$ ./check_esxi_hardware.py -H XXXX -U testusr -P 'testusr' -V hp
CRITICAL : Memory - Server: HP ProLiant BL460c Gen8 s/n: CZJ41801YW System BIOS: I31 2018-01-22
[nagios@XXXX libexec]$
Kindly advice ?
check_esxi_hardware.py plugin issue
Re: check_esxi_hardware.py plugin issue
What is the version of the plugin that you are currently using?
Do you see any additional (debugging) info, when you increase verbosity?
Note: This plugin is not developed or maintained by us (Nagios). I will try to help but cannot guarantee that we will be able to resolve the issue. In order to speed up troubleshooting, I would recommend that you contact the plugin's owner as well.
Code: Select all
./check_esxi_hardware.py --versionCode: Select all
./check_esxi_hardware.py -H XXXX -U testusr -P 'testusr' -V hp -vBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: check_esxi_hardware.py plugin issue
lmiltchev wrote:What is the version of the plugin that you are currently using?Please find versionCode: Select all
./check_esxi_hardware.py --version
[nagios@XXXX libexec]$ ./check_esxi_hardware_latest.py --version
check_esxi_hardware_latest.py 20190701
[nagios@XXXX libexec]$
Do you see any additional (debugging) info, when you increase verbosity?Please find attached plugin verbose outputCode: Select all
./check_esxi_hardware.py -H XXXX -U testusr -P 'testusr' -V hp -v
Note: This plugin is not developed or maintained by us (Nagios). I will try to help but cannot guarantee that we will be able to resolve the issue. In order to speed up troubleshooting, I would recommend that you contact the plugin's owner as well.
You do not have the required permissions to view the files attached to this post.
Re: check_esxi_hardware.py plugin issue
I see the following in the output:
According to vmware:
This is what is used by the plugin:
Perhaps the author of the plugin can shed some light on the issue.
I am not sure WHY the plugin reports the value of 30, however this is what it's causing the CRITICAL state.20190711 11:47:20 Element Name = Memory
20190711 11:47:20 Element HealthState = 30
20190711 11:47:20 Global exit set to CRITICAL
According to vmware:
https://blogs.vmware.com/vsphere/2010/0 ... art-3.htmlHealthState = 30 (Non-recoverable error)
This is what is used by the plugin:
https://github.com/Napsty/check_esxi_ha ... ardware.py30 : ExitCritical, # Non-recoverable Error
Perhaps the author of the plugin can shed some light on the issue.
Be sure to check out our Knowledgebase for helpful articles and solutions!