> 1) I created a  MIB file
> 

> demotraps OBJECT IDENTIFIER ::= { ucdExperimental 990 }
> 
> demo-trap TRAP-TYPE
>  ENTERPRISE demotraps
>  ::= 17


> traphandle TRAP-TEST-MIB::demo-trap /home/nba/bin/traps demo-trap

I would *strongly* suggest that you define your MIBs using SMIv2
rather than SMIv1.

SMIv1 used a different approach to defining traps, so
TRAP-TEST-MIB::demo-trap is not strictly speaking an OID at all.

I'm not at all sure how snmptrapd would interpret this.


Try translating TRAP-TEST-MIB into SMIv2 (i.e. use NOTIFICATION-TYPE)
and see if that's any better.

Dave

PS: Please - no HTML mail.  Thanks



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
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