Hi,
I'm trying to use the PS Module module from http://velemental.com/2012/09/04/unofficial-vmware-vcenter-operations-powershell-module/.
When i do a query I don't receive any result. I've tried differents metrics but the answer it's always the same.
These are the steps that I follow:
Import-Module .\ps_vcops.psm1
Connect_VIServer
Connect-vCOpsServer -Server XXX -Username XXX -Password XXX
This cmdlet works fine:
Get-VM -Name XXXXX | Get-vCOpsResourceAttribute
This cmdlet always give me "NO RESULTS FOUND"
Get-VM -Name XXXX | Get-vCOpsResourceMetric -Verbose -startDate (Get-Date).AddMinutes(-10) -metricKey "badge|alert_count_critical"
DETALLADO:
action=getMetricDataAndDT&resourceName=XXXX&adapterKindKey=VMWARE&resourceKindKey=VirtualMachine&identifiers=VMEntityObjectID::vm-26121$$VMEntityVCID:
:A909598F-277D-4A78-8A67-60D1DFE9A025&metricKey=badge|alert_count_critical&starttime=137448896427000&endtime=137448956671351000
DETALLADO: No Results Found
Someone has used this module? Can you help me? Why I'm receiving an empty result?
Thanks in advance.