Added the Iperf3 server IP that was used to both log and discord output.
This commit is contained in:
parent
e84643e096
commit
21fbd575c3
@ -64,7 +64,7 @@ if [ "$log" -eq 1 ]; then
|
||||
echo "Log Variable is set to 1. Writing to log."
|
||||
|
||||
# Append the result to the log file
|
||||
echo "$(date +"%Y-%m-%d %H:%M:%S"),$ORG,$IP,$DOWNLOAD_Mbps Mbps,$UPLOAD_Mbps Mbps" >> "$LOG_FILE"
|
||||
echo "$(date +"%Y-%m-%d %H:%M:%S"),$IPERF3_SERVER_IP,$ORG,$IP,$DOWNLOAD_Mbps Mbps,$UPLOAD_Mbps Mbps" >> "$LOG_FILE"
|
||||
|
||||
# Check if the variable is set to 0
|
||||
elif [ "$log" -eq 0 ]; then
|
||||
@ -91,6 +91,10 @@ if [ "$discord" -eq 1 ]; then
|
||||
"name": "Time:",
|
||||
"value": "$(date +'%Y-%m-%d %H:%M:%S')"
|
||||
},
|
||||
{
|
||||
"name": "Iperf3 Server Used:",
|
||||
"value": "$IPERF3_SERVER_IP"
|
||||
},
|
||||
{
|
||||
"name": "ISP:",
|
||||
"value": "$ORG"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user