Dashboard does not self-refresh - seems like a broken timer

Description

Steps to reproduce:

1. Change the "refresh-seconds" attribute on the default surveillance view from 300 to 3
2. Log in and load the dashboard
3. Use send-event.pl to simulate a new alarm, e.g.:

/opt/opennms/bin/send-event.pl uei.opennms.org/vendor/apache/syslog/httpd/documentRootDoesNotExist -n 31 -i 66.135.60.215 -p 'documentRoot /var/www/bogusness' -p 'syslogmessage this is a test alarm, please disregard. -justatest' -p 'process httpd_notreally' -p 'pid 42'

4. Verify in a separate browser window that the alarm is present in the alarms browser, ReST API, etc.
5. Check the dashboard window, expecting that the new alarm would now appear there; it does not
6. Click "show all nodes" in the surveillance view widget at the top of the dashboard and see the new alarm. Of course, refreshing dashboard.jsp in the browser also causes the new alarm to appear.

Donald observed that there's no network traffic while the dashboard is just sitting, it requires a nudge as outlined above before any AJAX loading is done.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Ronny Trommer March 23, 2016 at 12:51 PM

Jeff Gehlbach January 8, 2013 at 3:31 PM

Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

PagerDuty

Created January 8, 2013 at 3:29 PM
Updated February 14, 2018 at 7:51 PM
Resolved March 23, 2016 at 12:51 PM

Flag notifications