cancel
Showing results for 
Search instead for 
Did you mean: 

SM69 output to mail

v_veeramalla
Active Participant
0 Kudos

HI Team

We have requirement to send a mail for sm69 command resultai

ex: df -g , result should sent to mail daily.

Please help me to fullfull the requirement.

Regards

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

If you want to do it from unix try something like so.....

Add this to the users cron table and it will email a "df -g" everyday at midnight to your-email-address with the subject line containg the host' name and the df output in the message. It will come for the user whose cron you add it to


# Daily run
00 1 * * *  df -g | mailx -s "DF in GB from `hostname`" your-email-address

Former Member
0 Kudos

I think you are looking for a filesystem full alerts, why can't configure in CCMS (RZ20) and configure method auto reaction for the MTE.

Former Member
0 Kudos

This may be a silly proposal, but let me try:

df -g obviously is a Unix command. and you want to receive the result by mail.

May I ask why you are going a long way round, using SAP and SM69?

I would simply call the command from a Unix cron job and send the mail by Unix mailx command.

regards