centreon / centreon-vmware

Centreon VMWare connector to check ESX server, VCenter and VMWare guest resources
Apache License 2.0
28 stars 16 forks source link

centreon-plugin-Virtualization-Vmware2-Connector-Plugin - Update #79

Closed boogaaloo closed 5 years ago

boogaaloo commented 5 years ago

Hello,

I open a new issue. I upgraded centreon-plugin-Virtualization-VMWare-daemon (by yum). Then I updated the part of the vmware plugins - github ) in order to have centreon-plugin-Virtualization-Vmware2-Connector-Plugin up-to-date. Then I follow this :

# systemctl stop centreon_vmware
# systemctl daemon-reload
# chown centreon:centreon /var/log/centreon/centreon_vmware.log
# chown -R centreon:centreon /tmp/centreon_vmware
# systemctl start centreon_vmware

Nothing happen ! except this error : UNKNOWN: Container connection problem When i do journalctl -u centreon_vmware : Cannot open file /var/log/centreon/centreon_vmware.log: Permission non accordée

-rw-r--r-- 1 centreon centreon 11363178 25 mars 12:04 /var/log/centreon/centreon_vmware.log

This update is a bit messy... Thank you for your enlightenment !

boogaaloo commented 5 years ago

I uninstalled everything and reinstalled :

- (1/2): centreon-plugin-Virtualization-Vmware2-Connector-Plugin-2019022     
- (2/2): centreon-plugin-Virtualization-VMWare-daemon-3.0.0-201902211616

Then

# systemctl stop centreon_vmware
# systemctl daemon-reload
# chown centreon:centreon /var/log/centreon/centreon_vmware.log
# chown -R centreon:centreon /tmp/centreon_vmware
# systemctl start centreon_vmware

It doesn't work....

garnier-quentin commented 5 years ago

Could you give me plugin output error ? VMWare daemon is running ?

boogaaloo commented 5 years ago

When updating the packages, the file /usr/lib/centreon/plugins/centreon_vmware_connector_client.pl appears to be ignored. I had to add it manually and now it works. Thanks again for your help.

garnier-quentin commented 5 years ago

You're welcome