mirror of
				https://github.com/node-red/node-red-nodes.git
				synced 2025-03-01 10:37:43 +00:00 
			
		
		
		
	add comment re numerics to snmp set node.
This commit is contained in:
		| @@ -1,6 +1,6 @@ | ||||
| { | ||||
|     "name"          : "node-red-node-snmp", | ||||
|     "version"       : "0.0.23", | ||||
|     "version"       : "0.0.24", | ||||
|     "description"   : "A Node-RED node that looks for SNMP oids.", | ||||
|     "dependencies"  : { | ||||
|         "net-snmp"  : "1.2.4" | ||||
|   | ||||
| @@ -60,7 +60,7 @@ | ||||
|     }); | ||||
| </script> | ||||
|  | ||||
| <script type="text/x-red" data-template-name="snmp set"> | ||||
| <script type="text/html" data-template-name="snmp set"> | ||||
|     <div class="form-row"> | ||||
|         <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)"> | ||||
| @@ -87,9 +87,10 @@ | ||||
|         <label for="node-input-name"><i class="fa fa-tag"></i> Name</label> | ||||
|         <input type="text" id="node-input-name" placeholder="Name"> | ||||
|     </div> | ||||
|     <div class="form-tips">Tip: Numeric inputs must be numbers not strings, e.g. 1 not "1".</div> | ||||
| </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><code>msg.host</code> may contain the host.</p> | ||||
|     <p><code>msg.community</code> may contain the community.</p> | ||||
| @@ -102,6 +103,7 @@ | ||||
|     }, | ||||
|     {   "oid":   ... } | ||||
| ]</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> | ||||
| </script> | ||||
| @@ -130,7 +132,7 @@ | ||||
|     }); | ||||
| </script> | ||||
|  | ||||
| <script type="text/x-red" data-template-name="snmp table"> | ||||
| <script type="text/html" data-template-name="snmp table"> | ||||
|     <div class="form-row"> | ||||
|         <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)"> | ||||
| @@ -159,7 +161,7 @@ | ||||
|     <div class="form-tips">Tip: ONLY accepts a single OID.</div> | ||||
| </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><code>msg.host</code> may contain the host.</p> | ||||
|     <p><code>msg.community</code> may contain the community.</p> | ||||
| @@ -192,7 +194,7 @@ | ||||
|     }); | ||||
| </script> | ||||
|  | ||||
| <script type="text/x-red" data-template-name="snmp subtree"> | ||||
| <script type="text/html" data-template-name="snmp subtree"> | ||||
|     <div class="form-row"> | ||||
|         <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)"> | ||||
| @@ -221,7 +223,7 @@ | ||||
|     <div class="form-tips">Tip: ONLY accepts a single OID (node).</div> | ||||
| </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><code>msg.host</code> may contain the host.</p> | ||||
|     <p><code>msg.community</code> may contain the community.</p> | ||||
| @@ -255,7 +257,7 @@ | ||||
| </script> | ||||
|  | ||||
|  | ||||
| <script type="text/x-red" data-template-name="snmp walker"> | ||||
| <script type="text/html" data-template-name="snmp walker"> | ||||
|     <div class="form-row"> | ||||
|         <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)"> | ||||
| @@ -284,7 +286,7 @@ | ||||
|     <div class="form-tips">Tip: ONLY accepts a single OID (node).</div> | ||||
| </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><code>msg.host</code> may contain the host.</p> | ||||
|     <p><code>msg.community</code> may contain the community.</p> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user