<div dir="ltr"><div>Regarding auth/sha: It sounds like you might not be truncating your privacy key to 16 bytes.  The md5 hash yields 16 bytes, the sha hash is a bit longer.  <br><br></div>Make sure you are doing something like...<br>
<div><br>PrivKey = lists:sublist(snmp:passwd2localized_key(sha, PrivPass, EngineId), 16),<br><br></div><div><br></div><div>I am successfully using the snmp app as an agent.  The documentation is not bad, but the RFCs were also helpful in gaining understanding.<br>
</div><div><br><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Sep 2, 2014 at 5:12 AM, Seb Seb <span dir="ltr"><<a href="mailto:sebovick@gmail.com" target="_blank">sebovick@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Hello,<br><br></div>After a full week trying to make snmp application working, specially the manager, i have noticed these facts:<br>
</div></div><div>- miss key feature for snmp v3 "agentId discovery", the code exist but is commented out (???)<br>
</div><div>- normal/synchronization reports from agents are not interpreted and treated as errors (discovery) or treated as error and interpreted (in the case of sync engineBoots, engineTime),<br></div><div>- is not yet finished (code comments are freaky: "bug bug bug","what the ****", "what about ..."),<br>

</div><div>- is not maintained , as far as I can go in the OTP github repository same comments...<br></div><div>- so complicated to configure, that i don't know if there are bugs, or if it is me who miss the point (for example, I can successfully run v3 in most modes and protocols, but agents (cisco routers) return snmpInASNParseErrs, when using auth/sha in conjunction with priv/des while it works perfectly with auth/md5 priv/des)<br>

<br></div></div>How should I consider the development status of this application? Does someone here use it successfully for managing heterogeneous elements?<br></div><br></div>Sebovick.<br></div>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>