Skip to main content

hi, 

i work with the plugin centreon vmware.

in test my result is OK with a vcenter, 
/usr/lib/centreon/plugins/centreon_vmware_connector_client.pl --plugin=apps::vmware::connector::plugin --mode=swap-vm -custommode=connector --connector-hostname='localhost'     --connector-port='5700' --container='***********’

 

i have installed the connector in the same os, but in a highest release (centos 7.4 vs centos 7.9) , the same command return : 

UNKNOWN: Cannot encode result
with debug :
{ "code": -1, "short_message": "Cannot encode result" }


the pb is not the .pm, this is ok on the test platform , and when i ask it with curl in the prod server , it’s ok ...


is anyone has (or had) the same problem and have resolved it ? 
do you have the same problem with another plugin ? 

Be the first to reply!

Reply