On 20 February 2010 11:06, majid namnabat wrote:
> snmp_set_var_typed_value(&var, ASN_OBJECT_ID,
> oidnetsnmpUDPDomain3,
> oidnetsnmpUDPDomain3_len );
The final parameter of this routine is the size of the data being passed.
Not the number of subidentifiers (since
Dear,
My program is now fine. It hasn't any error except setting
snmpTargetAddrTDomain.
I tried four ways to set its value snmpUDPDomain. but it's value become
ccitt.1
This section is:
oid oidnetsnmpUDPDomain2[]= { 1, 3, 6, 1, 6, 1, 1 };
oid oidnetsnmpUDPDomain3[MAX_OID_LEN]
> From: majid namnabat [mailto:maj@gmail.com]
> Sent: Wednesday, February 10, 2010 9:02 PM
> but I can not set it. My code to set oidsnmpTargetAddrTDomain is
> similar to this:
>
> oid oidsnmpTargetAddrTDomain[] ={1, 3, 6, 1, 6, 3, 12,
> 1, 2, 1, 2,'i','n','t','e','r',
Dear,
I try to use snmp_open & netsnmp_query_set functions, I write a function
similar attached code. But it's not work.
Please guide me more! How can I create a row for a table with
netsnmp_query_set function. In this table row indexes determined by strings
such as 'internal0'. How can I specify
2010/1/18 majid namnabat :
> In there any way (standard & not standard) to manage trap destinations
> internally from AgentX? Can I change snmpTargetAddrTable internally?
The most flexible way would be to send SNMP SET requests from the
subagent to the master agent, to manipulate the target tables
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, cha
>
> > 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 applicati
> 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 thei
>
> 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 dy
> From: majid namnabat [mailto:maj@gmail.com]
> Sent: Tuesday, December 08, 2009 5:05 AM
> In my system, the trap reciever ip was a mib object in my mib. In this
> state, we first must set this IP address and then receives the traps.
> How can I handle this with NET SNMP? I think the trapsink
10 matches
Mail list logo