Community discussions

 
MikRu
just joined
Topic Author
Posts: 16
Joined: Sat Mar 09, 2013 6:59 pm

NetWatch - get IP from host parametr

Mon Jul 15, 2019 4:04 pm

How to get IP from host parameter of netwatch rule, and use it in "UP|Down" section.

bad example:
/tool netwatch add host=8.8.8.8 up-script="log warning 8.8.8.8 is UP"

what i want:
/tool netwatch add host=8.8.8.8 up-script="log warning $host is UP"

Who is online

Users browsing this forum: No registered users and 13 guests