mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
add comment re numerics to snmp set node.
This commit is contained in:
parent
698af48500
commit
54c52a7106
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name" : "node-red-node-snmp",
|
"name" : "node-red-node-snmp",
|
||||||
"version" : "0.0.23",
|
"version" : "0.0.24",
|
||||||
"description" : "A Node-RED node that looks for SNMP oids.",
|
"description" : "A Node-RED node that looks for SNMP oids.",
|
||||||
"dependencies" : {
|
"dependencies" : {
|
||||||
"net-snmp" : "1.2.4"
|
"net-snmp" : "1.2.4"
|
||||||
|
@ -60,7 +60,7 @@
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script type="text/x-red" data-template-name="snmp set">
|
<script type="text/html" data-template-name="snmp set">
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-input-host"><i class="fa fa-globe"></i> Host</label>
|
<label for="node-input-host"><i class="fa fa-globe"></i> Host</label>
|
||||||
<input type="text" id="node-input-host" placeholder="ip address(:optional port)">
|
<input type="text" id="node-input-host" placeholder="ip address(:optional port)">
|
||||||
@ -87,9 +87,10 @@
|
|||||||
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
|
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
|
||||||
<input type="text" id="node-input-name" placeholder="Name">
|
<input type="text" id="node-input-name" placeholder="Name">
|
||||||
</div>
|
</div>
|
||||||
|
<div class="form-tips">Tip: Numeric inputs must be numbers not strings, e.g. 1 not "1".</div>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script type="text/x-red" data-help-name="snmp set">
|
<script type="text/html" data-help-name="snmp set">
|
||||||
<p>Simple snmp Set node. Trigger by any input</p>
|
<p>Simple snmp Set node. Trigger by any input</p>
|
||||||
<p><code>msg.host</code> may contain the host.</p>
|
<p><code>msg.host</code> may contain the host.</p>
|
||||||
<p><code>msg.community</code> may contain the community.</p>
|
<p><code>msg.community</code> may contain the community.</p>
|
||||||
@ -102,6 +103,7 @@
|
|||||||
},
|
},
|
||||||
{ "oid": ... }
|
{ "oid": ... }
|
||||||
]</pre>
|
]</pre>
|
||||||
|
<p>Any numeric inputs must be numbers, not strings, e.g. 1 not "1".</p>
|
||||||
<p>OIDs must be numeric. iso. is the same a 1.</p>
|
<p>OIDs must be numeric. iso. is the same a 1.</p>
|
||||||
</p>
|
</p>
|
||||||
</script>
|
</script>
|
||||||
@ -130,7 +132,7 @@
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script type="text/x-red" data-template-name="snmp table">
|
<script type="text/html" data-template-name="snmp table">
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-input-host"><i class="fa fa-globe"></i> Host</label>
|
<label for="node-input-host"><i class="fa fa-globe"></i> Host</label>
|
||||||
<input type="text" id="node-input-host" placeholder="ip address(:optional port)">
|
<input type="text" id="node-input-host" placeholder="ip address(:optional port)">
|
||||||
@ -159,7 +161,7 @@
|
|||||||
<div class="form-tips">Tip: ONLY accepts a single OID.</div>
|
<div class="form-tips">Tip: ONLY accepts a single OID.</div>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script type="text/x-red" data-help-name="snmp table">
|
<script type="text/html" data-help-name="snmp table">
|
||||||
<p>Simple SNMP oid table fetcher. Triggered by any input.</p>
|
<p>Simple SNMP oid table fetcher. Triggered by any input.</p>
|
||||||
<p><code>msg.host</code> may contain the host.</p>
|
<p><code>msg.host</code> may contain the host.</p>
|
||||||
<p><code>msg.community</code> may contain the community.</p>
|
<p><code>msg.community</code> may contain the community.</p>
|
||||||
@ -192,7 +194,7 @@
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script type="text/x-red" data-template-name="snmp subtree">
|
<script type="text/html" data-template-name="snmp subtree">
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-input-host"><i class="fa fa-globe"></i> Host</label>
|
<label for="node-input-host"><i class="fa fa-globe"></i> Host</label>
|
||||||
<input type="text" id="node-input-host" placeholder="ip address(:optional port)">
|
<input type="text" id="node-input-host" placeholder="ip address(:optional port)">
|
||||||
@ -221,7 +223,7 @@
|
|||||||
<div class="form-tips">Tip: ONLY accepts a single OID (node).</div>
|
<div class="form-tips">Tip: ONLY accepts a single OID (node).</div>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script type="text/x-red" data-help-name="snmp subtree">
|
<script type="text/html" data-help-name="snmp subtree">
|
||||||
<p>Simple SNMP oid subtree fetcher. Triggered by any input.</p>
|
<p>Simple SNMP oid subtree fetcher. Triggered by any input.</p>
|
||||||
<p><code>msg.host</code> may contain the host.</p>
|
<p><code>msg.host</code> may contain the host.</p>
|
||||||
<p><code>msg.community</code> may contain the community.</p>
|
<p><code>msg.community</code> may contain the community.</p>
|
||||||
@ -255,7 +257,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
<script type="text/x-red" data-template-name="snmp walker">
|
<script type="text/html" data-template-name="snmp walker">
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-input-host"><i class="fa fa-globe"></i> Host</label>
|
<label for="node-input-host"><i class="fa fa-globe"></i> Host</label>
|
||||||
<input type="text" id="node-input-host" placeholder="ip address(:optional port)">
|
<input type="text" id="node-input-host" placeholder="ip address(:optional port)">
|
||||||
@ -284,7 +286,7 @@
|
|||||||
<div class="form-tips">Tip: ONLY accepts a single OID (node).</div>
|
<div class="form-tips">Tip: ONLY accepts a single OID (node).</div>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script type="text/x-red" data-help-name="snmp walker">
|
<script type="text/html" data-help-name="snmp walker">
|
||||||
<p>Simple SNMP oid walker fetcher. Triggered by any input.</p>
|
<p>Simple SNMP oid walker fetcher. Triggered by any input.</p>
|
||||||
<p><code>msg.host</code> may contain the host.</p>
|
<p><code>msg.host</code> may contain the host.</p>
|
||||||
<p><code>msg.community</code> may contain the community.</p>
|
<p><code>msg.community</code> may contain the community.</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user