setup webapi seperated with netxms server
-
hi,
i have install netxms server on server A and i have webserver tomcat on sever B, i want deploy webserviceAPI Netxms on separated server in this case server B,is that possible?
i was following the instruction on https://www.netxms.org/documentation/adminguide/advanced.html#web-api-rest-api. but i'm newbie on tomcat i don't know how to put file "nxapisrv.properties" in my web server. i have tried file "nxapisrv.properties" put on META-INF or WEB-INF nothing happend.thanks
-
It depends on your Linux distribution and Tomcat settings. One possible location is /var/lib/tomcat8/lib.
Best regards,
Victor -
-
Hi!
Yes, you should put nxapisrv.properties to lib directory of your web server (any directory on classpath). Tomcat 7 should be ok for web service API (although Tomact 8 is required for web UI).
Best regards,
Victor -
hi victor,
sorry late your respond, i have tested using tomcat8 and grafana succes connected,
but i test with curl from server console only success get sessions but i tried get data container or node the result is access denied.
for your information i use same credential on server console and grafana but the the result is different.
i follow this guide https://wiki.netxms.org/wiki/Web_service, there is something configured i miss?thanks,
Best regards,
Rama
-
Hi,
did you give access to objects to grafana user?
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