Author Topic: Policy editor whitelist/exclude function  (Read 3723 times)

xenth

  • Full Member
  • ***
  • Posts: 130
    • View Profile
Policy editor whitelist/exclude function
« on: April 10, 2008, 02:35:28 pm »
It would be usefull to have an exclude function in the event processing policy editor "source" field  :)

Victor Kirhenshtein

  • Lead Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 7080
    • View Profile
Re: Policy editor whitelist/exclude function
« Reply #1 on: April 10, 2008, 02:39:35 pm »
You can select "Negate cell" option - this will mean "everything except listed in this cell". Is it what you mean?

xenth

  • Full Member
  • ***
  • Posts: 130
    • View Profile
Re: Policy editor whitelist/exclude function
« Reply #2 on: April 10, 2008, 04:38:33 pm »
I'll give you an example.

I add "entire network" to the source, but I want to select everything in the network BUT one printer. How would I do this without putting in everything except the printer to the source manually?

Do you understand what I'm trying to say?

Victor Kirhenshtein

  • Lead Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 7080
    • View Profile
Re: Policy editor whitelist/exclude function
« Reply #3 on: April 10, 2008, 04:44:37 pm »
For entire network, "negate cell" will help - because entire network includes every node registered in system. So to match everything except one printer, you should add only that printer to source and then select "negate cell".
However, if you wish to match all hosts in specific subnet except some host from this subnet, it will not help. In this case, you will need to use "script" column. For example, to exclude device with ID 100, script may looks like following:

Code: [Select]
OBJECT_ID != 100

Best regards,
Victor

xenth

  • Full Member
  • ***
  • Posts: 130
    • View Profile
Re: Policy editor whitelist/exclude function
« Reply #4 on: April 10, 2008, 08:29:55 pm »
I see! Thanks for your response as always.