[hobbit] Henrik -- some notes on AIX and the 4.3 do_vmstat.c

Stef Coene stef.coene at docum.org
Wed Oct 10 18:42:28 CEST 2007


On Wednesday 10 October 2007, Kauffman, Tom wrote:
> We're starting to move to the new IBM P6 environment, so I started
> looking at backing the 4.3 do_vmstat.c into 4.2.
>
> This pretty well showed I'm not a C programmer.
>
> However -- I added the two additional fields, cpu_ec and cpu_pc to the
> AIX structure in the 4.2 do_vmstat.c, recompiled, and the result works
> with the new P6 box. It will also work with new P5 or earlier systems,
> as the two extra values will just stay at <NAN> in the RRD. For existing
> older systems, I used 'rrdaddsource' from the RRD web site to add the
> cpu_pc and cpu_ec datasets to my existing RRD and everything is working
> just fine.
Take a look at
http://www.docum.org/twiki/bin/view/Hobbit/AixPower5
and
http://www.docum.org/twiki/bin/view/Hobbit/AixTips
if you are running hobbit client on aix.


Stef



More information about the Xymon mailing list