Replies: 4 comments 24 replies
-
Pinging code owners for receiver/vcenter: @djaglowski @schmikei @StefanKurek. |
Beta Was this translation helpful? Give feedback.
-
@sromlee Hello. The user shouldn't have to manually specify a datacenter for collection and this should be picked up automatically. Are you connecting to vCenter or connecting directly to an ESXi host? |
Beta Was this translation helpful? Give feedback.
-
This is the full error. I'm not sure it's because of my environment is a standalone (not a cluster) ?
|
Beta Was this translation helpful? Give feedback.
-
@djaglowski @schmikei @StefanKurek May I know if the scraper will work in case there is no resource pool, vapp and cluster ? |
Beta Was this translation helpful? Give feedback.
-
First of all, I'm a newbie and this is my very first time using Otel. The testing version is v0.102.0. The collector can produce some metrics for the datastore and host but no VM.
Below is my error:
unable to retrieve ResourcePools with InventoryLists please specify a datacenter;
Also the error about
querySpec
. Please see below is the full errors.2024-06-19T12:19:50.542Z error scraperhelper/scrapercontroller.go:197 Error scraping metrics {"kind": "receiver", "name": "vcenter", "data_type": "metrics", "error": "unable to retrieve ResourcePools with InventoryLists: please specify a datacenter; unable to retrieve vApps with InventoryLists: please specify a datacenter; failed to retrieve perf metrics for HostSystems: ServerFaultCode: \nRequired parameter querySpec is missing\n\nwhile parsing call information for method QueryPerf\nat line 2, column 66\n\nwhile parsing SOAP body\nat line 2, column 60\n\nwhile parsing SOAP envelope\nat line 2, column 0\n\nwhile parsing HTTP request for method queryStats\non object of type vim.PerformanceManager\nat line 1, column 0; failed to retrieve perf metrics for VirtualMachines: ServerFaultCode: \nRequired parameter querySpec is missing\n\nwhile parsing call information for method QueryPerf\nat line 2, column 66\n\nwhile parsing SOAP body\nat line 2, column 60\n\nwhile parsing SOAP envelope\nat line 2, column 0\n\nwhile parsing HTTP request for method queryStats\non object of type vim.PerformanceManager\nat line 1, column 0; no inventory path found for collected ResourcePool: Resources; no inventory path found for collected ResourcePool: Resources; no inventory path found for collected ResourcePool: Resources; no inventory path found for VM [xxxx]'s collected ResourcePool: Resources; no inventory path found for VM [xxxx]'s collected ResourcePool: Resources; no inventory path found for VM [xxxx]'s collected
I'm not sure how to specify the data center or something went wrong with my configuration.
Updated:
My VMware environment has no Resource pool/vApp/Cluster. How to avoid this kind of errors?
Beta Was this translation helpful? Give feedback.
All reactions