On 23/01/2008, Joel Parker wrote:
> SNMPv2-SMI::enterprises.2682.1.2 Enterprise Specific Trap (8001)

> traphandle . /usr/sbin/hello hello
> traphandle SNMPv2-SMI::enterprises.2682.1.2.8001 /usr/sbin/hello hello

Those two have the wrong OID.

> traphandle . /usr/sbin/hello hello

That's the correct OID for the trap listed above.

I'd agree with Mike that it's worth trying with a more recent release.
The 5.1.x line is no longer being supported. (Though this sort of basic
operation should work).

It's worth checking the permissions on the 'hello' binary,
and whether it reads in the information passed it on stdin.
You might also try running snmptrapd with debugging turned on
(-Dsnmptrapd) and see whether that gives some indication what
might be going wrong.


This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
Net-snmp-users mailing list
Please see the following page to unsubscribe or change other options: