Comments (7)
Similar to issue #158
from check_vmware_esx.
I had the same problem.
In host_runtime_info.pm
line 694
I changed
name => $1,
to
name => $_->name,
Seems to work now
from check_vmware_esx.
I can't reproduce.
from check_vmware_esx.
I can't reproduce.
from check_vmware_esx.
I can reproduce and @Chrisnet46's proposed solution helps.
Output before the change:
# /usr/lib/nagios/custom-plugins/check_vmware_esx.pl -H redacted.somewhwere.net -u icinga -p redacted -S runtime -s temp
Use of uninitialized value in concatenation (.) or string at /usr/lib/nagios/custom-plugins/modules/host_runtime_info.pm line 751.
Use of uninitialized value in concatenation (.) or string at /usr/lib/nagios/custom-plugins/modules/host_runtime_info.pm line 751.
Use of uninitialized value in concatenation (.) or string at /usr/lib/nagios/custom-plugins/modules/host_runtime_info.pm line 751.
Use of uninitialized value in concatenation (.) or string at /usr/lib/nagios/custom-plugins/modules/host_runtime_info.pm line 751.
Use of uninitialized value $name in concatenation (.) or string at /usr/lib/nagios/custom-plugins/modules/host_runtime_info.pm line 767.
Use of uninitialized value $name in concatenation (.) or string at /usr/lib/nagios/custom-plugins/modules/host_runtime_info.pm line 767.
Use of uninitialized value $name in concatenation (.) or string at /usr/lib/nagios/custom-plugins/modules/host_runtime_info.pm line 767.
Use of uninitialized value $name in concatenation (.) or string at /usr/lib/nagios/custom-plugins/modules/host_runtime_info.pm line 767.
OK: All 4 temperature checks are GREEN.
Ok: = 33
Ok: = 21
Ok: = 44
Ok: = 46|''=33;;;; ''=21;;;; ''=44;;;; ''=46;;;;
and after:
# /usr/lib/nagios/custom-plugins/check_vmware_esx.pl -H redacted.somewhwere.net -u icinga -p redacted -S runtime -s temp
OK: All 4 temperature checks are GREEN.
Ok: System Board 1 Exhaust Temp = 32
Ok: System Board 1 Inlet Temp = 21
Ok: Processor 2 Temp = 41
Ok: Processor 1 Temp = 46|'System Board 1 Exhaust Temp'=32;;;; 'System Board 1 Inlet Temp'=21;;;; 'Processor 2 Temp'=41;;;; 'Processor 1 Temp'=46;;;;
What do you need to debug? Maybe it's not related to the VMware server or its version but rather to the Perl version on the Icinga2 node? This one here is Debian 10 (yes, I know, we can and should upgrade somewhen not too far in the future - on the other hand there's still support for it until June 30th, 2024) sporting This is perl 5, version 28, subversion 1 (v5.28.1) built for x86_64-linux-gnu-thread-multi
.
Thanks for your time and the good work!
from check_vmware_esx.
Forgot to mention: in my case it was line 728 in the file where I had to fix it, we're using the version from the master branch, which as of today is 1.2.5.
from check_vmware_esx.
Thanks for reopening. In the meantime I had the chance to upgrade two satellites to Debian 11, but with the same result.
Now it's This is perl 5, version 32, subversion 1 (v5.32.1) built for x86_64-linux-gnu-thread-multi
from check_vmware_esx.
Related Issues (20)
- Plug in for vSphere 6.7 HOT 1
- DEPRECATED VMware vSphere Automation SDK for Perl HOT 4
- Script timed out HOT 1
- vmware 6.7 sdk question HOT 2
- Basic host check (select=soap) says error but returns "OK"-state HOT 1
- Maintence mode HOT 1
- Switch SDK Timeout to Critial HOT 2
- Output of openvmtools HOT 1
- Status UNKNOWN - 169 health issue(s) found in 289 checks: HOT 1
- vmhba64 instead of vmhba0 HOT 2
- Versionnumber not adjusted HOT 1
- check_vmware_esx and pnp4nagios compatibility HOT 4
- plugins error HOT 2
- Wrong CPU Usage percentage HOT 7
- Exception in module CPU HOT 1
- check_vmware_esx works on rockylinux 8
- Can't locate Time/Duration.pm in @INC HOT 1
- Open-vm-tools option mis-documented in repo, missing from check help
- sessionfile not working
- I can't get the multipath
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from check_vmware_esx.