Search 97,742 posts and 786 resources contributed by 57,092 members or post a topic.

Already Joined? Sign in
How to monitor AIX processes

Page 1 of 1 (3 items) | RSS

rated by 0 users
Not Answered This post has 0 verified answers | 2 Replies | 2 Followers | 7,485 Views


4 Posts
Points 10
cblackman replied on Tue, Jul 1 2008 5:32 PM
rated by 0 users
** don't do this on production machines until you are very used to it **

 

I've been fighting how to get process monitoring on AIX for about a month now.  First off, if you are using

the native SNMP agent that comes with the OS, it's likely you won't get it to function until future OS releases. 

They don't support the RFC 2790 Host-Resources-MIB that you need and unless you are a complete genius

with Unix and SNMP, don't waste time trying to get that avenue working.  Use Net-SNMP from

http://net-snmp.org.  Net-SNMP is native to most modern version of Linux now, and it works without

configuration, practically.  Expect to bang your head a bit, but you can get it working on AIX, too. 

Here's how:

 

First off, some resources I'd rather not blatantly plagiarize:

 http://andrea.brancatelli.it/blog/2007/05/29/net-snmp-on-aix/

and

http://zaco.tistory.com/50

 

These two sites have gotten me pretty much 75% of the way through the process of getting NET-SNMP

properly installed on AIX.  It's really not a difficult job (once you do it right once).

 Download the files from Net-SNMP to your AIX server and when you get to the ./configure, STOP. 

Use this command instead:

  ./configure --enable-as-needed --without-kmem-usage --with-mib-modules=host

 
This one trick will save you a lot of time getting the compile to give you exactly what you want.  
I would recommend using v2c and public as a community string until you have snmpwalk working, 
then change for security.  If you have problems the following two commands are very valuable tools:
 
/usr/local/sbin/snmpd -f -L



and
 
snmp -v 2c -c public -m ALL localhost .1.3 | more 


Once you think you have it installed properly, use the following command to verify:
 
snmpwalk -v 2c -c public -m ALL localhost .1.3 | more  
 
When you see about 80 pages of HOST-RESOURCE-MIB data, you have done it!  Now change your 
community string for security or move to SNMPv3 (my next project)
  
Note:  This will not give you a display of processes like Application Monitor used to.  You have to know 
what processes you want to monitor with Application Performance Monitor.  Just put your snmpwalk to 
a lis file and use the info from there.  Once I got it working once, it was a piece of cake. 
 
Craig Blackman
Intec Managed Services
Systems Administrator 
  • Filed under: ,
  • | Post Points: 10

All Replies


29 Posts
Points 69
ramirezh replied on Thu, Jul 31 2008 1:18 PM
rated by 0 users

 Thanks A LOT!!  I have googled this to death and never managed to find such good articles as the one you found (the italian one).  My AIX monitoring is up!

 


29 Posts
Points 69
ramirezh replied on Thu, Feb 12 2009 2:00 PM
rated by 0 users

Were you able to get the correct CPU and memory utilization stats?

  • | Post Points: 1
Page 1 of 1 (3 items) | RSS

© 2003 - 2010 SolarWinds, Inc. All Rights Reserved.

Who is SolarWinds?

SolarWinds is rewriting the rules for how companies manage their networks. Guided by a global community of network engineers, SolarWinds develops simple and powerful network management software and network monitoring software for networks of all sizes. SolarWinds also offers a network certification program to become a SolarWinds Certified Professional (SCP).

What is thwack?

thwack, SolarWinds online community site, was designed by network engineers, for network engineers. thwack is a vibrant, growing community of more than 30,000 IT pros who share a passion for technology.

Explore Resources, Answers, Templates, and Advice

Download Free Networking Tools


Learn More About SolarWinds Products