I need to create a group hierarchie that organises devices and selected interfaces. I already wrote a Perl script that uses web services to create groups and populate them with devices based on a csv-file. As of now, with each device the group also contains that device's interfaces, all of them. I would rather only see specific interfaces, those that I can identify by a e.g. special ifAlias.
I believe, I can configure each group not to include the children of managed items; therefore I would have no interface at all.
How would I then add the required interface? Can I create a rule like find interfaces where interface owner is member of this group and ifAlias starts with 'something'? How would I do this?
Or, perhaps, is there an easier way? All I want is being able to select a group context for a dashboard, and have the device views show data for the selected devices and interface views show data for only those specially filtered interfaces.
Any ideas?
Thanks!!