Found the problem. Inputlookup passes variables to the map with double-quotes,so a single host is get, a list in IN clausole not.
Ex.
host1,host2
become, literally,
"host1,host2"
so
IN("host1,host2")
is not parsed good,
host1 IN(host1)
in parsed good, without double quotes, but also making quoted works with single host. Null-string is passed as "".
Trying to remove the quotes.
Another workaround, bad, but working,is something like adding single host fields in csv,
h1,h2,h3,h4
and
(host=$h1$ OR host=$h2$ OR host=$h3$ OR host=$h4$)
in the map search. Very bad, but it works.
... View more