node-red-nodes/io/snmp
bimalyn-IBM 0f7e8385b8 Allow msg to set parameters for snmp nodes. (#299)
* I've modified the snmp libraries so that the server and the community can be defined by the msg.
Error will be thrown if you try to override what was defined in the node.
Verified that the contents of msg is no longer clobbered.

Signed-off-by: Bryan Malyn <bimalyn@us.ibm.com>

* Replaced tabs with 4 spaces.
Signed-off-by: Bryan Malyn <bimalyn@us.ibm.com>
2017-04-15 12:04:47 +01:00
..
LICENSE Update licenses and packages for all nodes 2016-11-06 20:26:19 +00:00
README.md slight edits to snmp to pass jslint-ing 2016-04-12 19:18:48 +01:00
package.json fix error logging in snap node 2017-01-18 18:55:10 +00:00
snmp.html Allow msg to set parameters for snmp nodes. (#299) 2017-04-15 12:04:47 +01:00
snmp.js Allow msg to set parameters for snmp nodes. (#299) 2017-04-15 12:04:47 +01:00

README.md

node-red-node-snmp

A pair of Node-RED nodes that fetch either individual oids, or a table oid from a SNMP enabled host.

Install

Run the following command in your Node-RED user directory - typically ~/.node-red

npm install node-red-node-snmp

Usage

snmp

SNMP oids fetcher. Can fetch a single or comma separated list of oids. Triggered by any input.

msg.oid may contain a comma separated list of oids to search for. (no spaces)

The oids confgured in the edit config will override msg.oid. Leave blank if you want to use msg.oid to provide input.

Outputs msg.payload containing a table of objects, and the requested msg.oid. Values depends on the oids being requested.

snmp-table

Simple SNMP table oid fetcher. Triggered by any input. msg.oid may contain the oid of a single table to search for.

The oid confgured in the edit config will override msg.oid. Leave blank if you want to use msg.oid to provide input.

Outputs msg.payload containing the table of objects, and the requested msg.oid. Values depends on the oids being requested.

snmp-walker

snmp-subtree