aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/test/snmp_test_data/TestTrapv2.mib
blob: 679ddc14b0fd3d96fec8febd3a5109fa1d766bb4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
TestTrapv2 DEFINITIONS ::= BEGIN

IMPORTS
    MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,
    TimeTicks, Counter32, snmpModules, mib-2, enterprises, IpAddress,
    Integer32
        FROM SNMPv2-SMI
    DisplayString, TestAndIncr, TimeStamp, RowStatus, TruthValue,
    TEXTUAL-CONVENTION
        FROM SNMPv2-TC
    MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
        FROM SNMPv2-CONF

    system, snmp, ifIndex, ifAdminStatus, ifOperStatus
	FROM RFC1213-MIB
    snmpTraps
	FROM SNMPv2-MIB;

testTrapv2 MODULE-IDENTITY
    LAST-UPDATED "9511090000Z"
    ORGANIZATION "IETF SNMPv2 Working Group"
    CONTACT-INFO
            "        Marshall T. Rose

             Postal: Dover Beach Consulting, Inc.
                     420 Whisman Court
                     Mountain View, CA  94043-2186
                     US

                Tel: +1 415 968 1052

             E-mail: [email protected]"
    DESCRIPTION
            "The MIB module for SNMPv2 entities."
    REVISION      "9304010000Z"
    DESCRIPTION
            "The initial revision of this MIB module was published as
            RFC 1450."
    ::= { system 100 }


tst      OBJECT IDENTIFIER ::= { system 0 }

testTrapv21 NOTIFICATION-TYPE
    STATUS  current
    DESCRIPTION
            "This trap is exactly the v2 correspondance of testTrap1 in
	    TestTrap mib."
    ::= { snmp 1 }

testTrapv22 NOTIFICATION-TYPE
    STATUS  current
    DESCRIPTION
            "This trap is exactly the v2 correspondance of testTrap2 in
	    TestTrap mib."
    ::= { system 0 1 }

linkUp NOTIFICATION-TYPE
       OBJECTS { ifIndex, ifAdminStatus, ifOperStatus }
       STATUS  current
       DESCRIPTION
               "A linkUp trap signifies that the SNMPv2 entity,
               acting in an agent role, has detected that the
               ifOperStatus object for one of its communication links
               has transitioned out of the down state."
       ::= { snmpTraps 4 }




END