TSM Report

TSM Report 1.0

Tivoli Storage Manager Reporting script

Copyleft 2006 Andres Altamirano
mailto: patux [at] patux.cl
20060120

This is a simple tool for displaying a human readable report of backup tasks.
I'm still doing changes to improve it.

It does the work that you have to do in your mind thinking how long was certain task to another.

Tested on TSM 5.2

Screenshots


You could change anything you want, so don't forget to tell me!

Pre-requisites.
---------------

Linux box (may some other unix) with the following:

1-. Bash and awk.
2-. Tivoli Storage Manager client configured and running (dsmc and dsmadmc binaries).
3-. Typical Apache + php install. The script must work in any apache+php config. It uses a litle set of instructions to generate the selection menu.
4-. Unix account that can use dsmadmc and can write in $BASEDIR.
5-. TSM account that can connect to servers you want report.

Install.
-------

1-. Unpack the script:

tar -zxvf tsm_report-1.0.tar.gz
tsm_report-1.0/
tsm_report-1.0/images/
tsm_report-1.0/images/blue.png
tsm_report-1.0/images/escala_10_min.png
tsm_report-1.0/images/escala_10_min_2.png
tsm_report-1.0/images/escala_60_min.png
tsm_report-1.0/images/white.gif
tsm_report-1.0/images/escala_60_min_2.png
tsm_report-1.0/index.php
tsm_report-1.0/dsmerror.log
tsm_report-1.0/tsm_report.sh
tsm_report-1.0/readme.txt
tsm_report-1.0/style.css

2-. Move the source dir to your web site.
example:

mv tsm_report ~/public_html/tsm

3-. Edit config in head of index.php and tsm_report.sh

4-. Modify the policy domain list in index.php:

5-. Add a cronjob to your crontab. One by Policy Domain. Example:

# Reporte TSM 08-10-12-14-16-18-20-22-23
55 23,08,09,10,13,15,17,19,21 * * * /home/aaltamir/public_html/tsm/tsm_report.sh UNIX
55 23,08,09,10,13,15,17,19,21 * * * /home/aaltamir/public_html/tsm/tsm_report.sh MICROSOFT

Be care with the path name (BASEDIR)
This will generate the html files that you can see through the web interface.

Download tsm_report-1.0.tar.gz

Please, let me know if you made some changes.
patux [at] patux.cl

SourceForge.net Logo

About the Author