In NFA 9.2 I'm struggling with removing domain suffixes from router names. I'm using the 'Router Domains' field in 'Application Settings'.
How can I expect this to work? Will it remove the suffix from the name, or only from the displayname? Will it work for all routers in NFA or only for new arrivals? How long will it take to see differences, e.g. do I have to logout and login again? Are router name changes propagated to CAPC device alias?
I would want to remove two suffixes, such as .aaa.bbb and .ccc.ddd. What would be the correct syntax for this? I believe I tried all combinations of comma and spaces, without desired effect.
.aaa.bbb,.ccc.ddd should work. And it should apply to all routers although it may take a few cycles for it to take effect. If it's not working this way, open a case with support because it would seem something is broken.
what do you mean by 'a few cycles'?
45 minutes or so. Maybe up to an hour and a half.
Can you check your NFA console's reporter database to see if your routers.routerName column has the names for your devices or just has NULL values?
MySQL -P3308 -D reporter -t -e "select devicealias, routerName from routers;"
Normally only the DeviceAlias column should have the Router name, and I believe the Domain setting on the Application page will remove the domain suffix from that column, but not the routerName column.
The routerName column I believe is only used when you manually edit a router's name in the Admin->Physical & Virtual fields.
That seems correct, and I have a few devices where the suffix was deleted; but for most routers sysname and devicealias are identical.
I'm about to embark into NFA, and am curious about the utility of this feature. Is removing the domain-suffixes just to make the elements shorter and thus perhaps the dashboards easier to read? Or is there some other value that's added by doing this?
It just removes the domain suffix, and usually as far as I know it is used so the router names are shorter and easier to read in reports.
Tried that, actually tried that before but wasn't sure if I had overlooked something.
Guess, I will have Support have a look at it
Hi guys, I'm working on the same customer as Bernd initially, so I'd like to continue in this thread.
In the end we didn't apply any alias definitions, we managed to make the customer remove almost all of the FQDNs from his network devices.
The problem I have now, I'm starting to see some mismatch in Device names, the following database querys are probably self explanatory:
mysql> select ItemName, Alias , DisplayName, AlternateName from t_device where ItemName like 'pjan02%';
| ItemName | Alias | DisplayName | AlternateName |
| pjan020 | NULL | pjan020 | pjan018 |
| pjan021 | NULL | pjan021 | pjan019 |
2 rows in set (0.00 sec)
The devices responds the following to a SNMP query:
$ snmpwalk -v2c -cXXX ***.***.***.194 sysname
SNMPv2-MIB::sysName.0 = STRING: pjan020
$ snmpwalk -v2c -cXXX ***.***.***.195 sysname
SNMPv2-MIB::sysName.0 = STRING: pjan021
My question is, where does AlternateName come from and how to change it?
Hm, that's a table from CAPC. Sorry, I won't be able to help you with that one since I've avoided CAPC as much as possible until it is more mature. My guess would be that it possibly comes from another data source. Do you see the AlternateName show up anywhere in the GUI?
Sorry forgot to mentioned that it's in CA PC.
Yep I see it in the GUI and that is the problem, it's on the router details page coming up as Device Alias Name: