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. Take nodes from one DDBB to another DDBB

Take nodes from one DDBB to another DDBB

Scheduled Pinned Locked Moved Support
4 Posts 3 Posters 7.6k 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.
  • A
    A
    aeixea
    wrote on last edited by
    #1

    Hi:

    At work i use an HTML (pus php, plus JavaScript, plus CSS...)  program wich store all info about nodes into Postgresql DDBB.

    I need to take the infro from this DDBB and put it into netxms mysql DDBB, the info runs from IP address to user and password list to access de node.

    I know my own DDBB (Postgresql) but i don't know WHERE put de info in netxms DDBB (wich table, wich column...).

    If this not work, i must insert MANUALLY more than 3000 nodes into netxms DDBB and then set the specific config for each one (IP, SNMP or NXAGENT, user, password...) manually too.

    I will try do make templates for change the configuration as bit as posible but i need "speed" the insert part of equation.

    Thnx in advance.

    1 Reply Last reply
    0
    • T
      T
      tomaskir
      wrote on last edited by
      #2

      I suggest either using nxshell or NetXMS API to do this.
      I personally use the NetXMS Java API to mass insert/update nodes in NetXMS programatically.

      Documentation is available on the wiki.

      1 Reply Last reply
      0
      • A
        A
        aeixea
        wrote on last edited by
        #3

        Hi,
        Thanx for response, i discover csv-importer and works grate but... when i add or modify something in mysql database for netxms, the data not appear on webui (or nxmc).

        The data are there but netxms ignore it.

        Where can i found documentation abut java api?

        Sound interesting...

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

          Hi,

          you should not modify anything in database directly while server is running. Server caches lot of information in memory and do not expect changes in database. They will be either ignored or even rewritten. You should use Java API or Python scripts (nxshell) to manipulate data in NetXMS programmatically.

          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