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

/bin/config-tester show error on "out of box" config.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 21.0.4
    • Fix Version/s: None
    • Component/s: Data Collection - SNMP
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      16:12:18.392 [Main] INFO org.opennms.netmgt.config.DataCollectionConfigParser - parseExternalResources: external data collection groups are already parsed
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.opennms.bootstrap.Bootstrap$4.run(Bootstrap.java:525)
      at java.lang.Thread.run(Thread.java:748)
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataCollectionConfigDao' defined in class path resource [META-INF/opennms/applicationContext-configTester.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: instance 'coolingDeviceIndex' invalid in mibObj definition for OID '.1.3.6.1.4.1.674.10892.1.700.12.1.6' in collection 'default' for group 'openmanage-coolingdevices'. Allowable instance values: any positive number, 'ifIndex', or any of the configured resourceTypes: vcPipePosition, vmware5Disk, SensorSwitch, hrDeviceEntry, vmware3Net, wmiTcpipNetworkInterface, intSenAnId, wmiPhysicalDisk, wmiW3, virtualserverName, SensorAirFlow, vmware4Disk, SensorUnknown, SensorVoltage, prtMarkerSuppliesIndex, SensorCurrent, mtxrWlRtabAddr, SensorSmokeDetection, pgTableSpace, ainfNetInstance, SensorTachometer, naDfIndex, vmware5Sys, bgpPeerEntry, vmware3Disk, ejnGgsnGtpcIndex, vmware4Cpu, sinfLDskInstance, poolName, stSentry3EnvMon, vmware5StAdptr, procStats, pfTablesTblIndex, rbshCpuIndivIndex, vmware6DaSt, SensorHumidity, vmware6Net, mtxrWlStatIndex, ainfLDskInstance, SensorTemperature, vmware4MgtAgt, rbshBwPort, lmTempIndex, netwareDisk, ejnGgsnGtpuIndex, frCircuitIfIndex, vmware4Sys, vmware3Cpu, vmware6StPth, sinfCpuInstance, ainfCpuInstance, pgDatabase, hrStorageIndex, vmware5VrtDisk, vmware6VrtDisk, dskIndex, hrStorageNonUnique, PaloAltoEnvMonStatusIndex, SensorPowerProduction, vmware5Net, SensorPresence, SensorOther, vmware6vflashModule, vmware6Cpu, SensorCounter, vmware3Sys, sinfNetInstance, pfLabelsLblIndex, xmpFilesys, stSentry3Tower, ejnGgsnApnIndex, vmware5DaSt, pipePosition, vmware5StPth, vmware6StAdptr, vmware4Net, vmware3MgtAgt, wmiOSCpu, diskIOIndex, panVsysId, vmware5Cpu, wmiLogicalDisk, stSentry3Infeed, SensorLock, vmware6Disk, pfIfIfIndex, SensorPowerConsumption, pethMainPseGroupIndex, SensorPressure, lmFanIndex, lmVoltIndex, hrStorageFBSD, vmware6Sys
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1583)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
      at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1058)
      at org.opennms.netmgt.config.tester.ConfigTester.testConfig(ConfigTester.java:70)
      at org.opennms.netmgt.config.tester.ConfigTester.testConfig(ConfigTester.java:154)
      at org.opennms.netmgt.config.tester.ConfigTester.main(ConfigTester.java:139)
      ... 6 more
      Caused by: java.lang.IllegalArgumentException: instance 'coolingDeviceIndex' invalid in mibObj definition for OID '.1.3.6.1.4.1.674.10892.1.700.12.1.6' in collection 'default' for group 'openmanage-coolingdevices'. Allowable instance values: any positive number, 'ifIndex', or any of the configured resourceTypes: vcPipePosition, vmware5Disk, SensorSwitch, hrDeviceEntry, vmware3Net, wmiTcpipNetworkInterface, intSenAnId, wmiPhysicalDisk, wmiW3, virtualserverName, SensorAirFlow, vmware4Disk, SensorUnknown, SensorVoltage, prtMarkerSuppliesIndex, SensorCurrent, mtxrWlRtabAddr, SensorSmokeDetection, pgTableSpace, ainfNetInstance, SensorTachometer, naDfIndex, vmware5Sys, bgpPeerEntry, vmware3Disk, ejnGgsnGtpcIndex, vmware4Cpu, sinfLDskInstance, poolName, stSentry3EnvMon, vmware5StAdptr, procStats, pfTablesTblIndex, rbshCpuIndivIndex, vmware6DaSt, SensorHumidity, vmware6Net, mtxrWlStatIndex, ainfLDskInstance, SensorTemperature, vmware4MgtAgt, rbshBwPort, lmTempIndex, netwareDisk, ejnGgsnGtpuIndex, frCircuitIfIndex, vmware4Sys, vmware3Cpu, vmware6StPth, sinfCpuInstance, ainfCpuInstance, pgDatabase, hrStorageIndex, vmware5VrtDisk, vmware6VrtDisk, dskIndex, hrStorageNonUnique, PaloAltoEnvMonStatusIndex, SensorPowerProduction, vmware5Net, SensorPresence, SensorOther, vmware6vflashModule, vmware6Cpu, SensorCounter, vmware3Sys, sinfNetInstance, pfLabelsLblIndex, xmpFilesys, stSentry3Tower, ejnGgsnApnIndex, vmware5DaSt, pipePosition, vmware5StPth, vmware6StAdptr, vmware4Net, vmware3MgtAgt, wmiOSCpu, diskIOIndex, panVsysId, vmware5Cpu, wmiLogicalDisk, stSentry3Infeed, SensorLock, vmware6Disk, pfIfIfIndex, SensorPowerConsumption, pethMainPseGroupIndex, SensorPressure, lmFanIndex, lmVoltIndex, hrStorageFBSD, vmware6Sys
      at org.opennms.netmgt.config.DefaultDataCollectionConfigDao.validateResourceTypes(DefaultDataCollectionConfigDao.java:567)
      at org.opennms.netmgt.config.DefaultDataCollectionConfigDao.translateConfig(DefaultDataCollectionConfigDao.java:126)
      at org.opennms.netmgt.config.DefaultDataCollectionConfigDao.translateConfig(DefaultDataCollectionConfigDao.java:73)
      at org.opennms.core.xml.AbstractJaxbConfigDao.loadConfig(AbstractJaxbConfigDao.java:92)
      at org.opennms.core.xml.AbstractJaxbConfigDao.afterPropertiesSet(AbstractJaxbConfigDao.java:108)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1642)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1579)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              beerygaz Gavin Hill
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: