Hello,<div><br></div><div>I have the some problem.</div><div><br></div><div>My agents are net-snmp based. And I can't figure out how to change it.</div><div><br></div><div>I think that a small change in erlang snmp app to register a agent with specific parameter to don't match the {Addr, Port} when Trap could be great.</div>
<div><br></div><div>Is it the way?</div><div><br></div><div>Thanks<br><br><div class="gmail_quote">On Wed, Oct 12, 2011 at 8:19 AM, Daniel Widgren <span dir="ltr"><<a href="mailto:daniel.widgren@gmail.com" target="_blank">daniel.widgren@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I have some questions.<br>
<br>
I have a system where a non-erlang system sends snmp traps depending<br>
on what is going on.<br>
<br>
I have tried to set up a snmp manager on another computer to listen to<br>
these traps. When I do so I get:<br>
<br>
=INFO REPORT==== 12-Oct-2011::10:15:36 ===<br>
SNMPM default user callback received handle_agent:<br>
<br>
So SNMPM uses handle_agent instead of handle_trap and is wondering<br>
why? Is it because I use snmp_default_user?<br>
<br>
If so, how should I configure a user to listen to a non-erlang snmp<br>
system. Do I need a agent and is that agent the snmp system sending<br>
traps?<br>
<br>
Is it possible to listen to all traps that comes from a IP without specify port?<br>
<br>
regards,<br>
Daniel<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>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>-----------------------------------------------------------<br>João Henrique Freitas - <a href="http://joaohf_at_gmail.com">joaohf_at_gmail.com</a><br>Campinas-SP-Brasil<br>
BSD051283<br>LPI 1<br><a href="http://www.joaohfreitas.eti.br">http://www.joaohfreitas.eti.br</a><br>
</div>