Link to home
Start Free TrialLog in
Avatar of Enachioken
EnachiokenFlag for United States of America

asked on

Script to monitor tablespace and filesytem growth and alert DBAs of pending "Filesystem Full" scenarios. Any such script to share?

Hello all,

I have a need to deploy a DB2 tablespace, diagnostic log files and especially the filesystem monitoring for potential "Log full", and/or  "Filesystem Full" situation. I am hoping to "borrow and modify for my own use" a very decent Linux/AIX script from one of our esteemed DBAs any such script that they use in their production environment for monitoring these objects. The script should monitor the current used space for tablespace, db2diag log files, filesystem size and alert DBAs when a threshold is reached (85%) of total space as Yellow and (90%) of space used as RED.

I will be very grateful for any assistance with in finding the kind of script that I am looking for.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Dan Craciun
Dan Craciun
Flag of Romania image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Enachioken

ASKER

I am really looking written shell script(s) for this. I do not want any third-party tool/plug-in type of tools.
OK.
But if you don't have a monitoring infrastructure in place (Nagios/Icinga, PRTG, Zabbix, Spiceworks, etc, etc), you should consider it.
I am still hoping for some assistance on using scripts/cron to solve this issue. Can I find a hero on this site?

With humility, I thank everyone.

E.
Thank you guys...