Menu

#1361 [HHQ-2002] Conversion issue with Bits received/transmitted p

open
None
5
2012-10-09
2008-04-18
No

http://jira.hyperic.com/browse/HHQ-2002
The alert condition converts absolute value for bit received/transmitted per second to Kb (kilo bits), Mb and Gb, this conversion seems to be wrong. Also when user tries to edit the field the value shows up as converted value with Kb, Mb or Gb unit. Submitting the updated value with keeping the units in the field incorrectly converts the value of the field.



Example:



Select a network interface


Create a bits received per second alert with absolute value set to 30,000


On submitting the form the alert value is converted to 234.4 Kbps, Shouldn't it be 30 Kbps (assuming that it means kilobits and not kilobytes per second)?


Edit the alert condition (Note that the if condition value is set to 234.4 Kbps)


Change the value to 30 Kbps and submit the form


Note that the value is set as 240.0 Kb (which is 30000 bytes), So in this case it seems like the form is expecting the value of kilobytes and not kilobits



In another case,


resubmitting the form with 234.4 Kbps changes the value to 1,875.2 Kb

Discussion

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.