-
Notifications
You must be signed in to change notification settings - Fork 605
Fix snmp community default issue #324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
… 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>
Signed-off-by: Bryan Malyn <bimalyn@us.ibm.com>
Signed-off-by: Bryan Malyn <bimalyn@us.ibm.com>
Signed-off-by: Bryan Malyn <bimalyn@us.ibm.com>
Signed-off-by: Bryan Malyn <bimalyn@us.ibm.com>
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>
Signed-off-by: Bryan Malyn <bimalyn@us.ibm.com>
This commit uses a singleton aproach to create socket. It still needs to be tested to see if there is any issue to the never-close, but reuse socket model. My only concern is if a socket dies, do we need to do something to reestablish it? Signed-off-by: Bryan Malyn <bimalyn@us.ibm.com>
attribute in the snmp node. This was preventing a user from being able to set the community value within the msg. Signed-off-by: Bryan Malyn <bimalyn@us.ibm.com>
|
so now it won't work by default ? - should leave the default value... - users should remove it if they then want to override. |
2 similar comments
|
It should still work by default. We set var community = node.community || msg.community;which gets thrown into which creates a var Session = function (target, community, options) {
this.target = target || "127.0.0.1";
this.community = community || "public";
...If we want to, for clarity's sake, still have |
|
Agree with your last comment. I like clarity. |
…them to be set so that they can be set my msg.host and msg.community respectivly. Signed-off-by: Bryan Malyn <bimalyn@us.ibm.com>
Removed default value and required attribute from the community field in the snmp node.
This was preventing a user from being able to set the community value within the msg.
This issue was noticed in #311.