notification oid in traps

"George, Geo" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <87BC906A62A61A4E83399416B13704A703479971@cacexc07.americas.cpqcorp.net>
Hello,
 
This is a repetition of one Question raised by a developer sometime ago.
But could not find a clear answer for that. I am currently facing the
same problem and waiting for a solution.

Question:
========================================================================
===
 When I send a trap from my subagent (AgentX), the enterprise OID field
of the V1 trap is
always .1.3.6.1.4.1.8072.4. i.e,
(.iso.org.dod.internet.private.enterprises.netSnmp.netSnmpEnumerations.n
etSnmpAgentOIDs.solaris).
 
 I actually want it to be a different one (for ex: .1.3.5.1.4.1.222
etc). Can this bedone using some NetSNMP API from the Subagent - I just
searched, but could not find one.

Please let me know if you have an idea about this.

========================================================================
==

According to Robert, It can be done by manually creating the pdu. ( code
base of send_enterprise_trap_vars) I tried the same and still no change
in behavior. 

If I change the agent to a dynamically loadable module, then I am able
to get the trap.

What could the problem?


Thanks in advance,
Geo



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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.