AIX Health Check script


 
Thread Tools Search this Thread
Operating Systems AIX AIX Health Check script
# 1  
Old 12-22-2010
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 urgent attention and send the complete data to a centralized location where all the data can be stored. Appreciate if someone can give me better ideas.

Thanks in advance!
# 2  
Old 12-22-2010
Don't forget inodes on simple UFS file systems. Memory does not run out, but swap does. This is really a lot of questions, unless someone wants to share one they wrote. You might get more response one at a time. Lets see, 'df' can tell about % available with the right options, and inodes available, too, and also checks NFS and local mounts. CPU checks for offline are very proprietary and model variant. Checking CPU Idle is easier, with 'vmstat' or the like.
# 3  
Old 12-23-2010
Quote:
Originally Posted by DGPickett
Don't forget inodes on simple UFS file systems.
with JFS2 on AIX you don't need to worry about monitoring inodes - they are dynamic.


SNMP would work great for this type of monitoring.
# 4  
Old 12-24-2010
Quote:
Originally Posted by frank_rizzo
with JFS2 on AIX you don't need to worry about monitoring inodes - they are dynamic.


SNMP would work great for this type of monitoring.
That would be my word "simple", as in "simple UFS file systems". Maybe AIX has none. I didn't see any last time I looked, as a JFS is pretty nice, but sometimes there are available or added for raw speed or whatever, and it is a good general UFS caveat in case someone mines these posts for other systems.

---------- Post updated at 09:44 AM ---------- Previous update was at 09:41 AM ----------

Some sort of thrashing monitor would also be nice, but thrashing systems tend to not run the monitor well, so you also need off-system monitors to tell you the box is seizing up. Onset can be sudden. Putting the reports off-host is good for the same reason.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

AIX Health Check

Hi everyone, I am new to the Unix admin position, needed some help. My management wants to report how their over all AIX servers / environment is doing so far. I've been researching and found multiple commands to run on each LPAR, well I have few questions and also wanted to share the commands Im... (12 Replies)
Discussion started by: Adnans2k
12 Replies

2. 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

3. 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

4. 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

5. 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

6. 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

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. 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

9. Shell Programming and Scripting

need help to write script to check the process health and automatically restart it

I am working on a project, which need to constantly watch the process, and check its status, if it was dead, it should be restart automatically. Please kindly refer me to URL which teach how to write this kind of script, or service. Thanks. (1 Reply)
Discussion started by: dragondad
1 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