WEBApi install error
-
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 forcedCan you please help me?
Best regards -
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 installNow you should have both dependencies installed.
Best regards,
Victor -
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
-
Hi!
Could you check if the DCI has collected any data? Also, could you please post screenshots of the DCI configuration?
Regards,
Eriks -
-
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 -
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