Forum Discussion
I feel silly. I've looked at that page before, and completely forgot about it. Thanks Mike! And thanks Joe for the response also.
I may have missed it, but reading that page, I'm not sure whether or not the first OID Map match is the only one that happens? Or if you can get multiple hits on that table? Or should I try to go as deep and unique as I can for the gear I'm interested in adding to the MAP?
I'm also wondering, from reading the top of the document, it seems that sysinfo gets pulled and set on the resource, even if nothing else gets set from the map. So I suppose that adding categories via a propertySource could safely be used as well?
What happens if a propertySource adds categories X,Y but then the OID Map matches something already that would add X and Z? I'm not sure if there is a doc page somewhere that would discuss these interactions.
Thanks for the help!
- Anonymous9 months ago
The most specific regex match is the one that gets used. If a sysoid matches two, but one matches more of the sysoid, the one that matches more gets used.
There are a lot of "addCategory_" property sources that also add to the system.categories.
The sysoid maps are applied first, then any propertysources that add categories just add to the categories already there (unlike every other property a propertysource adds). System.categories is it's own duck. If a sysoid map adds X and Z and a propertysource adds X and Y, the device would end up with X, Y, and Z.
Related Content
- 2 years ago
- 9 months ago