Dear,
Until now, realy I didn't know the benefits of AgentX. Now, I want to work
as an AgentX. But at AgentX, the
Now I am using AgentX, but netsnmp_config command in AgentX doesn't work. I
must manage trap destinations internally from AgentX. an simple & may be
stupid method can be kill snmpd, change snmpd.conf & run it again.
In there any way (standard & not standard) to manage trap destinations
internally from AgentX? Can I change snmpTargetAddrTable internally?

Please Help me, I really appreciate you.
Thanks, Namnabat.

On Mon, Dec 21, 2009 at 3:31 PM, majid namnabat <[email protected]> wrote:

> >       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 <[email protected]>wrote:
>
>> > From: majid namnabat [mailto:[email protected]]
>> > 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
>>
>>
>
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to