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

Measurements ReST API Fails on strafeping

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 17.0.0
    • Fix Version/s: 17.0.0
    • Component/s: REST
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      This probably applies to 16 as well. Attempting to request a strafeping child resource from the measurements API causes an exception. This exception occurs whether or not I have storeByGroup configured.

      org.jrobin.core.RrdException: Unknown datasource name: strafeping
              at org.jrobin.core.RrdDb.getDsIndex(RrdDb.java:746) ~[jrobin-1.6.0.jar:1.6.0]
              at org.jrobin.core.Archive.fetchData(Archive.java:304) ~[jrobin-1.6.0.jar:1.6.0]
              at org.jrobin.core.RrdDb.fetchData(RrdDb.java:609) ~[jrobin-1.6.0.jar:1.6.0]
              at org.jrobin.core.FetchRequest.fetchData(FetchRequest.java:184) ~[jrobin-1.6.0.jar:1.6.0]
              at org.jrobin.data.DataProcessor.fetchRrdData(DataProcessor.java:722) ~[jrobin-1.6.0.jar:1.6.0]
              at org.jrobin.data.DataProcessor.processData(DataProcessor.java:564) ~[jrobin-1.6.0.jar:1.6.0]
              at org.opennms.netmgt.measurements.impl.JrobinFetchStrategy.fetchMeasurements(JrobinFetchStrategy.java:80) ~[org.opennms.features.measurements.impl-17.0.0-SNAPSHOT.jar:?]
              at org.opennms.netmgt.measurements.impl.AbstractRrdBasedFetchStrategy.fetch(AbstractRrdBasedFetchStrategy.java:113) ~[org.opennms.features.measurements.impl-17.0.0-SNAPSHOT.jar:?]
              at org.opennms.web.rest.v1.MeasurementsRestService.query(MeasurementsRestService.java:155) [org.opennms.features.measurements.rest-17.0.0-SNAPSHOT.jar:?]
              at org.opennms.web.rest.v1.MeasurementsRestService$$FastClassBySpringCGLIB$$a66decc9.invoke(<generated>) [org.apache.servicemix.bundles.spring-core-4.0.5.RELEASE_1.jar:?]
              at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) [org.apache.servicemix.bundles.spring-core-4.0.5.RELEASE_1.jar:?]
              at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:708) [org.apache.servicemix.bundles.spring-aop-4.0.5.RELEASE_1.jar:?]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) [org.apache.servicemix.bundles.spring-aop-4.0.5.RELEASE_1.jar:?]
              at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98) [org.apache.servicemix.bundles.spring-tx-4.0.5.RELEASE_1.jar:?]
              at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) [org.apache.servicemix.bundles.spring-tx-4.0.5.RELEASE_1.jar:?]
              at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95) [org.apache.servicemix.bundles.spring-tx-4.0.5.RELEASE_1.jar:?]
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [org.apache.servicemix.bundles.spring-aop-4.0.5.RELEASE_1.jar:?]
              at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:644) [org.apache.servicemix.bundles.spring-aop-4.0.5.RELEASE_1.jar:?]
              at org.opennms.web.rest.v1.MeasurementsRestService$$EnhancerBySpringCGLIB$$9d9e8cec.query(<generated>) [org.apache.servicemix.bundles.spring-core-4.0.5.RELEASE_1.jar:?]

        Attachments

          Activity

            People

            • Assignee:
              j-white Jesse White
              Reporter:
              ranger Benjamin Reed
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: