Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to collect performance #336

Closed
orb71 opened this issue Feb 21, 2023 · 5 comments
Closed

Unable to collect performance #336

orb71 opened this issue Feb 21, 2023 · 5 comments

Comments

@orb71
Copy link

orb71 commented Feb 21, 2023

Hi!

At first, I thought vCenter log level was the culprit behind this error due to the fact it was set with L1. a bump up to L3 did not fix the issue. So far I cannot get more than an offline inventory.

OVA : SexiGraf 0.99i “Victory Mine”


Transcript started, output file is /var/log/sexigraf/ViPullStatistics.log
2023-02-21T16:55:01.8845991+00:00 [INFO] ViPullStatistics v0.9.1006
2023-02-21T16:55:01.8924867+00:00 [INFO] Importing PowerCli and Graphite PowerShell modules ...
2023-02-21T16:55:03.9204900+00:00 [INFO] Looking for another ViPullStatistics for X.Y.local ...
2023-02-21T16:55:03.9393394+00:00 [INFO] SessionToken found in SessionFile, attempting connection to X.Y.local ...
2023-02-21T16:55:05.9822878+00:00 [INFO] Connected to vCenter X.Y.local version 7.0.3 build 20990077
2023-02-21T16:55:05.9870035+00:00 [INFO] Start processing vCenter/ESX X.Y.local ...
2023-02-21T16:55:06.1074616+00:00 [INFO] Processing SessionManager & EventManager ...
2023-02-21T16:55:06.4006810+00:00 [INFO] vCenter objects collect ...
2023-02-21T16:55:07.2038029+00:00 [INFO] Building objects tables ...
2023-02-21T16:55:07.2042064+00:00 [INFO] vCenter objects relationship discover ...
2023-02-21T16:55:07.2245772+00:00 [INFO] Performance metrics collection ...
PS>TerminatingError(): "Exception calling "QueryPerf" with "1" argument(s): "
Required parameter querySpec is missing

while parsing call information for method QueryPerf
at line 1, column 171

while parsing SOAP body
at line 1, column 64

while parsing SOAP envelope
at line 1, column 0

while parsing HTTP request for method queryStats
on object of type vim.PerformanceManager
at line 1, column 0""

TerminatingError(Measure-Command): "Exception calling "QueryPerf" with "1" argument(s): "
Required parameter querySpec is missing

while parsing call information for method QueryPerf
at line 1, column 171

while parsing SOAP body
at line 1, column 64

while parsing SOAP envelope
at line 1, column 0

while parsing HTTP request for method queryStats
on object of type vim.PerformanceManager
at line 1, column 0""
2023-02-21T16:55:07.2641099+00:00 [EROR] ESX MultiQueryPerfAll failure
2023-02-21T16:55:07.2650497+00:00 [EROR] Exception calling "QueryPerf" with "1" argument(s): "
Required parameter querySpec is missing

while parsing call information for method QueryPerf
at line 1, column 171

while parsing SOAP body
at line 1, column 64

while parsing SOAP envelope
at line 1, column 0

while parsing HTTP request for method queryStats
on object of type vim.PerformanceManager
at line 1, column 0"
2023-02-21T16:55:07.2675568+00:00 [EROR] Exit

@rschitz
Copy link
Member

rschitz commented Feb 21, 2023

Hi, We'll need you to run the collect script manually sourced so we can have a look on the queries.
i'll give you the instructions ASAP

@orb71
Copy link
Author

orb71 commented Feb 24, 2023

I have an update for you. The problem solved itself after the appliance reboot. We can close the case unless you need some logs.

Oli

@rschitz
Copy link
Member

rschitz commented Feb 24, 2023

Did you have 0 hosts or 0 vms at some point in your inventory?

@rschitz
Copy link
Member

rschitz commented Feb 24, 2023

got the same error with no connected ESX in the inventory:

PS>TerminatingError(): "Exception calling "QueryPerf" with "1" argument(s): "
Required parameter querySpec is missing

while parsing call information for method QueryPerf
at line 1, column 171

while parsing SOAP body
at line 1, column 64

while parsing SOAP envelope
at line 1, column 0

while parsing HTTP request for method queryStats
on object of type vim.PerformanceManager
at line 1, column 0""

TerminatingError(Measure-Command): "Exception calling "QueryPerf" with "1" argument(s): "
Required parameter querySpec is missing

while parsing call information for method QueryPerf
at line 1, column 171

while parsing SOAP body
at line 1, column 64

while parsing SOAP envelope
at line 1, column 0

while parsing HTTP request for method queryStats
on object of type vim.PerformanceManager
at line 1, column 0""
2023-02-24T22:35:12.6392861+00:00 [EROR] ESX MultiQueryPerfAll failure
2023-02-24T22:35:12.6400490+00:00 [EROR] Exception calling "QueryPerf" with "1" argument(s): "
Required parameter querySpec is missing

while parsing call information for method QueryPerf
at line 1, column 171

while parsing SOAP body
at line 1, column 64

while parsing SOAP envelope
at line 1, column 0

while parsing HTTP request for method queryStats
on object of type vim.PerformanceManager
at line 1, column 0"
2023-02-24T22:35:12.6440399+00:00 [EROR] Exit

@rschitz rschitz closed this as completed Feb 24, 2023
@rschitz
Copy link
Member

rschitz commented Feb 24, 2023

Thanks for your feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants