Actually, I just figured it out. Thank you for your help!
jniland
Posts
-
List Node IP in Summary Table -
List Node IP in Summary TableHow do I go about adding a column to a summary table? When I generate the table by right clicking infrastructure services, selecting summary tables, and then choosing the correct platform (in this case Mikrotik), it just generates the table with seemingly no way to add columns.
-
List Node IP in Summary TableI am looking for a way to have the IP address for a node listed in its summary table. Alex K. suggested that I use an snmp oid for this, however for the devices that I need this for (Mikrotik RouterOS) this is not supported. So, based on an older thread for a similar topic (https://www.netxms.org/forum/general-support/summarize-other-node-properties-in-addition-to-dcis/), I had the idea of using an unused snmp oid and using a transform script to just have it return the IP address instead. This is what I am looking for assistance with.
I have already shown that I can get the IP and have it show up in a node's data collection config, but still not in the summary table. I did this by creating a dummy oid with the below parameters:
source=internal
name=Dummy(ip)
retention=do not save to the database
transformation script: $node->ipAddrI would like to be able to apply a similar transform script in a way where the ipAddr will show up in a summary table. So I found an oid that we don't care about with an snmp walk and found .1.3.6.1.2.1.2.2.1.6.2, which returns a mac address. I tried applying the below transform script, however this still just returns the mac address and not the IP. This mac address is also not showing up in the summary table for the relevant template. So how can I get it to show up and replace the mac address with the ipAddr of the node?