AIX Health Check


 
Thread Tools Search this Thread
Operating Systems AIX AIX Health Check
# 8  
Old 06-29-2015
Quote:
Originally Posted by Adnans2k
Thank you so much for your support I appreciate it.

But just because I'm new, can anyone recommend any preferred sites or youtube channels where i can learn scripting to get these automated.
Here is my favourite book about Korn Shell scripting: "The Korn Shell Programming Tutorial" by Barry J. Rosenberg. It will teach you everything you need to know from the beginning up to a medium advanced level of scripting.

But, again: what you need is not a tool, what you really need is to clarify WHAT you want to monitor. Before you find out WHAT to do every discussion about HOW to do it is moot. I for my part will be glad to help you with this and i am sure the experts here will too, but until after there is a clear picture what you want to do i won't suggest any tools. There might be good or bad tools for your purpose but before we have to establish what this purpose is.

Furthermore: you have heard "topas" and "nmon" and some other tools here a lot. These are very good if you want to get a quick and thorough overview of a system. Often this view is already plotted in graphs without having to bother with plotting tools.

I prefer to use system tools instead ("vmstat", "iostat", "ps", ...) because these offer a lot more flexibility first and because they do not aggregate data second. Aggregation of data is good to get overviews, but when you have to analyse a problem you might need the underlying data to get meaningful results. In such a case it is good to have the source, not some arbitrary summation thereof.

I hope this helps.

bakunin
# 9  
Old 07-07-2015
Again, as Bakunin has clearly stated - it is about what you need to accomplish - and then learn the tools that will help you there.

A little known tool - that has been with AIX since roughly 2009 (AIX 6.1 TL4) is called AIX Runtime Expert.

Note: if you google AIX Runtime Expert you will also see many references to IBM System Director->Profile Manager. That "was" the gui that was developed to help work with this "engine".

In 50 words or less - AIX Runtime Expert (artex.base.rte and artex.base.samples) is a script/XML engine that can collect and compare AIX system configurations (aka profiles).

The key commands are: artexget and artexdiff (to get and compare results). There are other commands to list, merge profiles as well as to apply a profile to the local or a remote system.

Basic documentation is easily available in the AIX 7.1 differences guide (enhancements in AIX 6.1 TL6 and AIX 7.1 TL0 in 2010) at: https://books.google.nl/books?id=m6X...expert&f=false

Or the more classic information at: IBM Knowledge Center AIX Runtime Expert
This User Gave Thanks to MichaelFelt For This Post:
# 10  
Old 07-07-2015
Hey! Great to see you back, Michael!

Quote:
Originally Posted by MichaelFelt
A little known tool - that has been with AIX since roughly 2009 (AIX 6.1 TL4) is called AIX Runtime Expert.
True. In fact, out of disdain for that Systems Director IBM chose to pester everybody with for the last years i never looked into it until you mentioned it. From a first glance it looks like a possible valuable addition to my toolbox. Good catch!

bakunin
# 11  
Old 07-13-2015
Quote:
Originally Posted by Adnans2k
Thank you so much for your support I appreciate it.

But just because I'm new, can anyone recommend any preferred sites or youtube channels where i can learn scripting to get these automated.

Youtube does have a few videos on scripting if you just search for "bash scripting" or "shell scripting" and you can find some 101 online classes. There is nothing that I've seen focused on system monitoring (I didn't see specified what you need to monitor so I assume system)

something I keep on me is a book called "pro bash scripting" just in case I get stuck and need a quick reference. (this book often goes missing because other people like it as well)

