Incorrect snmpTrap event OID displayed in net-snmp

"Rajesh Chatterjee" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
 Hi All,



> When i am trying to access the snmpTrap event OID,  i am expecting OID
> starting with enterprise (1.3.6.1.4.1) but instead i am getting OID starting
> with ccitt  (0.3.6.1.4.1) ...
>
> I am running AgentX subagent using send_v2trap() where my event OID and
> length are set for the first variable in var.val.objid and var.val_len.
> No matter what event OID I have assigned to it, the outcome is always like
>
> 1:
> activeAlarmOid.1.3.6.1.4.1.2323.1.101.4.2.3.1.6.14.99.49.58.58.100.115.107.47.99.49.116.48.100.48
> (object identifier)
> 0.3.6.1.4.1.2323.1.101.4.2.3.1.6.14.99.49.58.58.100.115.107.47.99.49.116.48.100.48
>
> 2:
> activeAlarmOid.1.3.6.1.4.1.2323.1.101.4.2.3.1.6.14.99.49.58.58.100.115.107.47.99.49.116.49.100.48
> (object identifier)
> 1.3.6.1.4.1.2323.1.101.4.2.3.1.6.14.99.49.58.58.100.115.107.47.99.49.116.49.100.48
> where 0.3.6.1.4.1 == iso.
>
> Here one more poiint to note is that the problem is coming only when for
> the same counter we have multiple entries of traps and one is showing
> correct value while other one is showing incorrect result.
>
> Can anybody help to identify the problem?
>
>

Thanks In Advance !!

 Regards,
> Rajesh
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.