Skip to main content
Question

vCenter plugin Cannot find ClusterComputeResource object

  • July 7, 2022
  • 8 replies
  • 548 views

Forum|alt.badge.img+5

Hi,

What does mean exactly this error “UNKOWN: Cannot find ClusterComputeResource object” with vCenter plugin ? This error appears since a new installation of vCenter. Cluster name is the same as before. 

Exact command is 

/usr/lib/centreon/plugins/centreon_vmware_connector_client.pl --plugin=apps::vmware::connector::plugin --mode=status-cluster --custommode=connector --connector-hostname='localhost' --connector-port='5700' --container='default'  --cluster-name='.*' --filter --unknown-status='%{overall_status} =~ /gray/i || %{vsan_status} =~ /gray/i' --warning-status='%{overall_status} =~ /yellow/i || %{vsan_status} =~ /yellow/i' --critical-status='%{overall_status} =~ /red/i || %{vsan_status} =~ /red/i' --verbose

Thank you.

8 replies

Forum|alt.badge.img+5
  • Author
  • Steward **
  • July 18, 2022

Une aide svp ? Car je ne trouve vraiment pas d'où ça peut venir… Merci


itoussies
Centreonian
Forum|alt.badge.img+11
  • Centreonian
  • July 19, 2022
Hi,Can you try the following command:
/usr/lib/centreon/plugins/centreon_vmware_connector_client.pl --plugin=apps::vmware::connector::plugin --mode=list-clusters --custommode=connector --connector-hostname='localhost' --connector-port='5700' --container='default'
Regards,

Forum|alt.badge.img+5
  • Author
  • Steward **
  • July 19, 2022

Hi, thanks but i have the same error. This has to do with the fresh installation of the vcenter but I don't see which one.


itoussies
Centreonian
Forum|alt.badge.img+11
  • Centreonian
  • July 21, 2022

HI @TeXmeX,

 

What is the version of the new vCenter ? Also, do you have any erros in /var/log/centreon/centreon_vmware.log ?

 

Regards,


Forum|alt.badge.img+5
  • Author
  • Steward **
  • July 21, 2022

@itoussies version of vCenter is 7.0.3.00300. The only error i have is 


2022-07-21 14:12:23 - 'default' SOAP request error - possibly a protocol issue: Status read failed:  at /usr/share/perl5/vendor_perl/Net/HTTP/Methods.pm line 265.

But not when i run the check command. I think it's unrelated.

 

 


Forum|alt.badge.img+5
  • Author
  • Steward **
  • July 29, 2022
Nobody can help me ?

sims24
Forum|alt.badge.img+19
  • Ranger ***
  • July 29, 2022

Can you upgrade to centreon-vmware 3.2.5 please? 

 

Make sure to also update plugins and check if the problem still occurs. 

 

Thks


Forum|alt.badge.img+5
  • Author
  • Steward **
  • August 5, 2022

I upgraded Centreon to last version, no success. But i tried with PowerCLI this command

Get-View -ViewType ClusterComputeResource

And it returns nothing !  Other commands like Get-VMHost work. This should explain the reason for the Centreon error. But that doesn't solve the problem