Monitoring scripts for Teradata system

Database
Enthusiast

Monitoring scripts for Teradata system

Can some one share monitoring scripts for Teradata system running on Linux?

I am looking for a script to login in to the system at specified regular intervals and alert the DBA if any of the following conditions exist:

1) System is down due to some reason
2) HUT locks in the system due to some failure
3) Deadlocks
4) Queries running more than a certain threshold of time

etc.

Appreciate your help.

Thanks,

M