Comments (9)
Hello,
Do you have some VMs up and running on that host?
Can you also tell me which version of ESXi you're running?
I cannot reproduce - yet -the issue with my hosts, I'll add more python checks.
from vmware_exporter.
Hi,
I receive exactly the same error messages when connecting to a vcenter server (6.5 - Appliance)
Robert
from vmware_exporter.
Hi,
@is4it-lab, can you comment line 134 (self._vmware_get_vms(content, metrics, counter_info)
) and check if you still have issues?
I'll check deeper the VM metrics retrieval.
Can you also provide me your environment ?
- OS
- Python version
- pyvmomi module version
- prometheus python module version
Thanks,
from vmware_exporter.
Hi,
the script works fine with the change.
my environment:
OS: Debian GNU/Linux 8 (jessie)
Python version: Python 2.7.9
pyvmomi module version: pyvmomi-6.5-py2.7
prometheus python module version: prometheus_client-0.0.19
best regards
Robert
from vmware_exporter.
Ok but you will not have the vm metrics. I'll take a look.
from vmware_exporter.
There are some metrics:
host, datastore but no vm's
# HELP process_virtual_memory_bytes Virtual memory size in bytes.
# TYPE process_virtual_memory_bytes gauge
process_virtual_memory_bytes 177471488.0
# HELP process_resident_memory_bytes Resident memory size in bytes.
# TYPE process_resident_memory_bytes gauge
process_resident_memory_bytes 51806208.0
# HELP process_start_time_seconds Start time of the process since unix epoch in seconds.
# TYPE process_start_time_seconds gauge
process_start_time_seconds 1498134116.04
# HELP process_cpu_seconds_total Total user and system CPU time spent in seconds.
# TYPE process_cpu_seconds_total counter
process_cpu_seconds_total 29.63
...
# HELP vmware_host_cpu_max VMWare Host CPU max availability in Mhz
# TYPE vmware_host_cpu_max gauge
vmware_host_cpu_max{host_name="esx2.testlab.local"} 22788.0
vmware_host_cpu_max{host_name="esx1.testlab.local"} 28800.0
vmware_host_cpu_max{host_name="esx3.testlab.local"} 24000.0
vmware_host_cpu_max{host_name="esx4.testlab.local"} 9576.0
# HELP vmware_host_cpu_usage VMWare Host CPU usage in Mhz
# TYPE vmware_host_cpu_usage gauge
vmware_host_cpu_usage{host_name="esx2.testlab.local"} 5993.0
vmware_host_cpu_usage{host_name="esx1.testlab.local"} 5294.0
vmware_host_cpu_usage{host_name="esx3.testlab.local"} 8694.0
vmware_host_cpu_usage{host_name="esx4.testlab.local"} 115.0
from vmware_exporter.
I just tried the exporter against an ESXi 6.5 host (not connected to vcenter) and it's showing me vmware_vm_* metrics for all of my VMs. So as far as I can tell it's working for me.
from vmware_exporter.
Hi,
I am gettng metrics for my VMs now with the current version of the exporter, thanks for the fix!
vmware_vm_boot_timestamp_seconds
vmware_vm_cpu_usage_average
vmware_vm_disk_read_average
vmware_vm_disk_write_average
vmware_vm_disk_usage_average
vmware_vm_power_state
vmware_vm_snapshot_timestamp_seconds
vmware_vm_snapshots
I am still getting error messages in the logs, however:
Error! Cannot get vm metrics, details:
(vim.PerformanceManager.EntityMetricBase) []
Andreas
from vmware_exporter.
Hi,
OK, I get the same issue now with VM that are not managed by my vcenter anymore.
I just changed the error message in commit b0c771f to see metrics and vm_name when having this error.
I guess I can close this issue now.
from vmware_exporter.
Related Issues (20)
- Rename config values
- Send 500 status code when error connecting to host HOT 2
- add host network metrics HOT 1
- Prometheus erro HOT 24
- Metrics gathering blocks if connection is timing out HOT 7
- add exporter runtime metrics HOT 1
- Performance impact of refreshing each datastore info at every scrape HOT 4
- exporter is refreshing vcenter datastore states every one minutes HOT 2
- The response time is too long HOT 5
- Need /healthz endpoint(s) HOT 1
- [Feature Request] Add Host Hardware Information HOT 1
- Limit metrics to be collected HOT 1
- Add "cluster" label for hosts, vms and datastores HOT 10
- Unclear values for vmware_vm_cpu_usage_average metric HOT 3
- vmware_vm_cpu_ready_summation is not very useful without the number of vCPUs on the VM HOT 2
- Python 3 support HOT 1
- Getting Alarm Info HOT 1
- exceptions.TypeError: a float is required HOT 1
- Transfer ownership HOT 2
- connection to vcenter lost HOT 2
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.