[ZBX-2074] Web Scenario shows incorrect speed Created: 2010 Feb 25  Updated: 2017 May 30  Resolved: 2010 Jun 15

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 1.8.1
Fix Version/s: 1.8.3, 1.9.0 (alpha)

Type: Incident report Priority: Major
Reporter: Rajagopal Iyer Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Centos 5.2 / mysql / Zabbix 1.8.1



 Description   

The speed graph shown by web scenario (whose items are not accesible) shows the speed in kbps, (Kilobits per sec) whereas actually it is kBps (Kilobytes per second). Cross checked the speed using wget for a 1.4 mb download just to eliminate possibility of small data size affecting the speed measurement.



 Comments   
Comment by richlv [ 2010 Feb 25 ]

additionally, release notes should give an advice on sql query or similar method to fix already existing scenarios

Comment by Alexey Fukalov [ 2010 Jun 04 ]

ZBX-2074

Comment by Alexey Fukalov [ 2010 Jun 04 ]

when disable web scenario, items are still enabled and shown in latest data.

Comment by richlv [ 2010 Jun 07 ]

confirming the fix

Comment by richlv [ 2010 Jun 07 ]

oh, don't forget to add patch also for 2.0 when merging to trunk

Comment by Alexey Fukalov [ 2010 Jun 07 ]

branches/1.8 12583

Comment by richlv [ 2010 Jun 15 ]

on mysql, match for 'bps' is case insensitive, so unneeded updates will occur.

adding "COLLATE utf8mb4_bin" makes it case sensitive, but :

1. solution should work on all supported mysql versions;
2. it should probably be verified what other databases do with the update query.

Comment by Alexey Fukalov [ 2010 Jun 15 ]

left query as is. it should work correctly, just some needless queries may occur.

Generated at Fri Mar 29 10:07:17 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.