ping and nslookup all resolve hostnames. Not sure what I should edit but posted the output below:
vi nsswitch.conf
#
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
Valid entries include:
#
# nisplus Use NIS+ (NIS version 3)
# nis Use NIS (NIS version 2), also called YP
# dns Use DNS (Domain Name Service)
# files Use the local files
# db Use the local database (.db) files
# compat Use NIS on compat mode
# hesiod Use Hesiod for user lookups
# [NOTFOUND=return] Stop searching if not found so far
# To use db, put the "db" in front of "files" for entries you want to be
# looked up first in the databases
#
# Example:
#passwd: db files nisplus nis
#shadow: db files nisplus nis
#group: db files nisplus nis
passwd: files sss
shadow: files sss
group: files sss
#initgroups: files sss
#hosts: db files nisplus nis dns
Original Message:
Sent: 06-04-2020 09:14 AM
From: JEFFREY PINARD
Subject: Performance Manager Discovery profile not resolving hostname
We use Java API to resolve the hostname to IP, which Java will ask the system to determine IP. Either DNS, NIS, or hosts files depending on /etc/nsswitch.conf.
Check /etc/nsswitch.conf for hosts entry. Check the methods to see if they can resolve the hostname on the DCs. try ping/nslookup of the hostname.
Original Message:
Sent: 06-04-2020 09:10 AM
From: Jim Sogla
Subject: Performance Manager Discovery profile not resolving hostname
Hello,
We are seeing after a clean installation of Performance Manager that we are adding a hostname to the discovery profile but it will not discover the device but if we use the IP address it does.
Can anyone tell me what setting I need to modify to allow resolution of hostname in discovery profile?
Thank you.