Comments (21)
I well manage period now. Before no. But you can check directly the ESX server.
from centreon-vmware.
There is no more this constraint if i check directly the ESX server ?
What are the prerequisite to do that ?
from centreon-vmware.
You need the address and an account on it.
from centreon-vmware.
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.
An ESX directly is like a vcenter. Same configuration.
from centreon-vmware.
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.
I've also /etc/init.d/centreon_vmware restart before check ...
from centreon-vmware.
It's not --connector-hostname. It's the container option ;)
from centreon-vmware.
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.
You need to look the log file from the connector.
from centreon-vmware.
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.
Maybe. You can try to connect with the vsphere client on it.
from centreon-vmware.
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.
You're welcome ;)
from centreon-vmware.
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.
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.
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.
In french, it's here in vcenter client:
Affichage - Administration - Paramètres serveurs -> Statistiques -> Intervalles de statistiques
from centreon-vmware.
This way is to increment level counter to level 3 ?
from centreon-vmware.
Yes. For the last day.
from centreon-vmware.
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)
- Host name in cli is case sensitive HOT 2
- possibly a protocol issue: Status read failed: at /usr/local/share/perl5/Net/HTTP/Methods.pm line 282 HOT 12
- [apps::vmware::connector::plugin] tools-vm - (enhancement) HOT 2
- How to select only powered on VM with --mode=datastore-vm HOT 1
- vmware daemon failed to start: Can't locate centreon/class/cisTags.pm HOT 4
- Better unknown messages for centreon_vmware_connector_client.pl
- Tags in Discovery HOT 1
- Unicode characters not handled correctly HOT 2
- Does the plugin work with vSphere 7 ? HOT 15
- Use of uninitialized value $dsName
- Packages unavailable under Oracle Linux 9 HOT 1
- [Mode] Memory-vm and ballooning HOT 5
- CPU and datastore cluster information HOT 2
- Login to VirtualCenter failed HOT 10
- Virtualization-VMWare-daemon-3.2.0 failed to start on CentOs 7 HOT 2
- apps::vmware::connector::plugin - mode net-vm HOT 3
- [apps::vmware::connector::plugin] iops perfdata for vSAN are missing HOT 4
- question - child preocess HOT 3
- plugin=apps::vmware::connector::plugin - mode='datastore-usage' - value incorrect HOT 10
- [Question metric vcenter] HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from centreon-vmware.