Question

CPU Ready plugin virt-vmware

  • 27 March 2024
  • 4 replies
  • 47 views

Badge +3

Hello,

My monitoring server is warning me about CPU Ready consumption over 5% but when I calculate this value with extracted data directly picked from my vcenter, I’m not able to find the same result.

I also installed a new system which is able to graph CPU Ready and this value for a particular virtual machine doesn’t exceed 1%.

What am I doing wrong with Centreon ?

It seems that this value is multiplied by 10 in the plugin.

Thank you for your help.

 


4 replies

Userlevel 4
Badge +12

Hi @DIAMFred,

Can you expose your issue more precisely please?

What are you monitoring? An ESXi server?

What is the command you are running?

What measure, what tool, is showing it’s wrong?

 

 

Badge +3

Hi omercier,

I’m monitoring a virtual server.

I use the following plugin: /usr/lib/centreon/plugins//centreon_vmware_connector_client.pl

I use this command:

/usr/lib/centreon/plugins//centreon_vmware_connector_client.pl --plugin=apps::vmware::connector::plugin --mode=cpu-vm --custommode=connector --connector-hostname='localhost' --connector-port='5700' --container='default'  --vm-hostname='myvm' --filter-uuid='' --unknown-status='%{connection_state} !~ /^connected$/i or %{power_state}  !~ /^poweredOn$/i' --warning-status='' --critical-status='' --warning-total-cpu='85' --critical-total-cpu='90' --warning-total-cpu-mhz='' --critical-total-cpu-mhz='' --warning-cpu-ready='5' --critical-cpu-ready='10' --warning-cpu='' --critical-cpu='' --use-new-perfdata

 

To calculate the CPU Ready value, I used the website vmcalc.com with the metrics given by my vcenter and also I used the tool DC Scope from easyvirt which is able to graph the CPU Ready consumption.

Both DC Scope and vmcalc.com gave me the same result, but the plugin gave me different values.

What am I doing wrong ?

Thanks.

Badge +3

Hi,

Does anyone have the same problem as me ?

thanks.

Userlevel 4
Badge +12

What is the output the command?

With the --debug option we should hopefully get the raw data that have been collected.

 

 

Reply