In the netwatch I am getting the correct uptime in my email. But I am not getting the downtime.
What I am doing wrong?
Kindly help to solve the issue.
This is my up script:
:global my
:log error "WAN link is up again"
/tool e-mail send to="xzt@gmail.com" subject="WAN STATUS" body=" WAN Link is up on $[/system clock get time]. Down from $my"
This is my down script:
:global my
:set my "$[/system clock get time]"
:log error "WAN link is down"