Skip to main content
Question

CPU Ready plugin virt-vmware

  • March 27, 2024
  • 4 replies
  • 153 views

Forum|alt.badge.img+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

omercier
Centreonian
Forum|alt.badge.img+13
  • Centreonian
  • March 29, 2024

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?

 

 


Forum|alt.badge.img+3
  • Author
  • Steward *
  • April 2, 2024

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.


Forum|alt.badge.img+3
  • Author
  • Steward *
  • April 23, 2024

Hi,

Does anyone have the same problem as me ?

thanks.


omercier
Centreonian
Forum|alt.badge.img+13
  • Centreonian
  • April 23, 2024

What is the output the command?

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