I am looking into having the @$ORACLE_HOME/rdbms/admin/awrrpt.sql
run automatically.

I have a few questions:

1) this report asks for input is there a way I can pass that into the report automatically

2) It asks for begin and ending snapid is there a way to get those values
or does this need to be parsed when you enter the number of days

3) Lastly, is there a shell script that I can use that can parse this output
that allows me to easily identify problems.

Thanks to all who answer.