Xymon Mailing List Archive search

obtaining maximum value to calculate percentage for graph

list David Boldt
Wed, 3 Aug 2016 16:17:32 -0400
Message-Id: <CAC_ry0bqoM7f=ACy=user-81fc47552bc2@xymon.invalid>

I am monitoring a value for which I don't know the possible maximum, which
I would like to express as a percentage.

Expected to be able to do something like this (MAX should be a valid CF):

        DEF:packets=fsth.rrd:freepackets:AVERAGE
        DEF:packetsMAX=fsth.rrd:freepackets:MAX
        CDEF:packetsPercent=packets,packetsMAX,/,100,*

Alas the second line is not valid.

What is the appropriate syntax for obtaining a maximum value?

-- 
                                         -- David Boldt
                                            <user-945c7be1b8e4@xymon.invalid>


  "He who asks is a fool for five minutes, but he who does not ask remains
a fool forever."
    --Chinese Proverb