NetXMS Support Forum

English Support => Feature Requests => Topic started by: xenth on April 10, 2008, 02:35:28 PM

Title: Policy editor whitelist/exclude function
Post by: xenth 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  :)
Title: Re: Policy editor whitelist/exclude function
Post by: Victor Kirhenshtein 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?
Title: Re: Policy editor whitelist/exclude function
Post by: xenth 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?
Title: Re: Policy editor whitelist/exclude function
Post by: Victor Kirhenshtein 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:


OBJECT_ID != 100


Best regards,
Victor
Title: Re: Policy editor whitelist/exclude function
Post by: xenth on April 10, 2008, 08:29:55 PM
I see! Thanks for your response as always.