Hello everyone
I have an issue / problem with this supermetric creation.
At first I have created a view filtering the VMs name which snapshot is over 100 days, it works perfectly
But, when I work on supermetric trying to count, on vCenter level, the number of VMs which snapshot is over 100 days,it shows 0 . I have other supermetrics with same structure and they are working.
count(${adaptertype=VMWARE, objecttype=VirtualMachine, attribute=diskspace|snapshot|snapshotAge, depth=5, where = "diskspace|snapshot|snapshotAge>=100"})
Someone knows where is the issue or mistake? It should shows at least 3 vms as you can see on the first image.
Thanks
It works for me all i changed was the age down to 1 as we have none over 100. The only thing i can think of is i am running 7.0 and 7.5 and it worked on both. I know there were problems in the passed using attributes in super metrics but seems to have been added in 7.0
Hello sxnxr
I'm working on 6.7 version and we are waiting the update for version 7.x in our environment, As soon as we have it I will try. Anyone can confirm that it doesn't work on 6.7 version? or I had a mistake on someone point?
sxnxr can you explain this: "All i changed was the age down to 1 as we have none over 100" (I don't understand the sentence)
Thanks, regards.
I changed your where statement to where = "diskspace|snapshot|snapshotAge>=1 because we dont have a snapshot age >= 100 so that i can see if it would work
Another example that works in 7.x and not in 6.7 is
count(${adaptertype=VMWARE, objecttype=VirtualMachine, attribute=summary|guest|fullName, depth=2, where ="summary|guest|fullName startsWith Microsoft Windows"})
This works on cluster level
Hello sxnxr
I found an alternative to this "problem" on vrops 6.7 I have replaced snapshot age (because supermetric doesn't apply properly) to Disk Space|Snapshot Space (GB), filter is greater than 0.000027 Gb and it works I have the same number on snapshot vms and vCenter & total critical events also I have snapshot age
Thanks for your help, As soon as I migrate to 7.5 I will check your statement.
RickVerstegen I tried your answer:
count(${adapterype=VMWARE, objecttype=VirtualMachine, attribute=diskspace|snapshot|snapshotAge, depth=3, where="diskspace|snapshot|snapshotAge>=100"}) in the Visualize super metric and it doesn't works it shows 0 results (I verified the information with the current snapshots)
Can you change the range from to for example the last 60 days to see if this show you any results when you visualize the super metric?
it doesn't work There are VMs over 60 days that appears on a view (snapshot age as data) but if I create a supermetric it shows 0 results. I will try on 7.x and I will provide feedback