136 IBM Tivoli Storage Manager Version 5.3 Technical Workshop Presentation Guide
We now create a Windows command file to run this monitor. The command file is required
because the Windows scheduler does not allow command line parameters. Instead, we
include the command line parameters from the script using the following steps.
1. Collect a list of defined reports and monitors. To do this, change to the directory where the
console is installed.
2. From that directory, type the command:
tsmrept -type=list
The command line parameters for the monitor we want are the first ones listed as shown in
Figure A-15. The first one is the 15 minute monitor that we just created.
Figure A-15 Operational Reporting: tsmrept -type=list
3. Start notepad and create the command file. When completed, save it in normal ANSI
encoding.
Figure A-16 Operational Reporting: Defining a .cmd file
Now set up the Windows scheduler to run this command file. In this scenario, we set it to run
every 15 minutes as we define with our requirements.
1. Select Start →Settings →Control Panel to open the Windows Control Panel.
2. Click Scheduled Tasks to start the Wizard.
3. In the Scheduled Task Wizard window (Figure A-17), click Next to reach the first input
window.