Host Connection by SNMP Ignore Loopback Interface

Hi All,

Do you know why Host Connection by SNMP ignores/drops loopback interface from the result? The function which does it is the "getInterfaceDict" function in SNMP_Connection_Utils script. What will be the impact to include this loopback interface in the result; by commenting the IF statement within the getInterfaceDict function.? 

The issue that occurs at my customer's environment is that the switch's primary IP Address is linked to a loopback interface. And because the above exclusion, the IP Address CI does not get linked back to the Switch CI.

Thank you.

Santo

  • Verified Answer

    +1  

    Hi Santo;

    Loopbacks are removed to prevent an innumerable amount of common IP Addresses/ Interfaces linked to lots of hosts in order to facilitate faster reconciliation.  You could try removing the check for the loopback type:

        for nic in ifList:
            if nic.ifType and int(nic.ifType) == 24:
                continue
    Then see if there are any bad effects on the system.
     

    -- Hope this helps!

    Keith Paschal

    UCMDB Worldwide Support Lead

  • 0   in reply to   

    Hi Keith,

    Thanks for the reply.

    Let me discuss the suggestion with the team. We need to have a plan to minimise the risk or fix the data if bad effect occurred after removing the check.

    Cheers.