[ZBX-6487] NOT SUPPORTED error Created: 2013 Apr 12  Updated: 2017 May 30  Resolved: 2013 Apr 13

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: None
Affects Version/s: 2.0.4
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: Anjaiah Assignee: Unassigned
Resolution: Won't fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

I am trying to create a calculated Item.

Here is the case, result = (Item1) / (Item2)

when Item1, and Item2 are not equal to zero then I am getting the result, how ever some times my default data can be zero( 0 ), this is case I am getting unsupported exception like Division by zero. Cannot evaluate expression [0.000/0.000000], I am expecting the 0 in this case.

please advise me what i need to do?

is this bug? guide me what I have to do, in the cases where I can get the data both may be zero? so that when I draw the graph it should not break the graph.



 Comments   
Comment by Oleksii Zagorskyi [ 2013 Apr 13 ]

Do we want to rewrite mathematic rules?

Closed as won't fix.

Comment by richlv [ 2013 Apr 13 ]

as a hackish workaround, maybe this works

result = (Item1) / ((Item2)+0.1)
Generated at Mon Apr 07 16:16:28 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.