DX Unified Infrastructure Management

 View Only
  • 1.  net_connect use profile name in OC inventory

    Posted Jun 23, 2025 05:55 AM

    Hi All, 
    Is it possible to use of "Hostname" configured in net_connect to display in OC inventory (instead of depending on DNS resolution)? The Hostname and IP address configured properly in net_connect profile.
    - hostname=servername.fqdn.com
    - ip=10.1.1.100

    It is not feasible to add host entry for all devices outside the environment which will not be registered in DNS.

    Regards

    Anu



  • 2.  RE: net_connect use profile name in OC inventory

    Broadcom Employee
    Posted Jun 23, 2025 08:58 AM

    Hi Anu,

    Check discovery_agent (at loglevel 5) on the monitoring hub. Does it show:

    [PerIpDiscovery-1, discovery_agent] Did not detect hostname for ##.#.###.##. getCanonicalHostName() returned input IP address.

    To workaround the problem of the monitored target host not resolving, try adding a complete host entry in (/etc/hosts) for <example_hostname> on the hub where the discovery_agent is deployed, e.g., IP address, FQDN and shortname-> ###.###.#.## myhost.example.com myhost

    Then rediscover the host using the OC setup wizard to see if it produces the desired result/preferred hostname in the OC Inventory Name column.

    Best Regards,
    Steve



    ------------------------------
    Steve Danseglio
    Senior Principal Support Engineer (Technical Support Engineer 5)
    Broadcom Software-IMS Division
    UIM Certified Expert
    KCSv6 Practices Certified
    Certified Customer Success Manager (CCSM) Level 1
    ------------------------------



  • 3.  RE: net_connect use profile name in OC inventory

    Posted Jun 23, 2025 11:13 PM

    Hi Steve, 

    It is not feasible to add host entry for all devices outside the environment which will not be registered in DNS. 

    Any other options?

    Thanks

    Anu




  • 4.  RE: net_connect use profile name in OC inventory

    Broadcom Employee
    Posted Jul 02, 2025 02:17 PM

    Hi Anu,

    A new feature was released in net_connect probe v. 4.01 to enable granular monitoring based on  net_connect profile
    KB Enable granular monitoring based on profile in net_connect probe




  • 5.  RE: net_connect use profile name in OC inventory

    Posted 30 days ago
    Edited by Anupama Purayannur 30 days ago

    Thanks @Samer Al Yasiri. Can you please provide more details on what these settings are? It is not clear from the documentation. 

    Is it this one
    net_connect AC Configuration

    Regards

    Anu




  • 6.  RE: net_connect use profile name in OC inventory

    Broadcom Employee
    Posted 27 days ago

    That is correct Anu, with the net_connect probe v. 4.01, you can use user-defined hostname instead of Ip address. 

    For example, hostname1 will appear in OC inventory and the source of the QOS and alarms based on the below configuration:

    In OC inventory, the entry will appear based on the hostname we defined in the net_connect profile.

    Thanks,
    Samer




  • 7.  RE: net_connect use profile name in OC inventory

    Posted 4 hours ago

    Hi @Samer Al Yasiri

    We could achieve this by setting the sendqostoprofilename to yes in profiles. Is there a way to sendqostoprofilename to yes in all existing profiles other than updating one by one? I cannot think of a way to do this. But thought of checking anyway. 

    Thanks

    Anu

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