Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
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.
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.