Initial commit
This commit is contained in:
15
node_modules/node-red-node-ping/locales/de/88-ping.json
generated
vendored
Normal file
15
node_modules/node-red-node-ping/locales/de/88-ping.json
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"ping": {
|
||||
"ping": "ping",
|
||||
"label": {
|
||||
"target": "Ziel",
|
||||
"ping": "Ping (S)",
|
||||
"mode": "Modus",
|
||||
"mode_option": {
|
||||
"timed": "Zeitgesteuert",
|
||||
"triggered": "Getriggert"
|
||||
},
|
||||
"tip": "Hinweis: Ziel-Eintrag leer lassen, damit über msg.payload der Hosts dynamisch gesetzt werden kann"
|
||||
}
|
||||
}
|
||||
}
|
||||
69
node_modules/node-red-node-ping/locales/en-US/88-ping.html
generated
vendored
Normal file
69
node_modules/node-red-node-ping/locales/en-US/88-ping.html
generated
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
<script type="text/html" data-help-name="ping">
|
||||
<p>Pings a machine and returns the trip time in mS as <code>msg.payload</code>.</p>
|
||||
<h3>Output</h3>
|
||||
<dl class="message-properties">
|
||||
<dt>payload <span class="property-type">number</span></dt>
|
||||
<dd> the trip time in mS, or boolean <i>false</i> if no response.</dd>
|
||||
<dt>topic <span class="property-type">string</span></dt>
|
||||
<dd> the target host or ip address.</dd>
|
||||
<dt>[ping] <span class="property-type">object</span></dt>
|
||||
<dd> an object containing <code>host</code> and any other properties sent in the array object.<br>
|
||||
<b>Note</b>: This object is only appended when using triggered mode and an array for input payload. It is
|
||||
intended for advanced users and permits scenarios where you need additional properties to be tagged into your result for use downstream.</dd>
|
||||
</dl>
|
||||
<h3>Details</h3>
|
||||
<p>Returns <b>false</b> if no response received, or if the host is unresolveable.</p>
|
||||
<p>Default ping is every 20 seconds but can be configured.</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>Mode...</h4>
|
||||
<ul>
|
||||
<li><b>Timed</b><br>
|
||||
<P>In Timed mode, the fields <code>Target</code> and <code>Ping (S)</code> must be populated.</P>
|
||||
<p>Target must be a CSV list of hosts / IPs e.g. <code>"192.168.0.1"</code> or <code>"192.168.0.1, www.google.com"</code></p>
|
||||
<p>Ping (S) is the number of seconds between pings</p>
|
||||
</li>
|
||||
<li><b>Triggered</b><br>
|
||||
<p>In Triggered mode, you must connect an input wire and pass a <code>msg</code> in to trigger the ping operation.</p>
|
||||
<p>If <code>Target</code> is populated, this will be used as the host/ip. The Target must be is a CSV list of
|
||||
hosts / IPs e.g. <code>"192.168.0.1"</code> or <code>"192.168.0.1, www.google.com"</code></p>
|
||||
|
||||
<p>If Target is left empty, you can pass a CSV string or an array of hosts in <code>msg.payload</code>.
|
||||
<ul>
|
||||
<li><b>string</b> - a CSV list of hosts / IPs e.g. <code>"192.168.0.1"</code> or <code>"192.168.0.1, www.google.com"</code> </li>
|
||||
<li><b>array</b> - an array of hosts as strings or objects. <b>Note</b>: The object must contain at minimum <code>.host</code>.
|
||||
Optionally, you can add a <code>timeout</code> property between 1000 & 30000 (default is 5000 / 5 seconds).
|
||||
Additionally, you can add whatever other properties you wish to this object and when the ping result is returned, it will
|
||||
be passed to the next node in <code>msg.ping</code> for use downstream</li>
|
||||
<li>Example array payload input: <pre>[
|
||||
"192.168.0.99",
|
||||
{
|
||||
"host":"192.168.0.1",
|
||||
"name":"The router"
|
||||
},
|
||||
{
|
||||
"host":"myapiserver.com",
|
||||
"name":"external API",
|
||||
"timeout": 20000,
|
||||
"support":"support@myapiserver.com"
|
||||
}
|
||||
]</pre> </li>
|
||||
</ul>
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
<p><b>Note</b>: if running inside Ubuntu Snap you will need to manually start the network-observe interface.
|
||||
<code>snap connect node-red:network-observe</code>.</p>
|
||||
</script>
|
||||
21
node_modules/node-red-node-ping/locales/en-US/88-ping.json
generated
vendored
Normal file
21
node_modules/node-red-node-ping/locales/en-US/88-ping.json
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"ping": {
|
||||
"ping": "ping",
|
||||
"label": {
|
||||
"target": "Target",
|
||||
"ping": "Ping (S)",
|
||||
"mode": "Mode",
|
||||
"mode_option": {
|
||||
"timed": "Timed",
|
||||
"triggered": "Triggered"
|
||||
},
|
||||
"protocol": "Protocol",
|
||||
"protocol_option": {
|
||||
"auto": "Automatic",
|
||||
"ipv4": "IPv4",
|
||||
"ipv6": "IPv6"
|
||||
},
|
||||
"tip": "Note: Leave Target field blank to allow msg.payload to set hosts dynamically."
|
||||
}
|
||||
}
|
||||
}
|
||||
66
node_modules/node-red-node-ping/locales/ja/88-ping.html
generated
vendored
Normal file
66
node_modules/node-red-node-ping/locales/ja/88-ping.html
generated
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
<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>プロパティ を追加で指定可能です。その値は1000から30000の間で指定します(デフォルトは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 Snap内で実行している場合は、手動でnetwork-observeインターフェイスを開始する必要があります。
|
||||
<code>snap connect node-red:network-observe</code></p>
|
||||
</script>
|
||||
21
node_modules/node-red-node-ping/locales/ja/88-ping.json
generated
vendored
Normal file
21
node_modules/node-red-node-ping/locales/ja/88-ping.json
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"ping": {
|
||||
"ping": "ping",
|
||||
"label": {
|
||||
"target": "ターゲット",
|
||||
"ping": "Ping (秒)",
|
||||
"mode": "モード",
|
||||
"mode_option": {
|
||||
"timed": "時間",
|
||||
"triggered": "トリガー"
|
||||
},
|
||||
"protocol": "プロトコル",
|
||||
"protocol_option": {
|
||||
"auto": "自動の",
|
||||
"ipv4": "IPv4",
|
||||
"ipv6": "IPv6"
|
||||
},
|
||||
"tip": "注: msg.payloadでホスト名を動的に指定する場合は、ターゲットフィールドを空にします。"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user