Exclude defined set of IP addresses from discovery

Hello uCMDB users / experts.

We are running a uCMDB 10.11 with UD.
We can see a lot of errors in the discovery jobs summary.
In order to willow out the false alarms, we are now in the process of fine-tuning the discovery ranges.
We are currently concentrating on the "Host Connection" discovery module.

(1) I would like to exclude a set of IP addresses from the discovery, based on associated node's attribute.
The problem here is how to define the Input / Trigger TQLs so they will exclude IPs according to node attribute.
(2) I would like to exclude a set of IP addresses from the discovery, based on an IP address list I have (containing a few thousands entries).
The problem here is how to define the Input / Trigger TQLs so they will exclude IPs according to a given list.

Does anyone have any idea how I can acheive this?

Thank you in advance for your help!
Binyamin Kisch
Professional Application Services, Monitoring Team
Bezeq International, Information Technology