[hobbit] actual memory reporting on AIX

Stef Coene stef.coene at docum.org
Mon Jun 22 23:45:11 CEST 2009


On Monday 22 June 2009, Larry Barber wrote:
> Is there anyway to report actual memory on AIX 5.3 clients? The thing is
> that the old BigBrother client reported actual memory and I have users that
> don't what to switch to the Hobbit client because of that. I would really
> like to get those old BB clients off of the system, too.

(see also http://www.docum.org/foswiki/bin/view/Xymon/AixTips)

I add this to the AIX hosts in bb-hosts:
TRENDS:*,vmstat:vmstat1|vmstat8|vmstat-pc|vmstat-ec|vmstat-avm|
vmstat-free-list

The hobbitgraph.cfg entries:
[vmstat-avm]
   TITLE Accessed Virtual Memory
   YAXIS Size kB
   -b 1024
   DEF:avm=vmstat.rrd:mem_avm:AVERAGE
   CDEF:sw=avm,4048,*
   LINE2:sw#00CC00:
   GPRINT:sw:LAST:Accessed Virtual Memory  \: %5.1lf%s (cur)
   GPRINT:sw:MAX: \: %5.1lf%s (max)
   GPRINT:sw:MIN: \: %5.1lf%s (min)
   GPRINT:sw:AVERAGE: \: %5.1lf%s (avg)\n

[vmstat-avm-total]
   FNPATTERN vmstat.rrd
   TITLE Accessed Virtual Memory
   YAXIS Size kB
   -b 1024
   DEF:avm at RRDIDX@=@RRDFN@:mem_avm:AVERAGE
   CDEF:sw at RRDIDX@=avm at RRDIDX@,4048,*
   LINE1:sw at RRDIDX@#@COLOR@:@RRDPARAM@:STACK
   GPRINT:sw at RRDIDX@:LAST:AVM  \: %5.1lf%s (cur)
   GPRINT:sw at RRDIDX@:MAX: \: %5.1lf%s (max)
   GPRINT:sw at RRDIDX@:MIN: \: %5.1lf%s (min)
   GPRINT:sw at RRDIDX@:AVERAGE: \: %5.1lf%s (avg)\n

[vmstat-free-list]
   TITLE Memory free list
   YAXIS pages kB
   -b 1000
   DEF:free=vmstat.rrd:mem_free:AVERAGE
   CDEF:fr=free,4048,*
   LINE2:fr#00CC00
   GPRINT:fr:LAST:Size of the free list \: %5.1lf%s (cur)
   GPRINT:fr:MAX: \: %5.1lf%s (max)
   GPRINT:fr:MIN: \: %5.1lf%s (min)
   GPRINT:fr:AVERAGE: \: %5.1lf%s (avg)\n

[vmstat-ec]
   TITLE Used Entitled CPU Capacity
   YAXIS ec %
   -b 1000
   DEF:ec2=vmstat.rrd:cpu_ec:AVERAGE
   CDEF:ec=ec2,10,/
   LINE2:ec#00CC00
   GPRINT:ec:LAST:ec \: %5.1lf%s%% (cur)
   GPRINT:ec:MAX: \: %5.1lf%s%% (max)
   GPRINT:ec:MIN: \: %5.1lf%s%% (min)
   GPRINT:ec:AVERAGE: \: %5.1lf%s%% (avg)\n

See also http://www.docum.org/foswiki/bin/view/Xymon/AixPower5 for CPU graphs.


Stef



More information about the Xymon mailing list