[drraw-users] Bug when using "DS based on a perl regular expression"

Ari Kuukka ari.kuukka at sulake.com
Mon Aug 17 06:31:44 MDT 2009


I am encountering the exactly same problem; using the Formula in "DS  
based on a perl regular expression" causes problems when there is only  
single DS match.

A fix would be highly appreciated!

Regards,
Ari Kuukka



> On 2009-01-05, eliott wrote:
> > I am trying to use the perl regex based DS to graph cpu rrds.
> > The problem I am running into, is the forumula + or AVERAGE when  
> only
> > one cpu is present on a box. Some boxes have 4. Others have one.  
> Some
> > of the boxes with 4 cpus don't provide all the data for each of the
> > points (lets say cpu-4 on a host is the only cpu with any 'nice' cpu
> > data).
> >
> > I get the following on boxes with one cpu, or many cpus where only  
> one
> > of 4 cpus has a datapoint:
> >  invalid rpn expression in: e0,UN,0,e0,IF,,+
>
> I've been meaning to take a closer look but sounds like a bug.
>
> > My hope was to have a single template that I could apply to boxes  
> with
> > 1 cpu, as well as boxes with 4 cpus. Addition in rpn of course
> > requires two items on the stack.
>
> Right, you should be able to.
>
> > Has anyone found a way to work around this issue, without  
> resorting to
> > creating a separate template?
>
> Fixing that particular bug shouldn't be very hard.
>





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.taranis.org/pipermail/drraw-users_lists.taranis.org/attachments/20090817/46ba6e86/attachment.html>


More information about the drraw-users mailing list