DiscoveryComponent only called once
John Mazzitelli
mazz at redhat.com
Wed Aug 17 15:31:01 UTC 2011
this might help:
http://rhq-project.org/display/JOPR2/FAQ#FAQ-Explainhowtheagentscansforresources
Do manually scan, see the agent prompt command "discovery" (from agent
prompt, do a "help discovery"). You can manually call that from the
agent prompt or through the GUI of your agent resource via the "Execute
Prompt Command" operation (and just pass in the discovery command you
want, just as if you were on the command line).
Or you can execute from the GUI the platform's operation "Manual Discovery".
On 08/17/2011 10:59 AM, Till Essers wrote:
> Hi,
>
> I wrote a JON plugin that basically is a DiscoveryComponent and a
> Component. The DiscoveryComponent extends the MBeanResourceComponent and
> asks the MBean for the Components it should display.
> Everything is working pretty fine except the fact that after the initial
> discovery no new discovery is done.
> So if there is something new the plugin should show, you can see it in
> the JMX console but not in JON.
> How can someone manually or programmatic make a new discovery of components?
>
> With kind regards,
> Till Essers
>
More information about the rhq-devel
mailing list