[ZBX-9522] Frontend messaging on dashboard doesn't follow refresh period configuration. Created: 2015 Apr 27 Updated: 2019 Aug 23 Resolved: 2019 Aug 23 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 2.0.14, 2.2.9 |
Fix Version/s: | 4.0.12rc1, 4.2.6rc1, 4.4.0alpha2, 4.4 (plan) |
Type: | Problem report | Priority: | Minor |
Reporter: | Kazuo Ito | Assignee: | Mārtiņš Tālbergs (Inactive) |
Resolution: | Fixed | Votes: | 1 |
Labels: | globalmessages, guimessages, refresh | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | Selection_364.png Selection_427.png ZBX-9522-3.0.tar.gz ZBX-9522-3.0.v2.tar.gz __notify.php example.ZBX-9522.local-storage.patch | ||||||||||||||||||||||||||||||||
Issue Links: |
|
||||||||||||||||||||||||||||||||
Team: | Team B | ||||||||||||||||||||||||||||||||
Sprint: | Sprint 55 (Aug 2019), Sprint 49 (Feb 2019), Sprint 50 (Mar 2019), Sprint 51 (Apr 2019), Sprint 52 (May 2019), Sprint 53 (Jun 2019), Sprint 54 (Jul 2019) | ||||||||||||||||||||||||||||||||
Story Points: | 30 |
Description |
Using configurations below:
On "Monitoring" => "Latest data" screen, frontend messaging popoup appeared as configurations above. However, there are some unexpected behaviour on "Monirtoing" => "Dashboard" screen.
Changing "Refresh time in seconds" configuration on each cell of dashboard didn't affect. Forced-reload of browser show/hide popup correctly, so It seems that there's a problem in refresh behaviour on dashboard screen. |
Comments |
Comment by Oleksii Zagorskyi [ 2015 Apr 28 ] |
Take into account recently fixed I think you need to reconsider issue description after reading those two issues. |
Comment by Kazuo Ito [ 2015 Apr 28 ] |
getServerMessages function of class.cmessages.js is running at 60-second intervals. In addition, the time to display the alert is extremely short. I hope to display the time alert specified in the "Message timeout (seconds)". |
Comment by Kodai Terashima [ 2015 Apr 30 ] |
I seems that Frontend messaging shows popup:
So Frontend messageing popups even if "users' profile => refresh" configuration doesn't affect dashboard. For example if Messaging timeout is 60sec (default):
In this case user can see popup only 10 sec. I think it's better to change the period calculation to "now + Massaging timeout". |
Comment by Oleksii Zagorskyi [ 2015 Apr 30 ] |
I never used and investigated global messaging before. I was able to reproduce missing messages if an event generated more than [Message timeout] seconds before the frontend gets messages. In other words global messaging are not guaranteed to be displayed. I wonder why for a global warning "Zabbix server is down" we use hadcoded 10 seconds but for the global messaging much bigger 60 seconds. |
Comment by Marc [ 2015 Jul 29 ] |
zalex_ua, Oh, I'm so sorry. Just noticed that I answered to a quite old comment. I'd should rather get a coffee first before doing anything else |
Comment by Marcelo de Borba [ 2018 Jul 30 ] |
I'm with same problem here, after 4.0 upgrade. |
Comment by Mārtiņš Tālbergs (Inactive) [ 2019 Mar 18 ] |
IMPLEMENTED in development branch feature/ Unofficial 3.0 patch prepared in development branch feature/ |
Comment by Mārtiņš Tālbergs (Inactive) [ 2019 May 22 ] |
Since Zabbix 3.0 and 3.4 supports IE9 and IE10, we cannot implement this messaging in Zabbix versions lesser than 4.0. We do provide ZBX-9522-3.0.tar.gz. Implementation will be released from Zabbix 4.0. If you are using the provided patch with Zabbix 3.0 - be aware to use web browsers that are supported in Zabbix 4.0. UPDATE [28-05-2019]: Fixed problem notification and its resolved notification being displayed simultaneously in ZBX-9522-3.0.v2.tar.gz. |
Comment by Alexander Vladishev [ 2019 Aug 23 ] |
Updated documentation: |