-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use of uninitialized value in concatenation (.) or string at /usr/lib/nagios/modules/check_vmware_esx/host_runtime_info.pm line 717. #177
Comments
Similar to issue #158 |
I had the same problem. In host_runtime_info.pm I changed name => $1, to name => $_->name, Seems to work now |
I can't reproduce. |
1 similar comment
I can't reproduce. |
I can reproduce and @Chrisnet46's proposed solution helps. Output before the change:
and after:
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 Thanks for your time and the good work! |
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. |
Thanks for reopening. In the meantime I had the chance to upgrade two satellites to Debian 11, but with the same result. |
All other checks that come along the default vmware-esx-soap-host monitoring set for Icinga2 work well, but this one produces single quote marks for the perfata.
This in turn causes the Icinga2 Prometheus exporter metrics page (via plugin of which I am also using separately for storage) to fail to render.
Let me know if there is any other info that I can provide thank you
System Info
VMware ESXi, 6.7.0, 16075168
VMware vCenter 6.7.0, 16243230
PowerEdge R730xd
Temps show up from vsphere:
The text was updated successfully, but these errors were encountered: