Unable to get the NetXMS data source to work

I have a fresh install of Grafana 9.2.0 on Ubuntu 22.04 and am trying to connect to our NetXMS server for a data source. I am able to log into the NetXMS server using the credentials I’m providing on the data source form in Grafana.

When I click Save and Test, it displays a message “Bad Gateway”. No other information is given. How do I troubleshoot this?

OK, I figured out that I needed to add the port number to the end of the URL, but now I’m getting a 404.

<!doctype html>HTTP Status 404 – Not Foundbody {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}

HTTP Status 404 – Not Found

Type Status Report

Message The requested resource [/sessions] is not available

Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

Apache Tomcat/9.0.43