By default, JSON for LLD rule should be generated by command executed on agent side.
I want to store JSON in Host macro and pass it directly to LLD rule.
Consider following host macro:
Discovery rule should read it and create items "net.tcp.listen[,xx]" for ports 22,80,443.
Is it possible?
I want to store JSON in Host macro and pass it directly to LLD rule.
Consider following host macro:
Code:
{$PORTMON_TCP} = { "data" : [ { "{#PORT}" : "22" }, { "{#PORT}" : "80" }, { "{#PORT}" : "443" } ] }
Is it possible?