cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1444
Views
5
Helpful
9
Replies

DFM doesn't show name of a device

Ulenspiegel
Level 1
Level 1

Hello! I add device in Device and Credentials with IP, hostname, domain name and credentials for snmp. Then add it manually to DFM. But DFM shows this device only by IP address. As I know it must use DNS name if it possible to resolve device in DNS server. Records in DNS about device was made. How can I configure DFM to show device by DNS name or other name?

9 Replies 9

Joe Clarke
Cisco Employee
Cisco Employee

DFM does not respect the DCR display name, so the only way to make a device show up in DFM by a name is to make sure reverse DNS is working at the time the device is managed by DFM. That is, the IP address must resolve to the desired name. If DNS was setup after DFM managed the device, remove the device from DFM, and re-add it.

DNS works right, and operating system where DFM is placed can resolve any ip. I say more some of devices shown in DFM right with their domain names. But some steel shoun only by ip.

Check those devices that only show by IP using the resolver.pl command. For example, if device 10.1.1.1 is only showing up by IP when you want it to show up as core-rtr.company.com, then do:

NMSROOT/bin/perl NMSROOT/bin/resolver.pl 10.1.1.1

(NMSROOT is the path into which CiscoWorks is installed.)

What you should see from the above command is:

Original name: 10.1.1.1

Hostnames/IP Addresses:

core-rtr.company.com/10.1.1.1

If you don't see that, you need to correct DNS or the local hosts file until you do. Then do:

NMSROOT/bin/perl NMSROOT/bin/resolver.pl core-rtr.company.com

You should see:

Original name: core-rtr.company.com

Hostnames/IP Addresses:

core-rtr.company.com/10.1.1.1

If you do, then delete and re-add the device to DFM. If not, then once again fix DNS or the local hosts file until you do.

I've try to launch resolver.pl script and all my ip addresses was resolved well. Then I've try to delete and re-add device to DFM, but it doesn't help. I'm sure, DNS configured right.

Try editing NMSROOT/objects/conf/discovery/discovery.conf, and change NameFormat from TM_USESEEDNAME to TM_USEAUTONAME. Restart dmgtd, then remove and re-add the problem device, and see if that helps.

Thank you it really help.

I have a simillar problem with DFM as well as other CW LMS Apps not showing Device Names. Unfortunatelly I did not manage to follow your advice. 1)I found the file you speak about but in a different location: NMSROOT/objects/smarts/conf/discovery/discovery.conf 2) I cannot locate dmgmtd at all. Can you help? Mirek

/etc/init.d/dmgtd stop

/etc/init.d/dmgtd start

I am using Win version of CiscoWorks. I managed to locate dmgtd in the end, however, in a different location. Anyway it seems that the Win version of dmgtd does not support start and stop commands. I restarted the machine, removed/added the device/s in question from CS and it started to work in DFM and even in CM.

Later I set the NameFormat from TM_USEAUTONAME back to TM_USESEEDNAME and it wokrs too. It appears that removing/adding the devices from CS is enough. I summarized the steps which worked for me below:

CiscoWorks - How to display device names in CW apps

----------------------------------------------------

1) CM>Administration>Device Discovery>Discovery Settings> enable "Use Reverse DNS Lookup"

2) Configure the ip address resolution in DNS (reverse domain) or in the hosts file (C:\WINNT\system32\drivers\etc\hosts)

3) Devices need to be removed from administration and again discovered:

CS>Device and Credentials>Device Management> delete devices in question from CS@LMS

CM>Administration>Start Device Discovery, wait and when completed >Start Campus Data Collection, wait until completed

4) that's all folks

Hopefully this come usefull to someone.

Mirek

Review Cisco Networking for a $25 gift card