Results 1 to 3 of 3
  1. #1
    Newcomer
    Join Date
    Nov 2011
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Generating a client action to send an email in unix

    Hi,

    I'm a newbie to TSM. Can someone help me in generating a client action to email the DR report at a certain point in my server maintenance script? Currently this shell script is executed by a cronjob. I want to in-corporate it in tsm admin script.

    Can you tell me the best way to do this.

    Thanks,
    Nans.

  2. #2
    Moderator chad_small's Avatar
    Join Date
    Dec 2002
    Location
    Gilbert, AZ
    Posts
    2,194
    Thanks
    1
    Thanked 25 Times in 24 Posts

    Default

    The best way to do this is to have the admin script run an update of a client schedule or define a clientact that runs a shell command to create the report and e-mail to the appropriate people.

    for example you could add the following line

    DEF CLIENTACT PRDTSM1 DO=* ACT=COMMAND OBJECT="/usr/local/scripts/tsm-daily-rpt.ksh"
    Chad Small
    IBM Certified Deployment Professional
    chadsmal@gmail.com
    http://www.tsmadmin.com

  3. The Following User Says Thank You to chad_small For This Useful Post:

    Nans (11-04-2011)

  4. #3
    Newcomer
    Join Date
    Nov 2011
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks Chad for that solution. I have defined this client action in our maintenance script just after the prepare command. Guess, we have to give "wait=yes" for prepare so that once it completes and places the DR report in the folder, we can execute the script to attach and send the report. Let me know if I am wrong.

Similar Threads

  1. Service Processor send email
    By cwb in forum AIX
    Replies: 1
    Last Post: 03-31-2009, 12:31 PM
  2. Alerts to mount volume through net send or email
    By ebasso in forum TSM Server
    Replies: 2
    Last Post: 09-13-2007, 11:17 AM
  3. TSM on AIX(How to send automated email)??
    By adamlk in forum TSM Server
    Replies: 8
    Last Post: 04-06-2007, 10:30 AM
  4. Error trying to send a test email for Op Reporting
    By robjohnston in forum TSM Reporting & Monitoring
    Replies: 0
    Last Post: 08-11-2005, 10:25 PM
  5. Email Send Method
    By rischard in forum TSM Reporting & Monitoring
    Replies: 1
    Last Post: 01-17-2005, 10:54 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •