Has anybody figured out a way to automate dependency creation?
We have about 150 sites monitored in NPM, and manually creating a group for each site gets tedious very quickly. We have all sites grouped by SNMP location, and have a custom property of Switch set for all switches at a site, so adding a group for the site would be fairly easy programatically.
So a 2 line dynamic query that matches Location is <sitename> and Switch is True is all we need to get the devices into the group, then find the same SNMP location, and the custom property of Router set to True to find the upstream router.
Has anybody done anything like this, or do you just find an available intern and make them do the tedious work for you?