Client install time

(imported topic written by SystemAdmin)

I’m looking for a good way to build a relevance statement to determine if the client install time is in the past x days…

For example, I know I can determine the client install time from this relevance:

subscribe time of current site

Ideally, I would like something similar to this:

subscribe time of current site < 7 days

(imported comment written by Lee Wei)

Knowing the data types is useful in most cases when we write Relevance.

So in our case below:

Time - Time = Time Interval, and “day” is a time interval.

So we can write it this way:

(now - subscribe time of current site) > 7 * day

Lee Wei

(imported comment written by SystemAdmin)

Lee - thanks for the info!

Just to provide further insight as to what I want to do…

I’ve created an automatic group using your relevance as an example. Essentially, I want to see all new computers that have the TEM client installed on them in the past 7 days (so the modification to your relevance would be <7)… but I don’t think it’s working properly - there are too many computers auto-subscribing.

(imported comment written by SystemAdmin)

Never mind - its working fine. For some reason, about half of the computers immediately showed up, but they’re starting to decrease…

(imported comment written by Lee Wei)

Oops sorry, I don’t have any computers installed within the last 7 days, so I flipped the operator > when I was testing it.

The key to the statement is “current site”, which should be the ActionSite.

However, if you were to create the statement from a Non-Master operator, then the “current site” is the operator’s site, which might be subscribed later than when the computer was installed.

Lee Wei

(imported comment written by nagaraj.s)

Hi Lee,

I want to know the bigfix client installed time i have also tried the following relavance

q:subscribe time of current site

E: Singular expression refers to nonexistent object.

q:(now - subscribe time of current site) > 7 * day

E: Singular expression refers to nonexistent object.

the relavance code shown error,

so how to resolve this issue in my organisation.

ASAP.

(imported comment written by Tim.Rice)

If you are using th QnA tool, you may need to configure it to use the Local Client rather than letting it evaluate the Relevance itself.

under the Debug menu, look under Evaluate Using and select the local client.

see if that gives you better results. Be patient, it takes a moment or two for the client to pickup the request and return the answer.

(imported comment written by jgstew)

Try this:

minimum of subscribe times of sites

(now - minimum of subscribe times of sites) > 7*day

(imported comment written by nagaraj.s)

Hi,

Thanks to all. it’s working fine.