[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

2222.0. "SNMP unix.asn1 MIB question" by CUJO::HILL (Dan Hill-Net.Mgt.-Customer Resident) Thu Jan 30 1992 03:02

    When modifying the "unix.asn1" MIB to include an enterpriseSpecific
    variable, we found that we could generate an enterpriseSpecific event
    which could be trapped by DECmcc T1.2.4.  
    
    When doing a "SHOW CHARACTERISTICS" on "trapper" we got the infamous
    "--Attribute Not Gettable" error message for "dataTrap" indicating
    that the agent was not cooperating.
    
    Here is what was added to the bottom of "unix.asn1"  (ISODE agent):
    ----------------------------------------------------------------------
    trapper OBJECT IDENTIFIER ::= { unix 8}
    
    dataTrap OBJECT-TYPE
    	   SYNTAX  DisplayString (SIZE (0..79))
           ACCESS  read-write
           STATUS  mandatory
           DESCRIPTION
                   "The trap used for all groups wanting to send a critical
                   message to me."
           ::= { trapper 1 }
    END
    -----------------------------------------------------------------------
    
    Can anyone see what is wrong with this?? 
    
    
    If we change the "SYNTAX" line above to read
    	   SYNTAX  INTEGER
    we can get a value returned by the agent.
    
    If you need more of the MIB, I'll get it for you, but I have to type it
    all in by hand.
    
    
    Thanks,
    Dan
T.RTitleUserPersonal
Name
DateLines
2222.1enterpriseSpecific traps are returned even if trap is not defined in vendor mibDANZO::CARRThu Jan 30 1992 12:064
	It's not clear to me what you're trying to accomplish.  
What does this new object have to do with enterpriseSpecific traps?  

2222.2More on SNMP trapsCUJO::HILLDan Hill-Net.Mgt.-Customer ResidentThu Jan 30 1992 14:5030
    Dan,
    	Basically, my customer has taken the ISODE MIB (unix.asn1) and
    added the object definitions mentioned in .0 .  He then modified the
    ISODE daemon code to include variable list definitions of the objects
    mentioned (trapper & dataTrap).
    	The ISODE daemon uses an smux_trap procedure call to generate
    the enterpriseSpecific event trap, with data then being passed to the
    SNMP daemon via smux_trap.
    
    PROBLEM:
    We have seen the "string" and "integer" data come across on a SUN
    running SUNnet Manager, but SnM can display only INTEGER data.  (By the
    way, SnM is being tested against DECmcc to see which works better for
    this task.)
    
    DECmcc SNMP AM works well to sink the event and alarm the icon, but we
    can't do a "SHOW CHARACTERISTICS" on the ISODE (unix) private MIB
    object (trapper) to see anything but "--Attribute Not Gettable" for the
    "dataTrap" object.
    
    QUESTIONS:
    Is there something missing (like SEQUENCE OF) in the MIB definition as
    described in .0 ?
    
    Before I got the SINK process to work, I was getting SNMP event
    messages logged via OPCOM on my VAXstation.  Is there a command or
    logical that can be used to force this to happen again?
    
    Thanks,
    -Dan