berikut ini adalah script untk melakukan testing pada wms
/tool netwatch
add down-script="{\r\
\nlog error (\"WMS is down --- trying to reconnect ......\")\r\
\n:local ip [/ip address get [/ip address find interface=\"namaINTERFACE\"] address];\r\
\n:local ip [put [:pick \$ip 0 [:find \$ip \"/\"]]]\r\
\n/tool fetch http-method=post http-data=\"username=USERNAMEWMS@freeMS&password=PASSWORDWMS\" url=(\"https://welcome2.wifi.id/wms/auth/authnew/autol\
ogin/quarantine.php\\\?ipc=\$ip&gw_id=GWIDurl&client_mac=MACADDRESSinterface&wlan=WLANurl:UN%20CHECK\") keep-result=no\r\
\nlog warning (\"WMS is UP\")\r\
\n}" host=8.8.8.8 interval=10s
Mantapz
ReplyDeleteGan settingmya gmn dr awal buat.konek ke wms
ReplyDeleteThis comment has been removed by the author.
ReplyDeletemas minta email nya dong mau nanya2 masalah script wms ini.
ReplyDeleteor email saya di
creepy.sogue@gmail.com
thanks