Comments (15)
in this config works
vmware_exporter:
image: pryorda/vmware_exporter:v.0.9.5
ports:
- "9273:9272"
environment:
VSPHERE_HOST: "****"
VSPHERE_USER: "***"
VSPHERE_PASSWORD: "***"
VSPHERE_IGNORE_SSL: "True"
VSPHERE_COLLECT_VMS: "False"
VSPHERE_COLLECT_VMGUESTS: "False"
restart: always
I'll try to enable other options to check
from vmware_exporter.
I don't currently have a 6.7 instance to test with. I'll look at this more when I have one. What version do you have pulled down ?
from vmware_exporter.
I pulled straight from the master branch.
from vmware_exporter.
Version
6.7.0
Build
11727113
everything is ok.
is was ok until I've updated to latest version...
from vmware_exporter.
Here is my traceback of docker container.
without docker app cant be running. dnt know why.
root@exporter:/opt/docker# docker-compose up --force-recreate
Recreating docker_vmware_exporter_1
Attaching to docker_vmware_exporter_1
vmware_exporter_1 | [2019-03-14 13:21:33.463247+00:00] Starting web server on port 9272
vmware_exporter_1 | [2019-03-14 13:21:46.780090+00:00] Start collecting metrics from esxname.com
vmware_exporter_1 | [2019-03-14 13:21:46.780152+00:00] Starting vm metrics collection
vmware_exporter_1 | [2019-03-14 13:21:46.780189+00:00] Fetching vim.VirtualMachine inventory
vmware_exporter_1 | [2019-03-14 13:21:46.781295+00:00] Retrieving service instance content
vmware_exporter_1 | [2019-03-14 13:21:46.782062+00:00] Starting datastore metrics collection
vmware_exporter_1 | [2019-03-14 13:21:46.782105+00:00] Fetching vim.Datastore inventory
vmware_exporter_1 | [2019-03-14 13:21:46.782473+00:00] Starting host metrics collection
vmware_exporter_1 | [2019-03-14 13:21:46.782508+00:00] Fetching vim.HostSystem inventory
vmware_exporter_1 | [2019-03-14 13:21:46.904393+00:00] Retrieved service instance content
vmware_exporter_1 | [2019-03-14 13:21:47.581929+00:00] Fetched vim.HostSystem inventory (0:00:00.799401)
vmware_exporter_1 | [2019-03-14 13:21:49.054341+00:00] Fetched vim.Datastore inventory (0:00:02.272215)
vmware_exporter_1 | [2019-03-14 13:21:49.055066+00:00] Finished datastore metrics collection
vmware_exporter_1 | [2019-03-14 13:21:49.137606+00:00] Fetched vim.VirtualMachine inventory (0:00:02.357397)
vmware_exporter_1 | [2019-03-14 13:21:53.705338+00:00] Traceback (most recent call last):
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py", line 806, in _async_render_GET
vmware_exporter_1 | yield self.generate_latest_metrics(request)
vmware_exporter_1 | twisted.internet.defer.FirstError: FirstError[#0, [Failure instance: Traceback: <class 'twisted.internet.defer.FirstError'>: FirstError[#1, [Failure instance: Traceback: <class 'twisted.internet.defer.FirstError'>: FirstError[#1, [Failure instance: Traceback: <class 'AttributeError'>: 'dict' object has no attribute 'extend'
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/twisted/internet/defer.py:501:errback
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/twisted/internet/defer.py:568:_startRunCallbacks
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/twisted/internet/defer.py:654:_runCallbacks
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/twisted/internet/defer.py:1475:gotResult
vmware_exporter_1 | --- <exception caught here> ---
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/twisted/internet/defer.py:1416:_inlineCallbacks
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/twisted/python/failure.py:491:throwExceptionIntoGenerator
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py:421:host_labels
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/twisted/python/threadpool.py:250:inContext
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/twisted/python/threadpool.py:266:<lambda>
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/twisted/python/context.py:122:callWithContext
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/twisted/python/context.py:85:callWithContext
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py:421:<lambda>
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py:414:_collect
vmware_exporter_1 | ]]
vmware_exporter_1 | --- <exception caught here> ---
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py:429:vm_labels
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/vmware_exporter/defer.py:99:parallelize
vmware_exporter_1 | ]]
vmware_exporter_1 | --- <exception caught here> ---
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py:594:_vmware_get_vms
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/vmware_exporter/defer.py:99:parallelize
vmware_exporter_1 | ]]
vmware_exporter_1 |
vmware_exporter_1 | Unhandled error in Deferred:
vmware_exporter_1 |
vmware_exporter_1 | Traceback (most recent call last):
vmware_exporter_1 | --- <exception caught here> ---
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py", line 429, in vm_labels
vmware_exporter_1 | virtual_machines, host_labels = yield parallelize(self.vm_inventory, self.host_labels)
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/vmware_exporter/defer.py", line 99, in parallelize
vmware_exporter_1 | results = yield defer.DeferredList(args, fireOnOneErrback=True)
vmware_exporter_1 | twisted.internet.defer.FirstError: FirstError[#1, [Failure instance: Traceback: <class 'AttributeError'>: 'dict' object has no attribute 'extend'
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/twisted/internet/defer.py:501:errback
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/twisted/internet/defer.py:568:_startRunCallbacks
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/twisted/internet/defer.py:654:_runCallbacks
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/twisted/internet/defer.py:1475:gotResult
vmware_exporter_1 | --- <exception caught here> ---
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/twisted/internet/defer.py:1416:_inlineCallbacks
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/twisted/python/failure.py:491:throwExceptionIntoGenerator
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py:421:host_labels
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/twisted/python/threadpool.py:250:inContext
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/twisted/python/threadpool.py:266:<lambda>
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/twisted/python/context.py:122:callWithContext
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/twisted/python/context.py:85:callWithContext
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py:421:<lambda>
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py:414:_collect
vmware_exporter_1 | ]]
vmware_exporter_1 |
vmware_exporter_1 | Unhandled error in Deferred:
vmware_exporter_1 |
vmware_exporter_1 | Traceback (most recent call last):
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/twisted/internet/defer.py", line 501, in errback
vmware_exporter_1 | self._startRunCallbacks(fail)
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/twisted/internet/defer.py", line 568, in _startRunCallbacks
vmware_exporter_1 | self._runCallbacks()
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/twisted/internet/defer.py", line 654, in _runCallbacks
vmware_exporter_1 | current.result = callback(current.result, *args, **kw)
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/twisted/internet/defer.py", line 1475, in gotResult
vmware_exporter_1 | _inlineCallbacks(r, g, status)
vmware_exporter_1 | --- <exception caught here> ---
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
vmware_exporter_1 | result = result.throwExceptionIntoGenerator(g)
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/twisted/python/failure.py", line 491, in throwExceptionIntoGenerator
vmware_exporter_1 | return g.throw(self.type, self.value, self.tb)
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py", line 421, in host_labels
vmware_exporter_1 | result = yield threads.deferToThread(lambda: _collect(dc, dc.hostFolder))
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/twisted/python/threadpool.py", line 250, in inContext
vmware_exporter_1 | result = inContext.theWork()
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/twisted/python/threadpool.py", line 266, in <lambda>
vmware_exporter_1 | inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/twisted/python/context.py", line 122, in callWithContext
vmware_exporter_1 | return self.currentContext().callWithContext(ctx, func, *args, **kw)
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/twisted/python/context.py", line 85, in callWithContext
vmware_exporter_1 | return func(*args,**kw)
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py", line 421, in <lambda>
vmware_exporter_1 | result = yield threads.deferToThread(lambda: _collect(dc, dc.hostFolder))
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py", line 414, in _collect
vmware_exporter_1 | host_inventory.extend(_collect(dc, folder))
vmware_exporter_1 | builtins.AttributeError: 'dict' object has no attribute 'extend'
vmware_exporter_1 |
vmware_exporter_1 | Unhandled error in Deferred:
vmware_exporter_1 |
vmware_exporter_1 | Traceback (most recent call last):
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/twisted/internet/defer.py", line 501, in errback
vmware_exporter_1 | self._startRunCallbacks(fail)
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/twisted/internet/defer.py", line 568, in _startRunCallbacks
vmware_exporter_1 | self._runCallbacks()
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/twisted/internet/defer.py", line 654, in _runCallbacks
vmware_exporter_1 | current.result = callback(current.result, *args, **kw)
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/twisted/internet/defer.py", line 1475, in gotResult
vmware_exporter_1 | _inlineCallbacks(r, g, status)
vmware_exporter_1 | --- <exception caught here> ---
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
vmware_exporter_1 | result = result.throwExceptionIntoGenerator(g)
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/twisted/python/failure.py", line 491, in throwExceptionIntoGenerator
vmware_exporter_1 | return g.throw(self.type, self.value, self.tb)
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py", line 421, in host_labels
vmware_exporter_1 | result = yield threads.deferToThread(lambda: _collect(dc, dc.hostFolder))
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/twisted/python/threadpool.py", line 250, in inContext
vmware_exporter_1 | result = inContext.theWork()
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/twisted/python/threadpool.py", line 266, in <lambda>
vmware_exporter_1 | inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/twisted/python/context.py", line 122, in callWithContext
vmware_exporter_1 | return self.currentContext().callWithContext(ctx, func, *args, **kw)
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/twisted/python/context.py", line 85, in callWithContext
vmware_exporter_1 | return func(*args,**kw)
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py", line 421, in <lambda>
vmware_exporter_1 | result = yield threads.deferToThread(lambda: _collect(dc, dc.hostFolder))
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py", line 414, in _collect
vmware_exporter_1 | host_inventory.extend(_collect(dc, folder))
vmware_exporter_1 | builtins.AttributeError: 'dict' object has no attribute 'extend'
vmware_exporter_1 |
^CGracefully stopping... (press Ctrl+C again to force)
Stopping docker_vmware_exporter_1 ... done
from vmware_exporter.
for now i revered to very old repo
git reset --hard db51c1a
and everything works
from vmware_exporter.
I've played around with docker different vers.
SO
v.0.2.6 works OK with 6.7 @rackunits may be interesting for u)
v. 0.3.0 works but not stable results in output with 6.7
v. 0.3.1 not.
v. 0.4.0 not too.
Here's trace for v0.3.1
Status: Downloaded newer image for pryorda/vmware_exporter:v0.3.1
Recreating docker_vmware_exporter_1
Attaching to docker_vmware_exporter_1
vmware_exporter_1 | [2019-03-14 14:47:14.424858+00:00] Starting web server on port 9272
vmware_exporter_1 | [2019-03-14 14:47:17.424297+00:00] Start collecting metrics from kr01-vc01.tech.mosreg.ru
vmware_exporter_1 | [2019-03-14 14:47:17.530695+00:00] Starting inventory collection
vmware_exporter_1 | [2019-03-14 14:47:22.605195+00:00] [Failure instance: Traceback: <class 'AttributeError'>: 'vim.Folder' object has no attribute 'host'
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/twisted/internet/base.py:1276:mainLoop
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/twisted/internet/base.py:902:runUntilCurrent
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/twisted/internet/defer.py:460:callback
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/twisted/internet/defer.py:568:_startRunCallbacks
vmware_exporter_1 | --- <exception caught here> ---
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/twisted/internet/defer.py:654:_runCallbacks
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py:687:generate_latest_metrics
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/prometheus_client/exposition.py:63:generate_latest
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/prometheus_client/core.py:97:collect
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py:192:collect
vmware_exporter_1 | /usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py:564:_vmware_get_inventory
vmware_exporter_1 | ]
vmware_exporter_1 |
vmware_exporter_1 | Traceback (most recent call last):
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/twisted/internet/base.py", line 1276, in mainLoop
vmware_exporter_1 | self.runUntilCurrent()
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/twisted/internet/base.py", line 902, in runUntilCurrent
vmware_exporter_1 | call.func(*call.args, **call.kw)
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/twisted/internet/defer.py", line 460, in callback
vmware_exporter_1 | self._startRunCallbacks(result)
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/twisted/internet/defer.py", line 568, in _startRunCallbacks
vmware_exporter_1 | self._runCallbacks()
vmware_exporter_1 | --- <exception caught here> ---
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/twisted/internet/defer.py", line 654, in _runCallbacks
vmware_exporter_1 | current.result = callback(current.result, *args, **kw)
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py", line 687, in generate_latest_metrics
vmware_exporter_1 | output = generate_latest(registry)
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/prometheus_client/exposition.py", line 63, in generate_latest
vmware_exporter_1 | for metric in registry.collect():
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/prometheus_client/core.py", line 97, in collect
vmware_exporter_1 | for metric in collector.collect():
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py", line 192, in collect
vmware_exporter_1 | host_inventory, ds_inventory = self._vmware_get_inventory(content)
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py", line 564, in _vmware_get_inventory
vmware_exporter_1 | for host in folder.host:
vmware_exporter_1 | builtins.AttributeError: 'vim.Folder' object has no attribute 'host'
vmware_exporter_1 |
^CGracefully stopping... (press Ctrl+C again to force)
Stopping docker_vmware_exporter_1 ... done
and here is for 0.4.0
Status: Downloaded newer image for pryorda/vmware_exporter:v0.4.0
Recreating docker_vmware_exporter_1
Attaching to docker_vmware_exporter_1
vmware_exporter_1 | [2019-03-14 14:46:03.373203+00:00] Starting web server on port 9272
vmware_exporter_1 | [2019-03-14 14:46:06.318302+00:00] Start collecting metrics from kr01-vc01.tech.mosreg.ru
vmware_exporter_1 | [2019-03-14 14:46:06.409089+00:00] Starting inventory collection
vmware_exporter_1 | [2019-03-14 14:46:11.546790+00:00] Traceback (most recent call last):
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py", line 650, in _async_render_GET
vmware_exporter_1 | yield self.generate_latest_metrics(request)
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
vmware_exporter_1 | result = result.throwExceptionIntoGenerator(g)
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/twisted/python/failure.py", line 491, in throwExceptionIntoGenerator
vmware_exporter_1 | return g.throw(self.type, self.value, self.tb)
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py", line 689, in generate_latest_metrics
vmware_exporter_1 | metrics = yield collector.collect()
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
vmware_exporter_1 | result = result.throwExceptionIntoGenerator(g)
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/twisted/python/failure.py", line 491, in throwExceptionIntoGenerator
vmware_exporter_1 | return g.throw(self.type, self.value, self.tb)
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py", line 184, in collect
vmware_exporter_1 | content,
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/twisted/python/threadpool.py", line 250, in inContext
vmware_exporter_1 | result = inContext.theWork()
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/twisted/python/threadpool.py", line 266, in <lambda>
vmware_exporter_1 | inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/twisted/python/context.py", line 122, in callWithContext
vmware_exporter_1 | return self.currentContext().callWithContext(ctx, func, *args, **kw)
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/twisted/python/context.py", line 85, in callWithContext
vmware_exporter_1 | return func(*args,**kw)
vmware_exporter_1 | File "/usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py", line 572, in _vmware_get_inventory
vmware_exporter_1 | for host in folder.host:
vmware_exporter_1 | AttributeError: 'vim.Folder' object has no attribute 'host'
vmware_exporter_1 |
^CGracefully stopping... (press Ctrl+C again to force)
If you want I'm always ready for testing)
@pryorda
from vmware_exporter.
We've been planning to update our infra so I'll probably start coding for this then.
from vmware_exporter.
Reproduced <class 'TypeError'>: Required field "querySpec" not provided (not @optional)
Following case:
- No VMs available
- Might be due to restricted rights
2019-05-21 11:27:04,218 ERROR:Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py", line 845, in _async_render_GET
yield self.generate_latest_metrics(request)
twisted.internet.defer.FirstError: FirstError[#1, [Failure instance: Traceback: <class 'twisted.internet.defer.FirstError'>: FirstError[#0, [Failure instance: Traceback: <class 'TypeError'>: Required field "querySpec" not provided (not @optional)
/usr/local/lib/python3.6/threading.py:916:_bootstrap_inner
/usr/local/lib/python3.6/threading.py:864:run
/usr/local/lib/python3.6/site-packages/twisted/_threads/_threadworker.py:46:work
/usr/local/lib/python3.6/site-packages/twisted/_threads/_team.py:190:doWork
--- <exception caught here> ---
/usr/local/lib/python3.6/site-packages/twisted/python/threadpool.py:250:inContext
/usr/local/lib/python3.6/site-packages/twisted/python/threadpool.py:266:<lambda>
/usr/local/lib/python3.6/site-packages/twisted/python/context.py:122:callWithContext
/usr/local/lib/python3.6/site-packages/twisted/python/context.py:85:callWithContext
/usr/local/lib/python3.6/site-packages/pyVmomi/VmomiSupport.py:706:<lambda>
/usr/local/lib/python3.6/site-packages/pyVmomi/VmomiSupport.py:511:_InvokeMethod
/usr/local/lib/python3.6/site-packages/pyVmomi/VmomiSupport.py:1041:CheckField
]]
--- <exception caught here> ---
/usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py:602:_vmware_get_vm_perf_manager_metrics
/usr/local/lib/python3.6/site-packages/vmware_exporter/defer.py:99:parallelize
]]
2019-05-21 11:27:04,222 INFO:Fetched vim.Datastore inventory (0:00:00.377229)
2019-05-21 11:27:04,246 INFO:Finished vm metrics collection
from vmware_exporter.
TODO: Better error handling if "spec" is empty in line 602 because of no VMs discovered, we should print a info log message and not call to defer.
from vmware_exporter.
Should be fixed in latest PR
from vmware_exporter.
@akurach Can you test?
from vmware_exporter.
@akurach Can you test?
I'l try it in a few days
from vmware_exporter.
tested on VMware ESXi, 6.7.0, 13644319
works ok all options.
from vmware_exporter.
/close
from vmware_exporter.
Related Issues (20)
- requirements.txt is missing requests HOT 1
- Redirect LOG output or disable LOG HOT 2
- works in docker but not in docker-compose HOT 1
- metrics for host services (such as ntp) ? HOT 1
- [solved] AttributeError: 'NoneType' object has no attribute 'RetrieveContent' when running vmware_exporter HOT 7
- no way to pull VM OS type and version ? HOT 1
- Multiarch Containerimage HOT 1
- Change interval of scraping the metrics HOT 1
- Need the leanest config to fetch a few Esxi host metrics HOT 1
- Memory Usage of Virtual Machine graph HOT 2
- How do you scrap for operating systems of VM like Redhat, windows 10 etc ? HOT 2
- RuntimeError: Request.finish called on a request after its connection was lost; use Request.notifyFinish to keep track of this HOT 1
- Need Resource Pool settings
- Getting overlapped data with VMware exs HOT 2
- Is this project still maintained?
- add new metrics to vmware_exporter
- Using vmware_exporter in Linux HOT 2
- Can I check ring full by vsish cli of esxi ?
- I have got a bug or i don't understood how it works HOT 1
- Is there a way we can run exporter using non-root user ? HOT 1
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 vmware_exporter.