Showing posts with label UNIX. Show all posts
Showing posts with label UNIX. Show all posts

Shell Script for Monitoring all Unix Servers running

How to automate Unix servers performance monitoring and send report ? How to achieve same if you have numerous fixed flavor of servers like Linux, SunOS, AIX etc with single script.

SO, here I'm going to share you the shell script whose job is to send email report of all servers ( Linux and Solaris ) running. This script will first do ping test first after succeed gather rest of details one by one. This shell monitoring script will calculate CPU utilization (CPU 5 min , 1- min , 15 min load, CPU usr , CPU sys and Total number of Processes running ) , Memory utilization ( Total RAM, used RAM, free RAM, Total Swap, used Swap , free Swap) and the disk utilization of each servers of which you only need to watch.  one great capability of this shell script is to customize disk utilization monitoring of only location/path you are interested.

The report email send will be in below format:

Report email
Report Email