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

sftp.3gpp: empty resource label when the PM Group filter doesn't match a given measObjLdn

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.12.1
    • 1.12.5
    • Data Collection - XML
    • Security Level: Default (Default Security Scheme)
    • None
    • Attached collectd

    Description

      The OpenNMS is configured to collect XML files using sftp.3gpp protocol. It is collecting the files appropriately every 5 minutes. However, if opennms is stopped and started, it is resuming collection from the current time. It is not picking up from where the collection has been left. Source has all the files.

      Example: When OpenNMS is stopped at 11:37 am, the last file collected was at 11:35 am and it is A20140129.1130-0600-1135-0600_testne.xml. OpenNMS is started at 12:13 pm. The next collection starts for the file with 12:15 at time stamp (A20140129.1210-0600-1215-0600_testne.xm). Expectation is that it will collect from the place where it had left.

      – collectd-configuration.xml —

      <?xml version="1.0"?>
      <?castor class-name="org.opennms.netmgt.collectd.CollectdConfiguration"?>
      <collectd-configuration threads="50">
             <package name="XML-Collection">
                   <filter>IPADDR != '0.0.0.0'</filter>
                   <service name="XMLCollection" interval="300000" user-defined="false" status="on">
                        <parameter key="collection" value="3GPP-Full-5min"/>
                   </service>
              </package>
              <collector service="XMLCollection" class-name="org.opennms.protocols.xml.collector.XmlCollector"/>
      </collectd-configuration>
      

      — xml-datacollection-config.xml –

      <xml-datacollection-config rrdRepository="/opt/opennms/share/rrd/snmp" xmlns="http://xmlns.opennms.org/xsd/config/xml-datacollection">
          <xml-collection name="3GPP-Full-5min">
              <rrd step="300">
                  <rra>RRA:AVERAGE:0.5:1:2016</rra>
                  <rra>RRA:AVERAGE:0.5:12:1488</rra>
                  <rra>RRA:AVERAGE:0.5:288:366</rra>
                  <rra>RRA:MAX:0.5:288:366</rra>
                  <rra>RRA:MIN:0.5:288:366</rra>
              </rrd>
              <xml-source url="sftp.3gpp://{username}:{password}@{ipaddr}/statistics/reports?step=300&amp;neId={foreignId}">
                  <import-groups>xml-datacollection/3gpp.full.xml</import-groups>
              </xml-source>
          </xml-collection>
       </xml-datacollection-config>
      

      Attachments

        Activity

          People

            agalue Alejandro Galue
            sauravkc Saurav K Chandra (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: