The placeholder {diffTime} is not supported by Backshift.

Description

There is a placeholder called diffTime used by several graph templates to display the total amount of bytes (for network throughput, typically), as RRDtool's VDEF is not supported by JRobin of Backshift.

Unfortunately, that placeholder doesn't exist on the JXEL Context, and because of that, it is not parsed correctly. The consequence is a bunch of warning on web.log like this:

Of course, that also means, the values for the totals appear as zero on the rendered graphs.

Acceptance / Success Criteria

None

Attachments

1

Lucidchart Diagrams

Activity

Show:

Alejandro Galue April 26, 2016 at 2:44 PM

Excellent!

Jesse White April 26, 2016 at 2:37 PM

I also created to add support for VDEF expressions. This should be possible using a generic JEXL filter.

Jesse White April 26, 2016 at 2:36 PM

Alejandro Galue April 25, 2016 at 3:04 PM
Edited

Required Changes:

In OpenNMS

In Backshift

Alejandro Galue April 25, 2016 at 2:27 PM
Edited

It seems like the problem relies on Backshift.Utilities.RrdGraphConverter. To be more precise, on the JEXL converter:

https://github.com/OpenNMS/backshift/blob/v1.1.1/src/Backshift.Utilities.RpnToJexlConverter.js

I think, it doesn't support the concept of placeholders.

Fixed

Details

Assignee

Reporter

Labels

Components

Affects versions

Priority

PagerDuty

Created April 25, 2016 at 12:19 PM
Updated November 9, 2016 at 4:53 AM
Resolved April 26, 2016 at 8:08 PM