1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00
node-red-nodes/io/ping/locales/ja/88-ping.html
2021-03-12 12:54:13 +00:00

67 lines
4.3 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<script type="text/html" data-help-name="ping">
<p>pingを送信し<code>msg.payload</code></p>
<h3>出力</h3>
<dl class="message-properties">
<dt>payload <span class="property-type">数値</span></dt>
<dd> ミリ秒で表したトリップタイムレスポンスが無い場合ブール値<i>false</i></dd>
<dt>topic <span class="property-type">文字列</span></dt>
<dd> ターゲットホスト名もしくはIPアドレス</dd>
<dt>[ping] <span class="property-type">オブジェクト</span></dt>
<dd>要素が<code>host</code> <br>
<b></b>: </dd>
</dl>
<h3>詳細</h3>
<p>ホスト名が解決できなかったりレスポンスが得られなければ<b>false</b></p>
<p>デフォルトでは20秒ごとにpingを送りますが設定で変更できます</p>
<h4>Protocol...</h4>
<ul>
<li><b>Automatic</b><br>
<P>Will use any Protocol, IPv4 or IPv6, to reach host; based on your operating system network settings</P>
</li>
<li><b>IPv4</b><br>
<P>Forces use of IPv4 to reach host. Will fail if no route availibe</P>
</li>
<li><b>IPv6</b><br>
<P>Forces use of IPv6 to reach host. Will fail if no route availibe</P>
</li>
</ul>
<h4>モード...</h4>
<ul>
<li><b>時間</b><br>
<P><code>時間</code><code>Target</code><code>Ping()</code></P>
<p><code>ターゲット</code>/IP: <code>"192.168.0.1"</code> <code>"192.168.0.1, www.google.com"</code></p>
<p><code>Ping()</code>ping</p>
</li>
<li><b>トリガー</b><br>
<p><code>トリガー</code><code>msg</code>ping
<p><code>ターゲット</code>IP使 /IP: <code>"192.168.0.1"</code> <code>"192.168.0.1, www.google.com"</code></p>
<p><code>ターゲット</code><code>msg.payload</code>
<ul>
<li><code>文字列</code> - /IP : <code>"192.168.0.1"</code> <code>"192.168.0.1, www.google.com"</code> </li>
<li><code>配列</code> - : <code>.host</code><code>timeout</code> 100030000(5000/5) ping<code>msg.ping</code></li>
<li>配列ペイロードの例: <pre>[
"192.168.0.99",
{
"host":"192.168.0.1",
"name":"ルータ"
},
{
"host":"myapiserver.com",
"name":"拡張API",
"timeout": 20000,
"support":"support@myapiserver.com"
}
]</pre> </li>
</ul>
</p>
</li>
</ul>
<p><b>補足</b>: Ubuntu Snapnetwork-observe
<code>snap connect node-red:network-observe</code></p>
</script>