One thing to note, since your learning scripting, I personally wouldn't start with monitoring "performance"
- Reason: shell scripting can be a bit tricky at first, a small mistake and you can run into a loop, where the system resources are being consumed due to a bad code in the script. (maybe not the best example there but once you start making mistakes, you'll see what I mean)

I would suggest with using the commands manually and understanding what each one does first. iostat and vmstat are my preference as bakunin mentioned.

If they are just asking you for report summary's on the servers usage, lpar2rrd as mentioned, is a great way to give them just that.
- Check out their site. bit tricky at times to setup, but once you finish management teams love it. plus they can check it whenever they want without asking you for a report.

I also do run nmon reports as well since it is more detailed (no one other than myself reviews these).

One of my personal fav. I view once every 6 months (if I can) is "HMCViewer"


for learning AIX, there is a sticky on the AIX page:

AIX Links



Before monitoring "performance" understanding the system and how it works is the biggest key. without this its more like building a house from the roof down.

IBM red books are free and very useful.

Hope this helps.
# 12  
Old 07-13-2015
If it is movies you want I recommend Nigel's collection of movies - at - https://www.youtube.com/user/nigelargriffiths
# 13  
Old 07-15-2015
Smilie

Thanks for all the help everyone.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Health check report

Hi Team, I am writing a small script in that I want collect all servers of /opt and /stage. Below is my small script #!/bin/ksh #checking Media server opt_Disk_Space_logs myclient=`cat media_server.txt` > opt_logs.txt printf " Server Name\tsize\tused\tavail\tcapacity\tMounted... (12 Replies)
Discussion started by: bashi77
12 Replies

2. Shell Programming and Scripting

Script to check the health of a database

need a script to check the health of a session server database. It must read the data base and send an alert if the database is unavailable. If its unavailable, we will want to bring down the database listener to force failover. can u guyz help me in doing this. what information do i need... (1 Reply)
Discussion started by: remo999
1 Replies

3. Shell Programming and Scripting

Daily health check script

Hi I am still learning how to write shell scripts, so I started to write a script like this: #!/bin/sh date echo outputOK () { echo $1 "" } outputOK () { echo $1 "" } for vol in `/usr/bin/grep -E 'hfs|vxfs|nfs|cifs' /etc/fstab | egrep -v '^#' | awk '{ print $3 }'` do if... (7 Replies)
Discussion started by: fretagi
7 Replies

4. HP-UX

HP-UX Health Check

Hi Experts, I want to check health of hp-ux box. Basically I want to check if there are possibilities of network/memory/cpu bottleneck? Are there are any commands available other than glance in hp-ux for the same? (11 Replies)
Discussion started by: sai_2507
11 Replies

5. Shell Programming and Scripting

Health check script

There are 3 servers . I want to fire commands df -kh and mpstat -P ALL on those individual servers and retrieve particular values to genrate reports. This part is almost done. But i am facing issue when i need to compile the reports from all three servers on to one server in order to generate a... (1 Reply)
Discussion started by: pratikm23
1 Replies

6. AIX

AIX Health Check script

Hi Everyone, Can you please help me put together a aix health check script that will check the status of CPU,Memory,Adapter, Filesystems (threshold 80%) and Disks.Im thinking of deploying a script to gather the required data in all the 22 servers and probably send out a mail if anything needs... (3 Replies)
Discussion started by: R!C
3 Replies

7. Shell Programming and Scripting

Health check script

Hi, I have a server type(A group of AIX,HP-UX and Linux servers running with different appn) in which i need to do health check(memory,cpu,h/w etc). I am planning to automate the same. Please help me out in writing the same. Thanks Renjesh Raju (9 Replies)
Discussion started by: Renjesh
9 Replies

8. Solaris

sun server health check

do anybody has a procedure for daily weekley monthly health check for SUN server with solaris OS?? (5 Replies)
Discussion started by: mm00123
5 Replies

9. AIX

AIX Health Check

Hi All, I would like to know if there is a downloadable AIX health check script available from IBM that would print a report of a servers health status. I've been working on a number of Sun Solaris servers and Sun provide a sun checkup script which can give you an ORI figure as well as a list... (3 Replies)
Discussion started by: backslash
3 Replies

10. HP-UX

check health

Dear Gentelmen I need command for display to me the following statement: -battery state -The application if working or not -The cpu is working or not -The power supply is working or not -The Data base is workig or not (2 Replies)
Discussion started by: magasem
2 Replies
Login or Register to Ask a Question