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

Provided graph definitions are mixing aggregation function leading to wrong min / max totals

    XMLWordPrintable

    Details

      Description

      The provided graph definitions are mixing aggregation functions between RRAs and VDEFs. This leads to wrong values shown in the legend which changes depending on the selected time frame.

      Example mib2.bits (in mib2-graph.properties):

       DEF:octIn={rrd1}:ifInOctets:AVERAGE \
       DEF:octOut={rrd2}:ifOutOctets:AVERAGE \
       CDEF:rawbitsIn=octIn,8,* \
       CDEF:rawbitsOut=octOut,8,* \
       GPRINT:rawbitsIn:MIN:"Min  \\: %8.2lf %s" \
       GPRINT:rawbitsIn:MAX:"Max  \\: %8.2lf %s\\n" \
       GPRINT:rawbitsOut:MIN:"Min  \\: %8.2lf %s" \
       GPRINT:rawbitsOut:MAX:"Max  \\: %8.2lf %s\\n" \
      

      This definition also defines the according variables from RRAs defined as MIN and MAX accordingly but they are unused.

      I'm not sure which graph definitions are affected by this or how to find them.

      More details and the initial report by Simon Sorensen can be found here: http://comments.gmane.org/gmane.network.opennms.general/51100

        Attachments

          Activity

            People

            • Assignee:
              tarus Tarus Balog
              Reporter:
              fooker Dustin Frisch
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: