Community discussions

MikroTik App
 
ripemango
just joined
Topic Author
Posts: 4
Joined: Sun Aug 09, 2020 10:23 am

Netwatch Email not showing downtime.

Sun Aug 09, 2020 10:32 am

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"
 
creatin
Member Candidate
Member Candidate
Posts: 108
Joined: Sat Nov 23, 2019 2:59 am

Re: Netwatch Email not showing downtime.

Fri Aug 14, 2020 3:21 am

If you meant that email for Downtime has not been sent, it is because you are missing line for sending email in downtime script
 
ripemango
just joined
Topic Author
Posts: 4
Joined: Sun Aug 09, 2020 10:23 am

Re: Netwatch Email not showing downtime.

Tue Aug 18, 2020 7:47 pm

If you meant that email for Downtime has not been sent, it is because you are missing line for sending email in downtime script
No i mean the Downtime is not showing in the up mail. You can see that I used a variable to save the downtime. And that variable is not giving the value.

Who is online

Users browsing this forum: gargiuseppe and 14 guests