I have successfully discovered the wanted profile and I can see it in the inventory. Though I have created a profile at net_connect regarding ICMP connectivity and in contrast to all the other profiles it is not displayed in the inventory. I have already checked every blacklist table, but it is not recorded anywhere. I have tried to remove and recreate it, with no luck.
OC Inventory displays IP address instead of hostname under the Name column.
discovery_agent (at loglevel 5) on the monitoring hub showed:
Nov 13 18:04:35:477 [PerIpDiscovery-1, discovery_agent] Did not detect hostname for ##.#.###.##. getCanonicalHostName() returned input IP address.
nslookup returned nothing for this host but all other monitored hosts in that same group dont resolve either so this seemed unusual.
To workaround the problem of the monitored target host not resolving, we addded a host entry in (/etc/hosts) for <example_hostname> on the hub where the discovery_agent is deployed.
Then we rediscovered the host using the OC setup wizard and it then displayed the correct hostname and not the IP address in the Name column.
Nov 13 18:19:01:350 [PerIpDiscovery-1, discovery_agent] DNS detected hostname <example_hostname> for ##.#.###.##. Nov 13 18:19:01:352 [PerIpDiscovery-1, discovery_agent] Did not get FQDN for ##.#.###.##: <example_hostname>
Nov 13 18:21:44:371 [PerIpDiscovery-1, discovery_agent] Adding discovery results for ##.#.###.##: Device[DiscoveryIpAddresses=[##.#.###.##],DnsNames=[<example_hostname>],ComputerName=<null>,SnmpSysName=<null>,BiosSystemID=<null>,SerialNumber=<null>,SnmpAuthId=0,ShellAuthId=0,WmiAuthId=0,hasIcmpResult=true,hasNetbiosResult=false,IpAddresses=[##.#.###.##],MacAddresses=[]] Nov 13 18:21:44:371 [PerIpDiscovery-1, discovery_agent] Found 0 potentially matching devices by IP address for ##.#.###.##
Nov 13 18:21:44:371 [PerIpDiscovery-1, discovery_agent] Saved discovery results for ##.#.###.## publish=true Nov 13 18:21:45:390 [DiscoveryRun, discovery_agent] Completed device discovery for 4 addresses.
Nov 13 18:21:45:390 [DiscoveryRun, discovery_agent] device discovery end: 00:02:44.041 Nov 13 18:21:45:390 [DiscoveryRun, discovery_agent] 0 unpublished devices at discovery completion Nov 13 18:21:45:391 [DiscoveryRun, discovery_agent] Added device with 1 interfaces to graph: {"ctdType":"IPDevice","AliveTimestamp":1731518341235,"Domain":"UIM","OperationalState":"Up","Origin":"<hub_hostname>","PrimaryDnsName":"<example_hostname>","PrimaryIPV4Address":"##.#.###.##","Roles":"Device","ctdEntityTypeFQName":"Entity.Element.Device.IPDevice","customProperties":{"DeviceId":"D051fafed1175d0d1b0e3f286ca083c67","IcmpResponse":true,"NetworkInterfaceSource":"OTHER","PrimaryDiscoveryIpAddress":"##.#.###.##","ProbeName":"discovery_agent","PublishTime":1731518504371,"RobotDeviceId":"D2F457D6228FF63E63128871A8218F64A","TargetIpAddresses":"##.#.###.##","da_id":10,"job_id":101},"id":"ddf87b29256590a0d68879647a75fe81:D051fafed1175d0d1b0e3f286ca083c67","label":"##.#.###.##","typeName":"IPDevice"}