Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-5418

Provision service does not persist ifPhysAddress for snmp interfaces without a corresponding ip interface

    XMLWordPrintable

    Details

      Description

      I noticed that the snmpinterface table has no physaddress for provisioned device that have not a corresponding ip address:

      select ipaddr,snmpphysaddr from snmpinterface s join ipinterface p on p.nodeid=s.nodeid where s.snmpifindex=p.ifindex;

      ipaddr | snmpphysaddr
      ----------------------------------------+-------------
      172.20.1.28 | 0026b0ed8fb8
      172.20.1.8 | 00223ff00b7c
      192.168.122.1 |
      172.20.1.14 | 406186e28b53
      2001:0470:e2f1:0000:4261:86ff:fee2:8b53 | 406186e28b53
      2001:0470:e2f1:0000:695c:e7ef:425e:63b0 | 406186e28b53
      2001:0470:e2f1:cafe:0dc0:e717:08d3:e5d6 | 406186e28b53
      2001:0470:e2f1:cafe:1ce0:7066:22d0:a7d6 | 406186e28b53
      2001:0470:e2f1:cafe:5025:e9c7:5a63:74b4 | 406186e28b53
      2001:0470:e2f1:cafe:4261:86ff:fee2:8b53 | 406186e28b53
      2001:0470:e2f1:cafe:695c:e7ef:425e:63b0 | 406186e28b53
      2001:0470:e2f1:cafe:2c16:6246:431b:b906 | 406186e28b53
      2001:0470:e2f1:cafe:4c99:0b4c:ff7b:373b | 406186e28b53
      2001:0470:e2f1:cafe:31dc:c786:65ac:d3b1 | 406186e28b53
      2001:0470:e2f1:cafe:697f:fe0e:9e47:1db8 | 406186e28b53
      2001:0470:e2f1:cafe:7c4d:9f42:d02a:c8bd | 406186e28b53
      2001:0470:e2f1:cafe:c1d6:02ad:621a:6401 | 406186e28b53
      2001:0470:e2f1:cafe:e17a:e1db:31e1:2a2d | 406186e28b53
      2001:0470:e2f1:cafe:e8f5:957c:ef2a:f427 | 406186e28b53
      172.20.1.7 | 0002baaacffe
      172.20.1.1 | 001f6cd034e7
      10.255.255.2 | 001f6cd034e7
      172.20.2.1 |
      65.41.39.146 |

      But the following:

      snmpifname | snmpphysaddr
      -----------+-------------
      me1 | 0002baaacffe
      2/50 |
      2/49 |
      2/48 |
      2/47 |
      2/46 |
      2/45 |
      2/44 |
      2/43 |
      2/42 |
      2/41 |
      2/40 |
      2/39 |
      2/38 |
      2/37 |
      2/36 |
      2/35 |
      2/34 |
      2/33 |
      2/31 |
      2/32 |
      2/30 |
      2/23 |
      2/29 |
      2/22 |
      2/28 |
      2/27 |
      2/26 |
      2/24 |
      2/25 |
      2/21 |
      2/20 |
      2/19 |
      2/18 |
      2/17 |
      2/15 |
      2/16 |
      2/13 |
      2/14 |

      You can see that each of that port has an snmp phys address

        Attachments

          Activity

            People

            • Assignee:
              brozow Matt Brozowski
              Reporter:
              rssntn67 Antonio Russo
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: