Comments (13)
You can look ntp drift with the time-host mode.
The code is for direct interval (there is no historics). You have start/end below in the function.
Try the option shift-time also.
from centreon-vmware.
I know for the ftp but there's no drift, sync is fine, all host are synchronized on same ntp.
I try the --time-shift too, but there's no effect. The vpxd log in vcenter write sometimes that the perf request return no value.
I don't think this is a time shift problem : as i say, the request has a good return if i try a few seconds later. It seems that the perf query can not always return data on a specific interval, so get last available samples is more safe to obtain perf datas.
from centreon-vmware.
With the shift interval you can get more samples. That's what you want.
from centreon-vmware.
ok, thanks for your response, i'll try it again.
from centreon-vmware.
Hello,
I am facing the same issue: all the servers are synchronized with the same ntp server and their offsets are about +-0.something, but I keep getting the "UNKNOWN: Cannot get value for counters (Maybe, object(s) cannot be reached: disconnected, not running, time not synced (see time-host mode),...) |" on what seems to be a random basis, sometimes the check works and I have a normal output, sometimes not and I get this.
I also tried the --time-shift option but it changes nothing apparently.
from centreon-vmware.
Could you give me the result of "time-host" mode ? Do you see graphics wiath datas in the vcenter (same account) ?
from centreon-vmware.
Yes:
[root@XXXX centreon-plugins]# perl centreon_plugins.pl --plugin=apps::vmware::connector::plugin --custommode=connector --connector-hostname=127.0.0.1 --container=XXXX --mode=time-host
OK: 'XXXX' Time offset 0 second(s) : 2017-02-01T10:46:21.932778Z | 'offset'=-0.932777881622314s;;;0;
from centreon-vmware.
And for graphics in vcenter ?
from centreon-vmware.
Which graphics ?
from centreon-vmware.
Graphics for the check you want. Look counters in vcenter.
from centreon-vmware.
I don't have access to the vcenter but only to some ESXis and I was running the cpu-host mode of centreon_vmware on one of them.
The CPU graphics on the ESXi are being displayed and refreshed correctly.
from centreon-vmware.
So i don't know. Should need an access. Can't tell more.
from centreon-vmware.
I try again with time shift argument.
Unfortunately, I have to change the code to avoid requesting datas on a specific time range.
Getting metrics on a direct interval ( even with time shift ) is not reliable. The mentioned error means that there's no value to return on the period. You haven't any guarantee that an host or a VM return you counters on a specified time range.
Get the last available value whithout specifying time range works well.
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.