Thanks much. Trying to get this group to see where NeDi can help them long term. It's the old game of this does 90% of what they want and need but they are tied up on the 10% like that is the most important part of things.
For anyone who may be interested, here is how I was able to map/group devices (about 70-75%) so now I am just working on figuring out how to group things where the name doesn't fit the majority of the sites.
PMH-85B-SWH-128-223 as an example
String:
mapn2l default ^(\w+)-(\w?)(..)-(\w+)-(\w+)-(\w+) "$1;NODE_$2;$2$3;"
that creates the "snmp location" in NeDi as below which falls under Remo's design of country, state, city, etc since country and state are useless to our needs.
PMH;NODE_8;85B;
Need to figure how to deal with
PCH-442A-SWH-034-232
At the same time. I am sure there is a regex carrier I don't know about but for the fact 70%+ of the devices follow the xxx-xxx-xxx-xxx-xxx naming (name points to site, node, IDF/MDF, switch/router/wap/wlc/etc, vlan). By doing this seeing how NeDi auto-groups devices is very interesting and kinda helpful, it is too bad Remo's design of country,state,city,etc in SNMP location is the basis as that inhibits us from using the currently needed location information (door numbers, access numbers, etc).
This is really the first time I have gone to use NeDi for more than discovery or Cisco backups so it is really interesting to see how NeDi has grown