Description of problem: It is quite hard to describe, I'll describe my scenario: 1. I've setup EAP6 as unsecured, I've started it and got it discovered by agent. I've reproduced Bug 789292, so I've decided to secure my EAP. 2. I've removed EAP from RHQ inventory 3. I've stopped EAP, secured it and started again 4. I've run autodiscovery on agent - for my server with new configuration to be discovered 5. I've imported it and reproduced Bug 789292 again!! Why that happened? Right afer step 2, EAP was discovered and was still unsecured. Then when I've fixed it's configuration and imported it, RHQ was treating it still as unsecured. That means, there is something, that happens when discovery runs, some initializations. I think this is a bug in as7 plugin, because it initializes some fields (like path to management realm which is in standalone.xml) during discovery time. Probably, in step 4, agent skipped "deeper" discovery of EAP, because it already knew about it Version-Release number of selected component (if applicable): Version: 4.4.0-SNAPSHOT Build Number: 28e565c EAP6 ER5 How reproducible:always Expected results: agent should recognize server to be secured even without running step 4. Additional info:
Plugin configuration is always initially populated at discovery time and not at import time. That is the way RHQ works. You can force a re-initialization by changing some plugin configuration properties and save them.