All-
I've got a discovery rule that finds VMs on deployed ESXi hosts, then discovers the file systems inside of those VMs.
I want to add an item prototype to the discovery that takes volumes that match a pattern and sum them up.
Here is the pattern:
/mnt/wwn-0x5000c2936e124969
I've tried cloning my FS Discovery rule and adding a regex filter on the {#FSNAME} for just a RegEx that matches:
\/mnt\/wwn-([0-9]x[0-9]*.*)
While this would give me items that are only matching this FS, it doesn't let me sum them up and return the value.
I created a calculated prototype, but I don't know how to have them sum all the "used" space file systems that it discovers.
Am I going about this the wrong way?
I'd prefer to do this as part of a discovery rule so I don't have to make the item on every instance of this VM and new ones will automatically apply the sum.
I need the aggregate because I want to watch space on the sum of all volumes that match the pattern as the data is striped across them.
Thanks in advance for the help!
EDIT:
Classifying this as "Solved" because there is a feature request that resolves this, albeit unimplemented.
I've got a discovery rule that finds VMs on deployed ESXi hosts, then discovers the file systems inside of those VMs.
I want to add an item prototype to the discovery that takes volumes that match a pattern and sum them up.
Here is the pattern:
/mnt/wwn-0x5000c2936e124969
I've tried cloning my FS Discovery rule and adding a regex filter on the {#FSNAME} for just a RegEx that matches:
\/mnt\/wwn-([0-9]x[0-9]*.*)
While this would give me items that are only matching this FS, it doesn't let me sum them up and return the value.
I created a calculated prototype, but I don't know how to have them sum all the "used" space file systems that it discovers.
Am I going about this the wrong way?
I'd prefer to do this as part of a discovery rule so I don't have to make the item on every instance of this VM and new ones will automatically apply the sum.
I need the aggregate because I want to watch space on the sum of all volumes that match the pattern as the data is striped across them.
Thanks in advance for the help!
EDIT:
Classifying this as "Solved" because there is a feature request that resolves this, albeit unimplemented.
Comment