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. WEBApi install error

WEBApi install error

Scheduled Pinned Locked Moved Support
7 Posts 3 Posters 44.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.
  • P
    P
    praim
    wrote on last edited by
    #1

    Hello,
    I have tried to install webapi on my Ubuntu. I have got this following error:  Failed to execute goal on project netxms-websvc: Could not resolve dependencies for project org.netxms:netxms-websvc:war:3.0-SNAPSHOT: The following artifacts could not be resolved: org.netxms:netxms-base:jar:3.0-SNAPSHOT, org.netxms:netxms-client:jar:3.0-SNAPSHOT: Failure to find org.netxms:netxms-base:jar:3.0-SNAPSHOT in http://maven.restlet.com was cached in the local repository, resolution will not be reattempted until the update interval of maven-restlet has elapsed or updates are forced

    Can you please help me?
    Best regards

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

      Hi,

      as you are building for development branch, you have to install dependency packages manually to your local repository from source tree. Do the following (from source tree root):

      cd src/libnxjava/java/base/netxms-base
      mvn clean
      mvn install
      cd ../../../../client/java/netxms-client
      mvn clean
      mvn install
      

      Now you should have both dependencies installed.

      Best regards,
      Victor

      1 Reply Last reply
      0
      • P
        P
        praim
        wrote on last edited by
        #3

        Thank you,
        I have followed instructions from wiki, where is, that I have to download api from GIT repository.

        I have another problem. In the grafana webserver I can see all DCI values, but when after I add a DCI, It always shows: "datapoints:Array[0]" so graphs are empty

        Best regards

        1 Reply Last reply
        0
        • S
          S
          Ēriks Jenkēvics
          wrote on last edited by
          #4

          Hi!

          Could you check if the DCI has collected any data? Also, could you please post screenshots of the DCI configuration?

          Regards,
          Eriks

          1 Reply Last reply
          0
          • P
            P
            praim
            wrote on last edited by
            #5

            Hi,

            yes, DCI has collected data normally. Here you have screenshots. If you want to something else, let me know.

            Best regards


            grafana - conf.PNG

            netxms settings.PNG

            line chart - netxms.PNG

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

              Just to make sure - are you using server from development branch (3.0)? Or your server is from 2.2.x branch? If latter, then I suggest to download matching version of web services API. Also, make sure you install NetXMS datasource for Grafana version 1.1.0.

              Best regards,
              Victor

              1 Reply Last reply
              0
              • P
                P
                praim
                wrote on last edited by
                #7

                I am using netxms server v2.2.2 with web api v2.2.2. Grafana is v4.6.3 with netxms plugin version v1.1.0

                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