Commit Graph

18 Commits

Author SHA1 Message Date
Stephen McLaughlin 041342d511
better inplace upgrade of pre v1 (#908)
fixes #907
2022-05-07 16:40:57 +01:00
Steve-Mcl a7762ea91b Add SNMPv3 support and update to latest deps
closes #705
2022-04-21 16:49:03 +01:00
andres 4b99a5f4d1 Added support for V3
Added support for version 3.
All the existing issues with v1 and v2c are also with v3 e.g.
https://github.com/node-red/node-red-nodes/issues/679
snmp walker will not return more than 1000 objects, all following objects cannot be accessed
Incorrect encryption (privacy) passphrase gives a timeout and not an error (protocol limitation?)
Incorrect community string gives a timeout and not an error (protocol limitation?)
Changes to the node are made with following details:
Node-red v1.2.2
Node.js v12.6.0
Windows_NT 10.0.19841 x64 LE
2020-10-24 11:07:16 +10:00
Dave Conway-Jones 4ed0cb84d9
add some words to snmp info/readme
to close #667
2020-08-06 18:10:09 +01:00
Dave Conway-Jones 54c52a7106
add comment re numerics to snmp set node. 2019-12-23 16:21:09 +00:00
Dave Conway-Jones a146c8e28c
snmp set Add check if varbinds field may be empty 2019-11-06 09:30:46 +00:00
Dave Conway-Jones 3d06102d1e
Clarify tha snmp node oids must be numeric
docs only
2019-02-15 22:15:33 +00:00
Dave Conway-Jones 8f83e471b8
let snmp nodes specify optional :port
to close #462
2018-07-17 09:41:52 +01:00
Dave Conway-Jones 6da469e49b
fix missing timeout variable from SNMP node 2018-01-30 21:57:44 +00:00
Dave Conway-Jones b3fd755527
Add timeout option to snap nodes
to address #397
2018-01-28 17:50:41 +00:00
mscbpi 24b0cd60bb SNMP Set Node (#325)
* snmp set node

* updated readme

* readme

* added missing {}

* corrected naming in variables, removed unused ones

* Use snmpObjectType to map types in SnmpSNode

* added varbinds as node property

* edit priority between node and message

* edit help

* updated doc

* try catch JSON.parse§

* corrected typo in html

* Error message in case of JSON parsing error

* removing try/catch on JSON.parse for varbinds, as a wrong varbinds will be
catched/handled in Session.set() method

* edit doc for better presentation
2017-06-26 23:02:34 +01:00
bimalyn-IBM 78a6af1770 Fix snmp community default issue (#324) 2017-05-31 20:24:01 +01:00
bimalyn-IBM a3211a5e80 Update documentation for snmp nodes (#301)
* 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>

* fix extra spacing

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

* Standardise node.error to include msg so that errors can caught

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

* Update documentation for snmp nodes

fixed documentation as noted, removed conflict and iff from documention
remove node.warns if host or community are set in both the node config and msg

Signed-off-by: Bryan Malyn <bimalyn@us.ibm.com>
2017-04-22 15:53:04 +01:00
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
Dave Conway-Jones a7247e898a Update licenses and packages for all nodes 2016-11-06 20:26:19 +00:00
Mika Karaila 163345cf5c Added subtree and walker nodes. (#200)
Thanks @mikakaraila  - very useful.
2016-04-12 18:39:19 +01:00
Dave Conway-Jones 5a95e9c404 update snap node docs to make outputs more obvious 2016-02-11 22:50:30 +00:00
dceejay 8df7189058 Add discovery (mdns) and SNMP nodes 2015-03-04 19:55:53 +00:00