Dear ALL,
I created the script to get some netwatch value and upload to my web site, but i found after the script executed, the file list will auto create the file, the file name is my URL link, anyone can help?
TungHo
Dear ALL,
I created the script to get some netwatch value and upload to my web site, but i found after the script executed, the file list will auto create the file, the file name is my URL link, anyone can help?
TungHo
From the vehicles repairer:
Why doesn’t my car start?
Where is the car to be checked?
I left it at home…
Sorry, is it normal behavior?
If will create many file, the storage will be out of order.
And what does it have to do with the topic or with the first question?
From the vehicles repairer> :
Why doesn’t my car start?
Where is the car to be checked?
I left it at home…
Below is the code under system ->script
:global GETlosspercent [/tool netwatch get value-name=loss-percent [find host =“10.255.1.1”]];
:log info $GETlosspercent;
/tool/fetch http-method=post mode=https http-header-field=“Content-Type: text/html; charset=utf-8” url=“https://XXX/Collect/logging.php?DeviceID=1&Message=IP%20SLA%20failover%20triggered,%20reason%20Packet%20Loss%20rate%20$GETlosspercent%”
@ rextended any idea?
Thanks
is thre any infomration missing?
Anyone can help?
The manual is here: https://help.mikrotik.com/docs/display/ROS/Fetch
Try to read it.