Xymon Mailing List Archive search

custom memory1 larrd graph def

1 message in this thread

list Tom Georgoulias · Fri, 04 Feb 2005 10:18:43 -0500 ·
In case anyone is interested, I created a new larrd def for hobbitgraph.cfg that uses the name "cached" instead of "real" in the trend chart.  I did it because I found "real" and "actual" to be too confusing, since the words mean roughly the same thing in day to day use, but not on a Linux system!  :)

Just thought I'd throw it out there in case someone else wants to use it.

Tom


[memory1]
         TITLE Memory Utilization
         YAXIS % Used
         DEF:cached=memory.real.rrd:realmempct:AVERAGE
         DEF:actual=memory.actual.rrd:realmempct:AVERAGE
         DEF:swap=memory.swap.rrd:realmempct:AVERAGE
         LINE2:cached#FF0000:Cached
         LINE2:actual#00FF00:Actual
         LINE2:swap#0000FF:Swap
         -u 100
         -b 1024
         COMMENT:\n
         GPRINT:cached:LAST:Cached \: %5.1lf%s (cur)
         GPRINT:cached:MAX: \: %5.1lf%s (max)
         GPRINT:cached:MIN: \: %5.1lf%s (min)
         GPRINT:cached:AVERAGE: \: %5.1lf%s (avg)\n
         GPRINT:actual:LAST:Actual \: %5.1lf%s (cur)
         GPRINT:actual:MAX: \: %5.1lf%s (max)
         GPRINT:actual:MIN: \: %5.1lf%s (min)
         GPRINT:actual:AVERAGE: \: %5.1lf%s (avg)\n
         GPRINT:swap:LAST:Swap \: %5.1lf%s (cur)
         GPRINT:swap:MAX: \: %5.1lf%s (max)
         GPRINT:swap:MIN: \: %5.1lf%s (min)
         GPRINT:swap:AVERAGE: \: %5.1lf%s (avg)\n