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

Add the ability to apply the SiblingColumnStorageStrategy to resource's instance

    XMLWordPrintable

    Details

      Description

      The current implementation of the SiblingColumnStorageStrategy requires to put the alias of any MibObj defined as string, for the required parameter named sibling-column-name. And that's the only valid element you can currently use for sibling-column-name.

      In some circumstances it could be very useful to apply the regular expression to the resource's instance.

      For example, suppose that the resource instance is something like the following:

      0.132.43.51.76.89.2.144.10.1.1.1

      That combines, the Mac Address and the IP address. The first 8 elements conforms the Mac Address and the last 4 elements conforms the IP address. Because the IP address might change, we want to use the Mac as the resource's identifier, in order to use only the Mac as the resource's folder; for example:

      /opt/opennms/share/rrd/snmp/1/myResourceType/0.132.43.51.76.89.2.144/my-rrd.jrb
      a
      Instead of:

      /opt/opennms/share/rrd/snmp/1/myResourceType/0.132.43.51.76.89.2.144.10.1.1.1/my-rrd.jrb

      In order to do so, some changes are required in the current code of the SiblingColumnStorageStrategy.

        Attachments

          Activity

            People

            • Assignee:
              agalue Alejandro Galue
              Reporter:
              agalue Alejandro Galue
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: