Problem:
When doing an SNMP discovery it comes back very quickly with "profile not found" and does not send any request packets from the harvester to the device at all.
Environment:
NFA 9.1+
RedHat Linux 5+
Cause:
The RedHat Harvester must be able to do a reverse DNS on itself to get it's own IP Address. To test this run:
[[email protected] ReaperArchive15]# hostname -i
If "hostname -i" doesn't return a hostname than see the resolution below.
Resolution:
/etc/hosts
file in a text editor.Add a line that associates the IP address with the local host name, as shown in the following example:
[[email protected] ReaperArchive15]# more /etc/hosts; # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 10.0.0.10 NFAHARV where: 10.0.0.10 = IP address of the Harvester server NFAHARV = Host name of the Harvester server
/etc/hosts
file.
Additional Information:
https://docops.ca.com/display/NFA933/DNS+Name+Resolution