VMware Cloud Community
rgcda
Enthusiast
Enthusiast
Jump to solution

create a dynamic group for all virtual machines

I'd like to create separate dynamic groups for all my Windows virtual machines and all my Windows physical machines.  Is there a way to do that via regular expressions?  It doesn't appear granular enough to create something like that.  We have vROps that collects a lot of metrics from virtual machines like CPU usage, memory usage, and network utilization to name a few.  If I install Hyperic on these virtual machines it will collect the same metrics and I'll have duplicate data in vROps.  So I would like to have a separate profiles for Win32, CPU, FileServer Physical Disk, etc. for virtual machines and physical machines.  I was going to attempt using dynamic groups but I'm not thinking Hyperic will be able to manage this.  If you have any suggestions or knowledge on doing this via dynamic groups that would be great.

Thank you.

Reply
0 Kudos
1 Solution

Accepted Solutions
admin
Immortal
Immortal
Jump to solution

In Hyperic UI go to the Platform, in platform type choose Win32 and press on green icon. You'll see all windows.

Now select all those platforms and press on "Group" button > Add to new group

Good Luck

View solution in original post

Reply
0 Kudos
7 Replies
admin
Immortal
Immortal
Jump to solution

Hi,

Are you using Open source or Enterprise?

Because in Enterprise version we have this feature in from 5.8.0 version.

vCenter Hyperic 5.8 Documentation Center

Thanks,

Yaron

Reply
0 Kudos
rgcda
Enthusiast
Enthusiast
Jump to solution

thanks for your reply.  It's the Enterprise version and I've reveiwed that documentation on dynamic groups and policies and it isn't very detailed on how to set this up.  Could you show me an example of this because I'm not seeing it?

Reply
0 Kudos
admin
Immortal
Immortal
Jump to solution

In Hyperic UI go to the Platform, in platform type choose Win32 and press on green icon. You'll see all windows.

Now select all those platforms and press on "Group" button > Add to new group

Good Luck

Reply
0 Kudos
rgcda
Enthusiast
Enthusiast
Jump to solution

Thank you very much.  That is a much better answer than I got from VMware.  They indicated that there was no way to do it and I should submit a feature request.  Unfortunately it's not dynamic, but it's much better than nothing.

Thanks again.

Reply
0 Kudos
rgcda
Enthusiast
Enthusiast
Jump to solution

It doesn't appear that you cann assign a policy to a group created that way.  When I create a dynamic group and attempt to add the resource name of the group that I created that way I get 0 members.

Capture.PNG

Reply
0 Kudos
admin
Immortal
Immortal
Jump to solution

There is no way to apply a policy to grouping method mentioned earlier.  That only works with dynamic groups.

Also of note, the method above lumps all Win32 (Windows) systems together both virtual and physical.

As you know, you won't be able to create separate dynamic groups for Physical and VMs.

However you could create a dynamic all Windows group using Win32 as the Resource type which would be the equivalent of the static group described earlier.

dynamic-Win32.png

Reply
0 Kudos
admin
Immortal
Immortal
Jump to solution

If your physical and virtual machines have naming characteristics to identify them as physical or virtual you could use a regular expression on the resource name field to disinguish them.

Reply
0 Kudos