resource type ignoring

Lukas Krejci lkrejci at redhat.com
Thu Mar 14 15:08:52 UTC 2013


On Monday, March 11, 2013 12:03:27 Thomas Segismont wrote:

.. snip ..

> > 
> > 1) Be able to disable all new resources for a specific resource type. So,
> > if I go to a (as yet non-existent) Administration page, I click some
> > buttons to say "disable type 'foo'", then anytime the agent sends a
> > inventory report with resources of that 'foo' type, we ignore them.  They
> > never get into the discovery queue and never get a row in RHQ_RESOURCE
> > table. If they are already in the discovery queue, you already have the
> > option to "IGNORE" them, so that's already a feature and has been for a
> > while. But what if their parent is in the queue? (the parent is not an
> > ignored type). If we commit the parent, the agent will send up the child
> > services of type "foo" and we simply ignore them - we don't commit those
> > ignored resources and we throw them away.
> > 
> > This is the "all of them" approach - we ignore all resources of a given
> > type.
> Would it possible to disable execution of the corresponding discovery
> component in order to minimize agent work?
> 

+1 - we've seen discovery taking substantial amount of agent's processor time, 
so if a resource type is disabled on the server (for given agent, maybe?), I'd 
assume no discoveries would be done for it on the agent.

.. snip ..


More information about the rhq-devel mailing list