Xymon Mailing List Archive search

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

list Tom Kauffman
Wed, 10 Oct 2007 15:01:02 -0400
Message-Id: <user-dc3085551094@xymon.invalid>

The AixPower5 is where I ended up, except that I'm not stripping the
decimal point in do_vmstat.c. The vmstat_ec values look correct, but the
rrd dump shows a value of zero for vmstat_pc instead of the expected
1.00000000e-02. 

Time to play around a bit more; I'll add the decimal strip code and see
what I get as a result.

Thanks for the pointer to the AIX tips -- I've got an Oracle DBA that
will enjoy the memory graphs. I obviously need to spend more time
looking around :-)

Tom

-----Original Message-----
From: Stef Coene [mailto:user-dbffe946c0f4@xymon.invalid] 
Sent: Wednesday, October 10, 2007 12:42 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Henrik -- some notes on AIX and the 4.3
do_vmstat.c

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


CONFIDENTIALITY NOTICE:  This email and any attachments are for the 
exclusive and confidential use of the intended recipient.  If you are not
the intended recipient, please do not read, distribute or take action in 
reliance upon this message. If you have received this in error, please 
notify us immediately by return email and promptly delete this message 
and its attachments from your computer system. We do not waive  
attorney-client or work product privilege by the transmission of this
message.