NetXMS Support Forum

English Support => General Support => Topic started by: yordi on November 18, 2019, 01:07:40 PM

Title: Use Primary IP in DCI table
Post by: yordi on November 18, 2019, 01:07:40 PM
Hello,
I trey to put the Primary IP in de DCI table, so i can use it in summary tables.
I trey using DCI with internal and {primary_node_ip} but does not work.
also i trey the %a (works in objects tools).

So ho can the primary IP (that is visual in de overview) be added to the DCI values of the object ?

Thanks!
Title: Re: Use Primary IP in DCI table
Post by: Victor Kirhenshtein on November 19, 2019, 10:55:20 PM
Hi,

you can create internal DCI for parameter "Dummy" and use transformation script like


return $node->ipAddr;


Best regards,
Victor