Hello!
I need to write a script which informs me by email about the inaccessibility of an every IP-address from the Netwatch list if more than a one day.
I started writing a script, but I do not know how get the parameter "SINCE"
For example;
:local monlist [ /tool netwatch print where status="down" since!="" ]
:foreach i in=$monlist do={
:put (get $i "SINCE");
}
The result
# HOST TIMEOUT INTERVAL STATUS SINCE
0 192.168.132.20 1s 1m down oct/05/2017 02:36:28
How can i get a date "SINCE" ?