Difference between revisions of "Deploy NetXMS WebAPI using the WebUI Windows installer (Windows only!)"

Jump to navigation Jump to search
m
Text replacement - "^" to "{{deprecated}}"
(xml)
 
m (Text replacement - "^" to "{{deprecated}}")
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
This guide provides instructions on how to deploy the NetXMS WebAPI .war file, that can be downloaded at https://netxms.org/downloads, using the Jetty Runner that comes with the installation of the NetXMS WebUI. Windows only!
{{deprecated}}This guide provides instructions on how to deploy the NetXMS WebAPI .war file, that can be downloaded at https://netxms.org/downloads, using the Jetty Runner that comes with the installation of the NetXMS WebUI. Windows only!


== Requirements ==
== Requirements ==
Line 8: Line 8:
== Steps ==
== Steps ==
1. Navigate to the installation directory of the WebUI.
1. Navigate to the installation directory of the WebUI.
2. Create a folder named "WebAPI".
2. Create a folder named "WebAPI".
3. Create a file named "jetty-web.xml" in the newly created folder with the following content:
3. Create a file named "jetty-web.xml" in the newly created folder with the following content:
{{#tag:syntaxhighlight|
{{#tag:syntaxhighlight|
Line 18: Line 20:
|lang=xml}}
|lang=xml}}


4. Login to your Grafana web interface and add the NetXMS datasource in the Data Sources section.
4. Add the path to your <pre>jetty-web.xml</pre> at the end of the registry <pre>HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Apache Software Foundation\Procrun 2.0\nxWebUI\Parameters\Start\Params</pre>
 
5. Restart the NetXMS WebUI service and the WebAPI should be available at http://localhost:8080/webapi

Navigation menu