Configuring HP NNM 7.x snmpaddr mapping


This topic describes how to configure HP Network Node Manager version 7.x snmpaddr mapping. Network Automation manages network devices using the snmpaddr value imported from HP NNM. You should also ensure that syslog events from the devices to Network Automation are sourced from this same IP address.

To check the HP NNM snmpaddr values

This procedure describes how to check your HP NNM snmpaddr values to be sure that they are set to the desired interface (that is, Loopback). This procedure assumes you are running HP NNM on a Linux-based server.

  1. Change to the /opt/OV/bin directory.

    cd /opt/OV/bin
  2. Enter the following command to run the ovdwquery tool:

    ./ovdwquery
  3. Enter the following command to view the snmpaddr and associated interface information:

    select snmpaddr,ip_hostname from nnm_nodes order by smpaddr;
  4. Enter the following command to quit the ovdwquery tool:

    quit;
  5. The snmpaddr value is returned in the first column. If all of the snmpaddr values are associated with the correct interfaces, the procedure is complete.

    If you need to change any of these to associate the snmpaddr to the desired interface, proceed to the next section.

To change the interface associated with an snmpaddr values

  1. Double click on the device in the topology map.
  2. Select all the interfaces except the desired interface, and click Edit > Unmanage Objects.
  3. Go back to the topology map, select the node and click Fault > Network Connectivity > Poll Node.

    When the process is completed, click Close. You can also wait for the next polling cycle.
  4. Confirm that the snmpaddr moved to the desired interface by enter the following commands:

    # cd /opt/OV/bin
    # ./ovtopodump -l device name grep 'SNMP ADDR'
  5. Double click on the device again in the topology map.
  6. Select the interfaces you previously unmanaged, and then re-manage by clicking Edit > Manage Objects.
  7. Perform the following steps to change the netmon parameter to makes it less likely that the HP NNM will stray from the desired snmpaddr value:
    1. Go to $OV_LRF, which by default is the /etc/opt/OV/share/lrf directory, and open the
      netmon.lrf file for editing.
    2. Add the -k pickSnmpAddrPolls=false option between the second and third colons on the second line of the file.

      For example, if it currently looks like this

      netmon:netmon:
      OVs_YES_START:ovtopmd,pmd,ovwdb:-P -k segRedux=true -k
      migrateHsrpVirtualIP=true
      :OVs_WELL_BEHAVED:15:PAUSE

      Change it to look like this:

      netmon:netmon:
      OVs_YES_START:ovtopmd,pmd,ovwdb:-P -k segRedux=true -k
      migrateHsrpVirtualIP=true --k
      pickSnmpAddrPolls=false:OVs_WELL_BEHAVED:15:PAUSE
    3. Type the following commands to change the settings and restart netmon:

      # cd /opt/OV/bin
      # ./ovaddobj $OV_LRF/netmon.lrf
      # ./ovstop netmon
      # ./ovstart netmon

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

TrueSight Network Automation 24.3