Author Topic: Help with dynamic computer Groups  (Read 4016 times)

0 Members and 1 Guest are viewing this topic.

gprzybyl

  • Guest
Help with dynamic computer Groups
« on: November 15, 2004, 03:55:18 PM »
I have created two dynamic groups one called Avast Systems Online.  The criteria I used for it is

AND
  Last Communication < MINUTESAGO(65)
  VPS version > '0'

and a group called Avast Systems Offline with the criteria:

AND
  Last Communication > MINUTESAGO(65)
  VPS version > '0'

This gives me the opposite results of what I would have expected.  The offline group contains all of the systems that HAVE communicated within the last 65 minutes the online group contains all the systems that HAVE NOT communicated within the last 65 minutes.  Am I reading the criteria wrong or is this a bug?

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11658
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re:Help with dynamic computer Groups
« Reply #1 on: November 16, 2004, 06:01:57 PM »
Yeah, sorry, this may sound a bit silly but time values are increasing as time flows. Morover, the LastCommunication field is an absolute value, not a difference to the current time.

So, if you evaluate

LastCommunication < MINUTESAGO(65)

and it's 14:05 (for simplicity), it's converted to

LastCommunication < 13:00

and therefore is matched by exactly those machines that have NOT communicated since 13:00.


Does that make any sense? ;D

Vlk
If at first you don't succeed, then skydiving's not for you.