>
> >       I wouldn't use agent_trap functions at all inside a subagent if
> possible.  This would >preclude connecting the subagent via AgentX, but
> mostly it's just not necessary.
>

I am developing in the  master agent, not in a subagent at my embedded ARM
node. I don't have multiple application that need to communicate via SNMP. I
have an embedded node that have a mib. The master agent of SNMP must be
active on it to response NMS server.
Now, my design is correct or not? How can I delete a row from these tables?


On Fri, Dec 18, 2009 at 1:03 AM, Mike Ayers <mike_ay...@tvworks.com> wrote:

> > From: majid namnabat [mailto:maj....@gmail.com]
> > Sent: Wednesday, December 16, 2009 11:05 PM
>
> >>      Do not attempt to access snmpTargetAddrTable from the inside.  Are
> >> you trying to change trap destinations from your subagent?
>
> >  Yes, In my corporation they take an object IP address in their MIB for
> > the trap destination.  This field must set by NMS Server. So I must add
> > trap destinations dynamically from my agent.
>
>         Why doesn't the NMS just set the destination in the
> snmpTargetAddrTable?
>
> > But, I read some document and I think in SNMP RFC, removing & changing
> > of trap destinations not allowed.
>
>         Incorrect - there are 5 tables used to configure notification
> reception, and the intent is a highly flexible receiver setup.
>
> > Is it correct? Therefore now, I'm not
> > intented to change or remove the trap destinations. I use the internal
> > structure of agent_trap.h only to check not to insert double trap
> > destinations.
>
>         I wouldn't use agent_trap functions at all inside a subagent if
> possible.  This would preclude connecting the subagent via AgentX, but
> mostly it's just not necessary.
>
> > I think my problem is solved, really appreciate you.
>
>         Hope it works for you.
>
>
> Mike
>
>
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to