Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Email Notification with Red Hat

Status
Not open for further replies.

Rambeaux007

IS-IT--Management
May 4, 2005
23
US
Hello,
I am a Windows guy so this may be an easy question for you Linux techs. I am running NetWorker 7.1.3 on a Red Hat server. Under I have a few Notifications that I would like the Action to be an email to me. So far all I can come up with is:
echo "Testing" | mail nobody@nobody.com -s "This is a test"

The above seems to work from the terminal, but I am not so sure it will work within NetWorker.

I have tried:
/bin/mail -s "Cleaning Cartridge Expired" -h mail.nobody.com nobody@nobody.com

Is this the correct way to do this or is there a better way? Thanks!!
 
My boss actually figured it out:

/bin/mail -s "Cleaning Cartridge Required" nobody@nobody.com

This is because NetWorker is supposed to insert the Message Text. Thanks!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top