標題:
Router OS Network monitor via GMail alert
[打印本頁]
作者:
mrandrewchan
時間:
2013-10-26 08:25
標題:
Router OS Network monitor via GMail alert
本帖最後由 mrandrewchan 於 2013-10-26 11:48 編輯
1. Gmail account setting:
Check the existing setting command
/tool e-mail print
Add or change setting :
/tool e-mail address=74.125.12.108
/tool e-mail set starttls=yes
/tool e-mail from=your gmail login
ID@gmail.com
/tool e-mail user=your gmail login ID
/tool e-mail password= gmail login password
Testing send mail from Routeros command
/tool e-mail send to= rec'd mail
address@xxx.com
subject=("[Warning!] ".[/system clock get time]." Message") body=Warning! Message Testing
2. In Winbox
Tool > Netwatch > + > Input Host IP , Interval & Timeout > Down
Example message
/tool e-mail send to="rec'd mail
address@xxxl.com
" from="gmail account
ID@gmail.com
" subject=("[Warning!] " . [/system clock get time] . " Your xxx device was down") body="Please check it A.S.A.P"
Press "OK" icon finished
Testing unplug the monitor device network cable will rec'd mail message.
Thanks.
歡迎光臨 電訊茶室 (http://telecom-cafe.com/forum/)
Powered by Discuz! 7.2