作者:admin人气:0来源:网吧系统下载站2016-12-07 10:00:18
ROS 6.X 流量过高发送邮件
do {
:local arx
:local btx interface monitor-traffic pppoe-out1 once do={
:set arx $"rx-bits-per-second"
:set btx $"tx-bits-per-second"
}
:local rxud ($arx /1000000)
:if ($rxud>50) do={
:local smtp "smtp.qq.cn"
:local smtps [:resolve $smtp]
:local ports "25"
:local Mailings "e-mail@qq.cn"
:local pass "123456"
:local Collection "1432868020@qq.com"
:local Themes "警告!AD100M当前下载流量超过50M/s"
/tool e-mail set address=$smtps port=$ports from=$Mailings user=$Mailings password=$pass
/tool e-mail send to=$Collection from=$Mailings subject=$Themes body=("达到预设流量阀值 50Mbit/s
当前下载流量 $rxud Mbit/s"):log warning "下载流量超过设置阀值70Mbit/s 当前下载速率$rxud Mbit/s"
}
}
继续阅读:ROS
2016-12-21显微镜模拟软件(microscope) v2.5.0.23 绿色版
2016-12-20Microsoft Edge即将开始默认禁用Adobe Flash Player
2016-12-07ROS远程维护管理器2.63
2016-11-04DDNS动态域名脚本(花生壳+3322公云)for ROS 6.x
2016-10-10Rhinoceros 3D(犀牛软件) v5.13 SR13 破解版
2016-09-28RouterOS 内网受攻击QQ邮箱提醒的实现方法