Code Monkey home page Code Monkey logo

Comments (21)

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

I well manage period now. Before no. But you can check directly the ESX server.

from centreon-vmware.

ritouret avatar ritouret commented on July 21, 2024

There is no more this constraint if i check directly the ESX server ?
What are the prerequisite to do that ?

from centreon-vmware.

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

You need the address and an account on it.

from centreon-vmware.

ritouret avatar ritouret commented on July 21, 2024

I've checked the documentation https://documentation-fr.centreon.com/docs/centreon-vmware/en/latest/exploitation/index.html but nothing for how to do that.

I've tried some things but no answer.
Which arguments do we need to do that ?

1 # /usr/lib/nagios/plugins/centreon_plugins.pl --plugin=apps::vmware::connector::plugin --mode=datastore-iops --custommode=connector --connector-hostname='127.0.0.1' --connector-port='5700' --container='default' --datastore-name='.*' --filter --verbose --disconnect-status='ok'
UNKNOWN: Cannot get counter 'disk.numberRead.summation' for the sampling period '300' (counter level: 3, sampling level: 2) |

2 # /usr/lib/nagios/plugins/centreon_plugins.pl --plugin=apps::vmware::connector::plugin --mode=datastore-iops --vsphere-address=xxx --vsphere-username=xxx --vsphere-password=xxx --datastore-name='.*' --filter --verbose --disconnect-status='ok'
UNKNOWN: Please set option --connector-hostname.

3 # /usr/lib/nagios/plugins/centreon_plugins.pl --plugin=apps::vmware::connector::plugin --mode=datastore-iops --custommode=connector --connector-hostname='127.0.0.1' --connector-port='5700' --container='default' --datastore-name='.*' --filter --verbose --disconnect-status='ok' --vsphere-address=xxx --vsphere-username=xxx --vsphere-password=xxx
UNKNOWN: Container connection problem |

Thanks

from centreon-vmware.

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

An ESX directly is like a vcenter. Same configuration.

from centreon-vmware.

ritouret avatar ritouret commented on July 21, 2024

I've had these lines into /etc/centreon/centreon_vmware.pm :
'myESX' => {'url' => 'https://IP_myESX/sdk',
'username' => 'xxx',
'password' => 'xxx'},

Then :
4 # /usr/lib/nagios/plugins/centreon_plugins.pl --plugin=apps::vmware::connector::plugin --mode=datastore-iops --custommode=connector --connector-hostname='myESX' --connector-port='5700' --container='default' --datastore-name='.*' --filter --verbose --disconnect-status='ok'
UNKNOWN: Cannot get response (timeout received) |

from centreon-vmware.

ritouret avatar ritouret commented on July 21, 2024

I've also /etc/init.d/centreon_vmware restart before check ...

from centreon-vmware.

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

It's not --connector-hostname. It's the container option ;)

from centreon-vmware.

ritouret avatar ritouret commented on July 21, 2024

Oups, sorry for that mistake ...

5 # /usr/lib/nagios/plugins/centreon_plugins.pl --plugin=apps::vmware::connector::plugin --mode=datastore-iops --custommode=connector --connector-hostname='127.0.0.1' --connector-port='5700' --container='myESX' --datastore-name='.*' --filter --verbose --disconnect-status='ok'
UNKNOWN: Container connection problem |

from centreon-vmware.

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

You need to look the log file from the connector.

from centreon-vmware.

ritouret avatar ritouret commented on July 21, 2024

Here is message log :
2016-01-28 13:43:28 - 'myESX' Login to VirtualCenter server failed: Error: Permission to perform this operation was denied.

Is it comes from the way that user was created on this ESX ?

from centreon-vmware.

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

Maybe. You can try to connect with the vsphere client on it.

from centreon-vmware.

ritouret avatar ritouret commented on July 21, 2024

By default, local account is created without any rights. We add read only rights and the last request is good now.

Many thanks for your help Quentin.

from centreon-vmware.

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

You're welcome ;)

from centreon-vmware.

ritouret avatar ritouret commented on July 21, 2024

Hello Quentin,

It's really not efficient to manage datastore through ESX :
1- You have to select which ESX you will use to monitor only once a datastore
2- If the ESX failed, there is no redondant part to continue monitoring datastore
3- IOPS seems to be mesured only for VM which are hosted by the ESX

For the last point, i have many services with the following message :
"No virtual machines on the datastore"

A same datastore can be with this message through an ESX and with values through an other ESX.

from centreon-vmware.

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

If it's not ok for you directly with the ESX. Use the vcenter (and add counters value to get for the vcenter).

from centreon-vmware.

ritouret avatar ritouret commented on July 21, 2024

Thank you Quentin, but i don't understand what you meen.
Is it possible to get other counters than those you defined through vCenter ? If is that you mean, how can i do that ?

from centreon-vmware.

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

In french, it's here in vcenter client:
Affichage - Administration - Paramètres serveurs -> Statistiques -> Intervalles de statistiques

from centreon-vmware.

ritouret avatar ritouret commented on July 21, 2024

This way is to increment level counter to level 3 ?

from centreon-vmware.

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

Yes. For the last day.

from centreon-vmware.

ritouret avatar ritouret commented on July 21, 2024

Ok, i'm giving up. Next time you will come, we will plan to speak with the VMWare expert !!!

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.