Skip to content

Use of uninitialized value in concatenation (.) or string at /usr/lib/nagios/modules/check_vmware_esx/host_runtime_info.pm line 717. #177

@skupjoe

Description

@skupjoe
admin@monsvc-uni-2a:~$ sudo docker exec -t icinga2 /usr/lib/nagios/plugins/check_vmware_esx.pl \
>     -H lax01w01esx01.us-west1.univoip.local \
>     --datacenter lax01m01vc01.us-west1.univoip.local \
>     --authfile /usr/share/icinga2/authfiles/vdb-vc-auth.env \
>     --nosession \
>     --trace=1 \
>     --select=runtime \
>     --subselect=temp
Use of uninitialized value in concatenation (.) or string at /usr/lib/nagios/modules/check_vmware_esx/host_runtime_info.pm line 717.
Use of uninitialized value in concatenation (.) or string at /usr/lib/nagios/modules/check_vmware_esx/host_runtime_info.pm line 717.
Use of uninitialized value in concatenation (.) or string at /usr/lib/nagios/modules/check_vmware_esx/host_runtime_info.pm line 717.
Use of uninitialized value in concatenation (.) or string at /usr/lib/nagios/modules/check_vmware_esx/host_runtime_info.pm line 717.
Use of uninitialized value $name in concatenation (.) or string at /usr/lib/nagios/modules/check_vmware_esx/host_runtime_info.pm line 733.
Use of uninitialized value $name in concatenation (.) or string at /usr/lib/nagios/modules/check_vmware_esx/host_runtime_info.pm line 733.
Use of uninitialized value $name in concatenation (.) or string at /usr/lib/nagios/modules/check_vmware_esx/host_runtime_info.pm line 733.
Use of uninitialized value $name in concatenation (.) or string at /usr/lib/nagios/modules/check_vmware_esx/host_runtime_info.pm line 733.
OK: All 4 temperature checks are GREEN.
Ok:  = 44
Ok:  = 39
Ok:  = 29
Ok:  = 23|''=44;;;; ''=39;;;; ''=29;;;; ''=23;;;;

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:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions