mi-court-buadmin
ADSM.ORG Member
I need to generate an e-mail when my administrative script is complete (specifically, when reclaim is done and the DB backup is complete meaning it's time to take tapes out of library). I've read in this forum that this can be done with Hourly Monitors in Operational Reporting, as long as a rule can be written that detects the proper copnditions.
Here is where I need help: Can someone post a Select statement that would either detect that there are one or more volumes in the library of type DBBackup, or that there are no Reclaim operations running? I could use a COUNT of greater than zero on the dbbackup volume type or a COUNT of greater than 0 for running reaclaim processes to trigger the monitor alert.
With that in hand I think it's a simple matter of using that as an alert rule in an Hourly Monitor. Otherwise it appears impossible to get TSM to send an e-mail as part of the daily admin script. It would be easy if TSM were capable of launching an external batch or executable from within a script, or capable of outputting the results of a command line to a file from within a script. But, alas, neither seems to be possible. If versions later than 5.4 are natively capable of such a thing I would consider upgrading.
TSM 5.4.2 Extended on Windows Server 2003R2, IBM TS3310 library (and no money to spend on add-ons or 3rd party apps).
Thanks in advance.
Here is where I need help: Can someone post a Select statement that would either detect that there are one or more volumes in the library of type DBBackup, or that there are no Reclaim operations running? I could use a COUNT of greater than zero on the dbbackup volume type or a COUNT of greater than 0 for running reaclaim processes to trigger the monitor alert.
With that in hand I think it's a simple matter of using that as an alert rule in an Hourly Monitor. Otherwise it appears impossible to get TSM to send an e-mail as part of the daily admin script. It would be easy if TSM were capable of launching an external batch or executable from within a script, or capable of outputting the results of a command line to a file from within a script. But, alas, neither seems to be possible. If versions later than 5.4 are natively capable of such a thing I would consider upgrading.
TSM 5.4.2 Extended on Windows Server 2003R2, IBM TS3310 library (and no money to spend on add-ons or 3rd party apps).
Thanks in advance.