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 victor,
thanks for your respond.
so you mean the "nxapisrv.properties" put on lib at mywebserver not on folder website of webapi netxms right?
right now i use tomcat7 not tomcat8, is oke use tomcat7?
thanks.
Best Regards,
Rama
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