This post is more than 5 years old
10 Posts
0
513
July 26th, 2013 09:00
How email the daemon.raw file
Hi, is there a way to configure the rendered daemon.raw file to send to email via smtpmail on Networker?
No Events found!
This post is more than 5 years old
10 Posts
0
513
July 26th, 2013 09:00
Hi, is there a way to configure the rendered daemon.raw file to send to email via smtpmail on Networker?
Top
TimQuan
6 Operator
•
1.2K Posts
0
July 28th, 2013 19:00
For example, first render daemon.raw file to /log/daemon.log by using nsr_render_log command.
Then run
smtpmail -h -s " " -a
For example: smtpmail -h exchange.abc.com -s "Savegroup Completion Failed" nsr_admin@abc.com -a /log/daemon.log
If you want to let the system send daemon.log on a daily base, you can create a script and combine nsr_render_log and smtpmail commands in the script.