Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 49146

Re: Performance statistics error: some metric counters doesn't exist for entity

$
0
0

get-stat2 against vCenter 5.5 produced this error:

 

Exception calling "QueryAvailablePerfMetric" with "4" argument(s): "A
specified parameter was not correct: entity"
At D:\vCenter_Reporting\Get-Stat2.ps1:154 char:5
+     $metricId = $perfMgr.QueryAvailablePerfMetric($Entity.MoRef,$null ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationExceptio
   n
    + FullyQualifiedErrorId : VimException

-Instance parameter invalid for requested stat: cpu.usage.average.
Valid values are:
At D:\vCenter_Reporting\Get-Stat2.ps1:180 char:9
+         Throw "-Instance parameter invalid for requested stat: $st.`n ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (-Instance param...id values
    are: :String) [], RuntimeException
    + FullyQualifiedErrorId : -Instance parameter invalid for requested stat
   : cpu.usage.average.
Valid values are:


Viewing all articles
Browse latest Browse all 49146

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>