when snmpwalk query my private trap OID the snmpd routine auto termination

"Alexander King" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi:
  
 when the MG-soft query my private entry
 .1.3.6.1.4.1.30901.2090.7000.2.1.3.0 the snmpd routine auto termination itself
  
 the OID .1.3.6.1.4.1.30901.2090.7000.2.1.3.0 is trapTestingTrapOne.0 in the trap testing MIB file.
  
 sys-man mibs # snmptranslate  -Of UIT-NOTIFICATION-MIB::trapTestingTrapOne.0
.iso.org.dod.internet.private.enterprises.uit.uitProducts.uitProductsSeries.uitProductsSystemInfo.systeminfoController.trapTestingTrapOne.trapTestingTrapOnePrefix

 part of my mib file is below:
 ------------------------------------------------------------------------------        
--Trap prototype testing here.
-------------------------------------------------------------------------------
trapTestingTrapOne                  OBJECT IDENTIFIER ::= { systeminfoController 3  }
trapTestingTrapTwo                  OBJECT IDENTIFIER ::= { systeminfoController 4  } 
trapTestingTrapOnePrefix            OBJECT IDENTIFIER ::= { trapTestingTrapOne 0 }
trapTestingTrapTwoPrefix            OBJECT IDENTIFIER ::= { trapTestingTrapTwo 0 }
    
    
 systemNumbertrap NOTIFICATION-TYPE
        OBJECTS  { systemNumber } 
        STATUS     current
        DESCRIPTION "This is just a demo"
        ::= { trapTestingTrapOnePrefix 1 }
  
 Did I define the wrong trap structure?
  
 Thank you !

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev

_______________________________________________
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.