VMware
 

Knowledge Base

Search the Knowledge Base:

Products:
Search In:
 

VirtualCenter Throws invalidArgument::Exception querySpec.interval

Details

VirtualCenter 2.0.2 used to ignore incompatible interval values between hosts. With VirtualCenter 2.5 or higher, VirtualCenter throws an invalidArgument:: Exception querySpec.interval with ESX Server 2.5 hosts using an interval of 20 seconds and with ESX Server hosts 3.0.x using an interval value of 60 seconds.

Solution

Prior to VirtualCenter 2.5, the intervalID specification was not adhered to. If the intervalID given did not comply with the above two conditions, the query was silently ignored. For VirtualCenter 2.5 or higher, VirtualCenter throws an invalid argument exception.

An invalid argument exception is thrown if:

  • The entity queried for is NULL or is not a registered PerfProvider .
  • The start or the end time is before epoch.
  • The start time is the same as or after the end time.
  • The intervalID is not valid because validity is guaranteed when the intervalID is:
    • Equal to the refresh rate for a provider.
    • One of the intervals used previously, which is stored as historical information.
For additional information about querySpec , see the VI API Reference Guide at http://pubs.vmware.com/vi-sdk/visdk250/ReferenceGuide.

Keywords

SDK, Virtual Center, ESX, URLZ

Feedback

Rating: 1 - Lowest 2 3 4 5 - Highest (0 Ratings)   

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (2000 or fewer characters)
Submit
Rating: 1 - Lowest 2 3 4 5 - Highest (0 Ratings)   
Actions