Shell scripting

Hi All,

I need a script for monitoring disk free space and error checking in aix, linux and solaris.
My condition are

  1. Above 90% utilized mount point list with mount point and percentage.
  2. If that utilization increased need to show some different font or color.
  3. I need a order of Particular server database , hostname, ipaddress and mountpoint with utilization.
  4. I need error report of (aix = errpt, linux = /var/log/messages, solaris = /var/adm/messages)
    while i am running this script if any new error generated in same date.
  5. I want to check above conditions in 60 servers(aix,linux,solaris) daily.
    So please make script for all OS without ssh password logins.
  6. If possible please give output in excel format.
    Thanks in Advance.

Thread moved to the more appropriate forum.
I highly doubt you'll any tangible traction with simply stating the high level objectives and not showing any effort of your own.

Actually i am new to script.
But rightnow i am doing every thing manually like

df -gt|awk '$5>=90' {print $5,$6}'

.

If i know why i am asking here.
So kindly help me.

If you have more than 50 systems to monitor, then install "Xymon" (earlier named "BigBrother" and "Hobbit").
It has a Web page with green/yellow/red self-clearing alerts, drill-down by mouse-click, and provides alert history and graphical history, availability reports, trend analysis.

Did you search these forums intensively? There's umpteen threads dealing with exactly what you are asking for.

Hi Rudic,

I searched but i didnt get exactly.
If you know please give that link.
Thanks,
smitsamy

In some file systems, it is good to check available inodes, too. Newer, fancier ones make them up dynamically.

e.g. The UNIX and Linux Forums - Search Results