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

Wrong JMX MBeans for minions

    XMLWordPrintable

    Details

      Description

      After a clean install of OpenNMS 22, almost all JMX stats for the minions have disappeared, compared to the stats from 20.1.0.
      By enabling debug logging in one of the minions, it reports a bunch of missing objects every time OpenNMS tries to collect data:

      ObjectName java.lang:type=GarbageCollector,name=MarkSweepCompact is not registered.
      ObjectName org.apache.camel:context=org.opennms.core.ipc.rpc.camel-impl,type=routes,name="RPC.Server.Detect" is not registered.
      ObjectName org.apache.camel:context=org.opennms.core.ipc.rpc.camel-impl,type=routes,name="RPC.Server.DNS" is not registered.
      ObjectName org.apache.camel:context=org.opennms.core.ipc.rpc.camel-impl,type=routes,name="RPC.Server.PING" is not registered.
      ObjectName org.apache.camel:context=org.opennms.core.ipc.rpc.camel-impl,type=routes,name="RPC.Server.PING-SWEEP" is not registered.
      ObjectName org.apache.camel:context=org.opennms.core.ipc.rpc.camel-impl,type=routes,name="RPC.Server.Poller" is not registered.
      ObjectName org.apache.camel:context=org.opennms.core.ipc.rpc.camel-impl,type=routes,name="RPC.Server.SNMP" is not registered.
      

      It seems like most of the MBeans have changed. These are the closest objects I could find in the current (22.0.4) list of MBeans:

      java.lang:name=PS MarkSweep,type=GarbageCollector
      org.apache.camel:context=org.opennms.core.ipc.rpc.jms-impl-rpcServer,name="RPC.Server.DNS",type=routes
      org.apache.camel:context=org.opennms.core.ipc.rpc.jms-impl-rpcServer,name="RPC.Server.Detect",type=routes
      org.apache.camel:context=org.opennms.core.ipc.rpc.jms-impl-rpcServer,name="RPC.Server.PING",type=routes
      org.apache.camel:context=org.opennms.core.ipc.rpc.jms-impl-rpcServer,name="RPC.Server.PING-SWEEP",type=routes
      org.apache.camel:context=org.opennms.core.ipc.rpc.jms-impl-rpcServer,name="RPC.Server.Poller",type=routes
      org.apache.camel:context=org.opennms.core.ipc.rpc.jms-impl-rpcServer,name="RPC.Server.SNMP",type=routes
      

        Attachments

          Activity

            People

            • Assignee:
              brynjar Brynjar Eide
              Reporter:
              brynjar Brynjar Eide
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: