Thursday, January 09, 2014 7:10:46 AM
dag1
DB | DAG1S01 | DAG1S02 | DAG1S03 | DAG1S04 | DAG1S05 | DAG1S06 | DB Copies | Mbx Count |
---|---|---|---|---|---|---|---|---|
3 | 80 | |||||||
3 | 250 |
This script takes 2 variables:
- DAGNames - name(s) of the DAGs you want the report on.
- FilePath - File path for where to save the HTML report. If left blank, it will put the report in the local drive.
If you put in multiple DAGs, it will generate an additional report that includes all DAGs that you specified. I have a schedule task that runs the script against all DAGs here, then emails the HTML file to me for review each morning. This report is a great way to see if a server went down and the DBs rolled to another server (red = not mounted on activation preference 1), and see if anything is dismounted or in failing state.