I would like to set up a ping monitor for a device on my network. The ping should be every half hour or so. If the ping fails, the script would send me an email. Are there any examples of this?
Thanks.
/tool netwatch add interval=30m timeout=5s host=192.168.0.100 down-script="/tool e-mail send to=\"me@mymailbox.com\" subject=\"Host down!\" body=\"The host 192.168.0.100 is down!\""