BaldMansMojo / check_vmware_esx

chech_vmware_esx Fork of check_vmware_api.pl
GNU General Public License v2.0
124 stars 67 forks source link

Exception in module CPU #203

Open nixahnung opened 1 year ago

nixahnung commented 1 year ago

Hello,

get an exception on some ESX 6.0.0 Servers.

Cannot serialize metricId as PerfMetricId at /usr/share/perl/5.34/VMware/VICommon.pm line 2635.

Workaround: add an eval { }; around line 17 on host_cpu_info.pm

ElTakTiko commented 1 year ago

I have the same here but the workaround does not work

To be sure :

eval { $values = return_host_performance_values($host, $maintenance_mode_state, 'cpu', ('wait.summation:','ready.summation:','readiness.average', 'usage.average')); }

Is that what you make ?