Xymon Mailing List Archive search

Memory graph display of MB instead of % ?

2 messages in this thread

list Charles Jones · Fri, 21 Jul 2006 12:44:58 -0700 ·
Is there a way I can optionally create a memory graph that shows the MB 
used, instead of the percentage?
list Henrik Størner · Fri, 21 Jul 2006 22:13:49 +0200 ·
quoted from Charles Jones
On Fri, Jul 21, 2006 at 12:44:58PM -0700, Charles Jones wrote:
Is there a way I can optionally create a memory graph that shows the MB used, instead of the percentage?
Not generally. Hobbit doesn't track the MB used number anywhere, it only tracks the percentage in the RRD files.

You *can* do it by defining a new [memory] graph entry in
hobbitgraphs.cfg, where you do the conversion from %-used to MB through a CDEF definition. But that means hard-coding the amount
of RAM inside the graph definition, so it will only work for one
host (or rather, all hosts that have this particular amount of
memory installed).


Regards,
Henrik