DX NetOps Manager

Expand all | Collapse all

Update device hostname on CAPC

Jump to Best Answer
  • 1.  Update device hostname on CAPC

    Posted 09-19-2019 03:29 PM
    The device nou-nsr-rt01 had its name changed to NCNOU1WANXRT001, but CAPC did not update the Name/Host Name. How to force CAPC to use the new name?

    I already tried a re-polling, rediscovery, stop/start polling, but it doesn't work.

    device_name

    #capc #capcspectrumdeviceintegrationsynchronization #spectrum->capcdiscovery
    ​​​

    ------------------------------
    Heitor Cortat
    Tools Analyst
    TCS Brazil
    ------------------------------


  • 2.  RE: Update device hostname on CAPC

    Posted 09-20-2019 09:34 AM
    Hi,

    Try discovering again the device, Using discovery profiles.

    "re-pollingrediscoverystop/start polling" buttons on device page are useless.

    BR,
    Pedro Lourenço


  • 3.  RE: Update device hostname on CAPC

    Posted 09-20-2019 10:27 AM
    I inserted an entry in /etc/hosts file to force it to use the correct name and apparently it worked, but it would be interesting to have a hostname update method according to sysname via snmp.


    ------------------------------
    Heitor Cortat
    Tools Analyst
    TCS Brazil
    ------------------------------



  • 4.  RE: Update device hostname on CAPC

    Posted 23 days ago
    Edited by KAPIL Yadav 23 days ago
    Try discovering again the device, Using discovery profiles. ( Please ensure in Advanced tab, system name is first priority).  

    "re-pollingrediscoverystop/start polling" buttons on device page are useful too.


  • 5.  RE: Update device hostname on CAPC
    Best Answer

    Posted 22 days ago
    Heitor,

    It all comes down to the naming order used to discover this device in its Discovery Profile.  By default a discovery profile will use Hostname first:


    With things set this way, for CAPM to detect the name change the device's DNS entry would need to be updated or as you found out, an entry in the hosts file to act as an override to DNS.

    Regards,
    Troy



  • 6.  RE: Update device hostname on CAPC

    Posted 16 days ago
    it works very well!

    Thank you very much, Troy!

    ------------------------------
    Heitor Cortat
    Tools Analyst
    TCS Brazil
    ------------------------------