Skip to content

Commit

Permalink
Clarify tha snmp node oids must be numeric
Browse files Browse the repository at this point in the history
docs only
  • Loading branch information
Dave Conway-Jones committed Feb 15, 2019
1 parent c1650b5 commit 3d06102
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion io/snmp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name" : "node-red-node-snmp",
"version" : "0.0.19",
"version" : "0.0.20",
"description" : "A Node-RED node that looks for SNMP oids.",
"dependencies" : {
"net-snmp" : "1.2.4"
Expand Down
5 changes: 5 additions & 0 deletions io/snmp/snmp.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
<p><code>msg.host</code> may contain the host.</p>
<p><code>msg.community</code> may contain the community.</p>
<p><code>msg.oid</code> may contain a comma separated list of oids to request. (no spaces)</p>
<p>OIDs must be numeric. iso. is the same a 1. </p>
<p>The node will output <code>msg.payload</code> and <code>msg.oid</code>.</p>
</script>

Expand Down Expand Up @@ -101,6 +102,7 @@
},
{ "oid": ... }
]</pre>
<p>OIDs must be numeric. iso. is the same a 1.</p>
</p>
</script>

Expand Down Expand Up @@ -162,6 +164,7 @@
<p><code>msg.host</code> may contain the host.</p>
<p><code>msg.community</code> may contain the community.</p>
<p><code>msg.oid</code> may contain the oid of a table to request.</p>
<p>OID must be numeric. iso. is the same a 1.</p>
<p>The node will output <code>msg.payload</code> and <code>msg.oid</code>.</p>
</script>

Expand Down Expand Up @@ -223,6 +226,7 @@
<p><code>msg.host</code> may contain the host.</p>
<p><code>msg.community</code> may contain the community.</p>
<p><code>msg.oid</code> may contain the oid of a table to request.</p>
<p>OID must be numeric. iso. is the same a 1. </p>
<p>The node will output <code>msg.payload</code> and <code>msg.oid</code>.</p>
</script>

Expand Down Expand Up @@ -285,6 +289,7 @@
<p><code>msg.host</code> may contain the host.</p>
<p><code>msg.community</code> may contain the community.</p>
<p><code>msg.oid</code> may contain the oid of a table to request.</p>
<p>OID must be numeric. iso. is the same a 1. </p>
<p>The node will output <code>msg.payload</code> and <code>msg.oid</code>.</p>
</script>

Expand Down

0 comments on commit 3d06102

Please sign in to comment.