Community discussions

MikroTik App
 
tigos1
just joined
Topic Author
Posts: 2
Joined: Thu Feb 02, 2017 1:23 am

How to GET current netwatch host inside down-script

Sat Jun 25, 2022 4:02 pm

How to GET current netwatch host inside down-script.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: How to GET current netwatch host inside down-script  [SOLVED]

Sat Jun 25, 2022 5:43 pm

$host
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3279
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: How to GET current netwatch host inside down-script

Sat Jun 25, 2022 9:19 pm

See example where host and other variable are used to use same script for up/down logging here:
viewtopic.php?p=888800#p888800

Who is online

Users browsing this forum: JDF, miks and 25 guests