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

Kauffman, Tom KauffmanT at nibco.com
Wed Oct 10 21:01:02 CEST 2007


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:stef.coene at docum.org] 
Sent: Wednesday, October 10, 2007 12:42 PM
To: hobbit at hswn.dk
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

To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk


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.




More information about the Xymon mailing list