Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. List Node IP in Summary Table

List Node IP in Summary Table

Scheduled Pinned Locked Moved Support
4 Posts 2 Posters 3.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    J
    jniland
    wrote on last edited by
    #1

    I 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->ipAddr

    I 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?

    1 Reply Last reply
    0
    • F
      F
      Filipp Sudanov
      wrote on last edited by
      #2

      Just tried this

      • created a DCI, type: Internal, parameter: Dummy(ip), data type: string, transformation script: return $node->ipAddr;
      • checked in last values that this DCI actually collects the IP address
      • created summary table, added column named IP addr, DCI name: Dummy(ip)

      so there's no need for an OID - DCIs are identified by parameter and parameter in this case is "Dummy(ip)"

      1 Reply Last reply
      0
      • J
        J
        jniland
        wrote on last edited by
        #3

        How 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.

        1 Reply Last reply
        0
        • J
          J
          jniland
          wrote on last edited by
          #4

          Actually, I just figured it out. Thank you for your help!

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          Powered by NodeBB Contributors
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups