Relevance querying the comments field

(imported topic written by SystemAdmin)

Im Migrating servers to our new BES 8.0 server and would like to keep the old systems available for reference,

once they appear in the new system I add a comment to the old server labled “Migrated”, is there a way to query

servers in a relevance that says

something like this…

if text of comments of it as lowercase contains “migrated” then false else true

(imported comment written by Lee Wei)

Here are 2 valid statements for you to consider.

names of bes computers whose (text of comments of it as lowercase contains “migrated”)

(name of it, not (exists comment of it and text of comment of it as lowercase contains “migrated”) ) of bes computers

(imported comment written by SystemAdmin)

Thanks Lee but I need to run this from a task relevance, from my 7 - 8.0 migration task

Q: names of bes computers whose (text of comments of it as lowercase contains “migrated”)

E: The operator “bes computers” is not defined.

Q: (name of it, not (exists comment of it and text of comment of it as lowercase contains “migrated”) ) of bes computers

E: The operator “bes computers” is not defined.

(imported comment written by Lee Wei)

Mark,

These statements are Sessions Relevance meant to be executed on the Server side.

The BigFix Clients do not know about them, hence the errors.

Comments are added to BES Computers on the server side, so the clients are not aware of them.

If you want to tag the Clients, you can right-click on computers in the Console and “Edit Computer Settings”. Then add a custom setting to the selected computers.

Then you can use the “Setting” inspector on the Client to query the results.

Examples:

q: value of setting “__LockState” of client

A: false

q: (name of it, value of it) of settings of client

Lee Wei