WebAPI v4

Started by blairmc96, April 13, 2022, 05:03:31 PM

Previous topic - Next topic

blairmc96

After moving to version 4 of NetXMS, the API no longer works connecting Grafana to NetXMS.

I've completely removed and reinstalled it according to the wiki page:

https://wiki.netxms.org/wiki/Deploy_NetXMS_WebAPI_using_the_WebUI_Windows_installer_(Windows_only!)

The windows installer puts all of the files in C:\NetXMS-WebUI.

The instructions weren't 100% specific, like what to do with the nxmc-4.0.2227.war file that is downloaded.  I assume you rename it to webapi.war, as has been done in the past and noted in the jetty-web.xml file.  If we can get the wiki updated with this information, that would be helpful.

I've got it working somewhat, and when I go to http://localhost:8080/webapi, it redirects to http://localhost:8080/webapi/nxmc-clarity and provides the web login page.

What am I missing?

Thanks!

Alex Kirhenshtein

nxmc is the webui package, you need this one instead

blairmc96