Ping

執行 Ping 命令,以驗證 IP 層級連線。

相依性

  • 在 ping 陳述式的回覆只是目標電腦正在使用中,則無需保證其提供了您期望的服務。 例如,FTP 伺服器可回應 Ping 命令,但是如果 FTP 服務停用,則您將無法透過 FTP 命令連接。
  • 如果配置為篩選 Ping (ICMP) 流量,正常工作的裝置可能不會回覆 ping 請求。

支援的指令碼類型

The icon for a Generic script type - a rectangle with < and > symbols inside it.

The icon for the Email script type - a large @ symbol in a diamond.

The icon for the Chat script type - a chat bubble with an ellipsis inside (...), in a diamond shape.

The icon for the Phone script type - an old-style phone handset with curved lines indicating sound coming out of it.

The icon for the Voicemail script type - a symbol that looks like a cassette tape - two circles sitting on a horizontal line.

The icon for the Work Item script type-a piece of paper with one corner folded down and a bullet list on it.

The icon for the SMS script type - a smart phone with a chat bubble coming out of it.

The icon for the Digital script type - a computer monitor with a smartphone next to it.

通用

電郵 聊天 電話 語音郵件 工作項目 SMS 數位

輸入屬性

這些屬性定義了動作執行時使用的資料。

屬性

描述

Caption

輸入在指令碼中唯一標識此操作的短語。 標題出現在指令碼畫布上的動作圖示下。 The default is the action name.

IPAddress

要 ping 的 IP 位址。

Timeoutms

在該 IP 地址被視為不可達之前 ping 該 IP 地址的持續時間(毫秒)。

TimeVarms

用於儲存 ping 回應時間的變數。

結果分支條件

結果分支條件允許您在指令碼中建立分支,以處理執行動作時的不同結果。

條件

描述

Reply

目標 IP 位址屬性對 ping 連線作出回應時採用的路徑。
Timeout 在指定的秒數內沒有回應時採用的路徑。