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. Network map - device names

Network map - device names

Scheduled Pinned Locked Moved Support
5 Posts 3 Posters 28.2k 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.
  • N
    N
    nem
    wrote on last edited by
    #1

    Hello,

    Im struggling a bit to get started with netxms, and one of the questions i have is if i can somehow control how device names are generated in network map?

    More specifically i want to use SNMP sysLocation as the name, or at least part of the name. Is this possible?
    Ideally i would have SNMP sysname - SNMP sysLocation as name.

    Im also wondering if there are more resources for learning to use the system, other than the documentation and the video series on youtube?

    Thanks in advance!

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      Hi,

      names on maps are the same as object names. You cannot have separate "map" name. However, you can rename your nodes automatically to include location information using configuration poll hook. For example, you can have hook script as this:

      if (($node->snmpSysLocation != "") and not ($node->name like "*" . $node->snmpSysLocation))
         $node->rename($node->name . " " . $node->snmpSysLocation);
      

      This script checks that node name is not already ended with location string and it is not empty, and then appends location string to node name. You may need to introduce more sophisticated logic if sysLocation can change over time and you'll need to replace old location with new one and not simply append new location.

      Best regards,
      Victor

      1 Reply Last reply
      0
      • N
        N
        nem
        wrote on last edited by
        #3

        Hello,

        Thanks for the thorough answer!

        This looks interesting, but as you say it will need further logic in case things change.
        I can use this for now, in case i need to expand it i would have to either rename it on each scan, or have it check every other day maybe.. I will see.

        Thanks again!

        1 Reply Last reply
        0
        • S
          S
          Staj
          wrote on last edited by
          #4

          It would be useful to be able to define a separate name for use in maps. We have an issue where we have to choose between descriptive node names, have large icons or use shorter names as the node name on a map is truncated based on the size of it's icon.

          1 Reply Last reply
          0
          • V
            V
            Victor Kirhenshtein
            wrote on last edited by
            #5

            That sounds useful, I've registered it as feature request (https://track.radensolutions.com/issue/NX-1911).

            Best regards,
            Victor

            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