Add current node host to netxms agent parameter

Started by kwisatz, March 15, 2017, 01:52:46 PM

Previous topic - Next topic

kwisatz

Hi,

Can i add the current IP or node host on Netxms Agent Parameter

getportingfo(??{node}, 80)

Thank you in advance

Victor Kirhenshtein

Hi,

yes if you are expanding parameter from template. When template is applied on node, you can use %{node_primary_ip} macro (see https://www.netxms.org/documentation/adminguide/data-collection.html#macros-in-template-items for details).

Best regards,
Victor

kwisatz

Thank you Victor,

I try to set that var on the netxms agent field. Not work, workaround with Dummy script.

BR