[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Memory graph display of MB instead of % ?



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