Code Monkey home page Code Monkey logo

Comments (11)

alliria98 avatar alliria98 commented on July 21, 2024

This problem is fixeb, but a new one appeared...
I configured the file /etc/centreon/centreon_vmware.pm with a my vcenter IP and allowed credentials

Then when I try to do a request, this happens :
image
with --connector-hostname=VcenterIP and esx-hostname=ESX_IP I'm asking memory usage

What am I doing wrong ? :(

from centreon-vmware.

alliria98 avatar alliria98 commented on July 21, 2024

Simple question with that kind of command : only my centreon server is allowed to ask some snmp info. Do I have to had my vcenter too ?

from centreon-vmware.

alliria98 avatar alliria98 commented on July 21, 2024

Hi everyone,
I'm back here cause I still get the same error, the problem has never been fixed
image

I suppose I correctly installed "centreon_vmware" plugin, since I can stop/start the service centreon_vmware
image

I tried to find any information about my problem in the other thread, but sadly I found nothing.
Can someone help me ? :)

from centreon-vmware.

alliria98 avatar alliria98 commented on July 21, 2024

I don't know if I move on or if I just fall into an infinite loop, I've got a new "error" message
image
What did I change ? now the connector isn't my VCenter but my Centreon, and I'm asking directly one of my ESX
I try to find information about the "container" option, but found nothing

A little help would be really appreciated, since I guess I'm not that far from the Graal

from centreon-vmware.

garnier-quentin avatar garnier-quentin commented on July 21, 2024

Could you give the content of "/etc/centreon/centreon_vmware.pm" file ?

from centreon-vmware.

alliria98 avatar alliria98 commented on July 21, 2024

Here we go :

%centreon_vmware_config = (
vsphere_server => {
'default' => {'url' => 'https://xxx.xxx.xxx.xxx/sdk',
'username' => 'yyyyyyyy',
'password' => 'zzzzzzzz'},
}
);
1;

Where "xxx.xxx.xxx.xxx" is the ip address of my VCenter, "yyy" and "zzz" credentials on my VCenter with read-only rights

from centreon-vmware.

alliria98 avatar alliria98 commented on July 21, 2024

Mea Culpa, the username was good but it didn't work : I didn't put the full username@domain and that's why I got the error message about container.... Sorry for that
But now, still got another message error :
image
Gonna search for my own and put the right answer if I found it :)

from centreon-vmware.

garnier-quentin avatar garnier-quentin commented on July 21, 2024

You can use following option: --no-memory-state

from centreon-vmware.

alliria98 avatar alliria98 commented on July 21, 2024

I changed the sampling period for 20 (despite of 300) and that worked too.

Sadly I still got at least one issue : do you know why in cli this command works
image

But when I go through the web interface, i got the output :
image

I tried my command in the web interface in ssh with the magic_command
su - centreon-engine -c "command_webinterface_format"
and it's working I got a good output

from centreon-vmware.

garnier-quentin avatar garnier-quentin commented on July 21, 2024

Use the mode 'getmap' to know ESX hostnames.

from centreon-vmware.

alliria98 avatar alliria98 commented on July 21, 2024

My bas once again... was using the $hostname$ despite of $hostaddress$ macro in my command... Very sorry
Everything's fine now thanks a lot

from centreon-vmware.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.