thanks a lot for your answers!
i will probably go with category = PLATFORM approach, as i might need to create an alert when platform is down

Regards
Alexey


On 19.08.2010 17:54, Joseph Marques wrote:
If you're using a recent version of RHQ, you can go to the resource browser ("/rhq/inventory/browseResources.xhtml?subtab=all") and enter the following search:

type=Linux | type=Windows

You can then save this search pattern by clicking on the star icon on the far-right of the SearchBar.š For more information on the new search facilities within RHQ, see http://support.rhq-project.org/display/JOPR2/Search

On 08/19/2010 09:11 AM, Ian Springer wrote:
šHere are a couple ways to create one that contains all platforms:

resource.type.category = PLATFORM

or:

empty.resource.parent.id

If you want only Linux and Windows platforms, you could use:

resource.type.category = PLATFORM
resource.type.name.contains = in

This looks a bit silly, but it's all I can think of, since I don't think the expression language supports ORs/unions, so you can't do something like "resource.type.name.contains = Linux || resource.type.name.contains = Windows".


- Ian

On 08/19/2010 08:02 AM, Alexey Kamenchuk wrote:
Hi

How can I define a dynagroup which includes all of the platforms?

Tried these 2 conditions and many others - none of them work

resource.type.plugin = Platforms
resource.type.name = (Linux | Windows)

resource.type.plugin = Platforms
resource.type.name = Linux) | (resource.type.name = Windows)


Regards
Alexey


_______________________________________________ rhq-users mailing list rhq-users@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/rhq-users

_______________________________________________ rhq-users mailing list rhq-users@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/rhq-users