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. Retrieve data FROM NetXMS

Retrieve data FROM NetXMS

Scheduled Pinned Locked Moved Support
7 Posts 6 Posters 28.4k 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.
  • L
    L
    lweidig
    wrote on last edited by
    #1

    I am looking for a way to grab data FROM NetXMS that it has collected for display in a web application that is primarily Javascript based.  Installed the Web REST api and have it working to get node based information, but cannot figure out a way to get DCI information which is what I really want.

    What suggestions do people have for polling data that NetXMS is storing?

    1 Reply Last reply
    0
    • L
      L
      lweidig
      wrote on last edited by
      #2

      So no easy way to get data from NetXMS???  Possible to just grab last poll information straight from database?  Are schemas available somewhere?

      1 Reply Last reply
      0
      • Z
        Z
        Tatjana Dubrovica
        wrote on last edited by
        #3

        Hi,
        It is possible to get last values for DCI using Rest API.
        Rest API information: https://wiki.netxms.org/wiki/Web_service_API

        URL for DCI last value history: /objects/{object-id}/datacollection/{dci-id}/values GET request with possible filters from=timeAsUnixTimestamp, to=timeAsUnixTimestamp,t imeInterval=time in seconsds, itemCount=numberOfItemsToReturn

        Option to get last values for multiple nodes for the same DCI. AdHoc Table functionality through rest using custom defined table :
        URL: http://10.5.3.4:8080/api/summaryTable/adHoc
        POST request Json:
        {
            "baseObject":"ContainerName",
            "columns": [
                {
                "columnName":"Name1",
                "dciName":"DCIName1"
                },
              {
                "columnName":"Name2",
                "dciName":"DCIName2"
                }
            ]
        }

        1 Reply Last reply
        0
        • D
          D
          duanebutler
          wrote on last edited by
          #4

          I don't know much about the API,

          But I can with confidence say that grabbing the data straight from SQL works.

          We have done so in the past, successfully grabbing entries from SQL to populate reports using our own reporting server.

          Regards

          1 Reply Last reply
          0
          • A
            A
            amirher
            wrote on last edited by
            #5

            Thanks Tatjana!

            Now we could grab DCI values from the REST API. It saves a lot of effort comparing with using the Java API. Just hope the the wiki info could be more comprehensive.

            1 Reply Last reply
            0
            • K
              K
              Marshall Chen
              wrote on last edited by
              #6

              Quick question is where to get the help content for REST APIs.  https://wiki.netxms.org/wiki/Web_service_API is too simple.

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

                Some info is present in admin documentation https://www.netxms.org/documentation/adminguide/advanced.html#web-api-rest-api
                REST API is work in progress and may change a lot in future, documenting of it waits until it get's more or less finalized. So currently the only way is to read source code.

                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