Item11950: Handle zero values, avoid Division by Zero

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: GaugePlugin
Branches: trunk
Reported By: OliverKrueger
Waiting For:
Last Change By: OliverKrueger
%GAUGE{ type="tambar" name="foo" value="0" scale="0,0,0,0" }%

causes a Division by zero error. Should be prevented.

-- OliverKrueger - 14 Jun 2012

Fixed.

-- OliverKrueger - 15 Jun 2012
 
Topic revision: r3 - 15 Jun 2012, OliverKrueger
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy