0 Replies Latest reply on Jul 3, 2012 6:43 PM by genman

    RHQ 4.4 - Bug in embedding service?

    genman

      This is RHQ 4.4.

       

      I'm trying to get my emdedded 'snmptrapd' (which I changed) to work.

       

      2012-07-03 22:00:48,868 DEBUG [main] (core.clientapi.agent.metadata.PluginMetadataParser)- 
      Parsed server Resource type: {snmp}SNMP Component
      2012-07-03 22:00:48,897 DEBUG [main] (core.clientapi.agent.metadata.PluginMetadataParser)- 
      Parsed service Resource type: {snmptrapd}SnmpTrapd
      2012-07-03 22:00:48,908 DEBUG [main] (core.clientapi.agent.metadata.PluginMetadataParser)- 
      Parsing embedded service type {netscaler}Netscaler Trap Receiver, which extends type {snmptrapd}SnmpTrapd...
      2012-07-03 22:00:48,908 WARN  [main] (core.clientapi.agent.metadata.PluginMetadataParser)- 
      There is no service or server type named [SnmpTrapd] from a plugin named [snmptrapd]. This is probably because that plugin is missing. Resource Type [{netscaler}Netscaler Trap Receiver] will be ignored.
      

       

      It seems like a bug that was fixed, though. https://bugzilla.redhat.com/show_bug.cgi?id=810342

       

      Changing service -> server

       

      2012-07-03 22:19:19,938 INFO  [main] (org.rhq.core.pc.PluginContainer)- Initializing Plugin Container v4.4.0...
      2012-07-03 22:19:24,570 DEBUG [main] (core.clientapi.agent.metadata.PluginMetadataParser)- 
      Parsed server Resource type: {snmp}SNMP Component
      2012-07-03 22:19:24,599 DEBUG [main] (core.clientapi.agent.metadata.PluginMetadataParser)- 
      Parsed server Resource type: {snmptrapd}SnmpTrapd
      2012-07-03 22:19:24,611 DEBUG [main] (core.clientapi.agent.metadata.PluginMetadataParser)- 
      Parsing embedded service type {netscaler}Netscaler Trap Receiver, which extends type {snmptrapd}SnmpTrapd...
      ... NO error
      

       

      After the change I don't see discovery occuring, at least not for the embedded type:

       

      2012-07-03 22:34:46,105 INFO  [InventoryManager.discovery-1] (rhq.core.pc.inventory.AutoDiscoveryExecutor)- Executing server discovery scan...
      2012-07-03 22:34:46,184 DEBUG [ResourceDiscoveryComponent.invoker.daemon-4] (org.rhq.plugins.snmptrapd.SnmpTrapdDiscovery)- discovery; parent is org.rhq.plugins.platform.LinuxPlatformComponent@30f02a6d; class org.rhq.plugins.platform.LinuxPlatformComponent
      2012-07-03 22:34:46,184 DEBUG [ResourceDiscoveryComponent.invoker.daemon-4] (org.rhq.plugins.snmptrapd.SnmpTrapdDiscovery)- rt is {snmptrapd}SnmpTrapd
      

       

      How can I most easily force runtime discovery scan to occur for this embedded service?