Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-8373

The placeholder {diffTime} is not supported by Backshift.

    XMLWordPrintable

    Details

      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:

      2016-04-25 12:15:29,517 WARN  [qtp1156227532-1452 - /opennms/rest/measurements] o.a.c.j.JexlEngine: org.opennms.netmgt.measurements.impl.JEXLExpressionEngine.applyExpressions@79![11,33]: '(bytesIn * ifHCOutOctets.diffTime);' undefined variable ifHCOutOctets.diffTime
      

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                j-white Jesse White
                Reporter:
                agalue Alejandro Galue
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: