Resource Graphs disfunction

Description

No graphs can be displayed on node Resource Graphs page.
If you try to display graphs only a page with text "Page Not Found" is displayed.

The URL looks like this:
https://<opennms-server>/opennms/null?generatedId=007c681e-23de-3552-bf3c-4ca53454afd7&reports=all

All graphs are shown if you change the url manually to:
https://<opennms-server>/opennms/graph/results.htm?generatedId=007c681e-23de-3552-bf3c-4ca53454afd7&reports=all

With the chooseresource.jsp from version 29.0.6 the error is gone.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Matt Cavaness March 22, 2022 at 11:17 PM

I noticed graphs were working when accessed from /opennms/graph/index.jsp but not from the node's page. The main difference in behavior seemed to be that "&endUrl=graph/results.htm" was appended to the GET string in the link to /opennms/graph/chooseresource.jsp when accessing from /opennms/graph/index.jsp.

I was able to get graphs to load normally from the node page by inserting the following at 689L in
/opt/opennms/jetty-webapps/opennms/element/node.jsp:
      <c:param name="endUrl" value="graph/results.htm"/>

Fixed

Details

Assignee

Reporter

Affects versions

Priority

PagerDuty

Created March 17, 2022 at 10:51 AM
Updated March 30, 2022 at 3:26 PM
Resolved March 29, 2022 at 2:46 PM