配置文件内容:
input {
stdin {
}
}
output {
email {
port => "25"
address => "smtp.qq.com"
username => "1820034099@qq.com"
password => "*********"
authentication => "plain"
use_tls => false
from => "1820034099@qq.com"
subject => "Warning: you have an error!"
to => "907370586@qq.com"
via => "smtp"
body => "you hava an error!"
}
}见附件
本文出自 “清晰明了” 博客,请务必保留此出处http://duanyexuanmu.blog.51cto.com/1010786/1761328
原文:http://duanyexuanmu.blog.51cto.com/1010786/1761328