Router OS Network monitor via GMail alert
[i=s] 本帖最後由 mrandrewchan 於 2013-10-26 11:48 編輯 [/i]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 [email]ID@gmail.com[/email]
/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 [email]address@xxx.com[/email] 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 [email]address@xxxl.com[/email]" from="gmail account [email]ID@gmail.com[/email]" 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.
頁:
[1]