File: EX1-MIBv2.mib

package info (click to toggle)
erlang 1%3A17.3-dfsg-4%2Bdeb8u2
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 173,700 kB
  • sloc: erlang: 1,354,179; xml: 365,926; ansic: 325,720; cpp: 50,390; makefile: 23,663; java: 10,540; sh: 10,013; lisp: 8,056; python: 4,826; pascal: 3,263; asm: 2,904; perl: 2,853; tcl: 245; sed: 86
file content (104 lines) | stat: -rw-r--r-- 2,792 bytes parent folder | download | duplicates (17)
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
EX1-MIBv2 DEFINITIONS ::= BEGIN

IMPORTS
    MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,
    Integer32, snmpModules ,experimental
        FROM SNMPv2-SMI
    MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
        FROM SNMPv2-CONF
    DisplayString 
	FROM SNMPv2-TC
    RowStatus
	FROM STANDARD-MIB;
	

exampleModule MODULE-IDENTITY
	LAST-UPDATED "0005290000Z"
	ORGANIZATION "Erlang"
	CONTACT-INFO " test mib
			Ericsson Utvecklings AB
			Open System
			Box 1505
			SE-125 25 LVSJ"

	DESCRIPTION 
		" Objects for management "
	REVISION   "0005290000Z"
	DESCRIPTION 
		"The initial version"
	::= { snmpModules 1 }

example1 OBJECT IDENTIFIER ::= { experimental 7}
 

         myName OBJECT-TYPE
              SYNTAX      DisplayString
              MAX-ACCESS  read-write
              STATUS  current
              DESCRIPTION
                      "My own name"
              ::= { example1 1 }
 
          friendsTable OBJECT-TYPE
              SYNTAX  SEQUENCE OF FriendsEntry
              MAX-ACCESS  not-accessible
              STATUS   current
              DESCRIPTION
                      "A list of friends."
              ::= { example1 4 }
 
          friendsEntry OBJECT-TYPE
              SYNTAX  FriendsEntry
              MAX-ACCESS  not-accessible
              STATUS  current
              DESCRIPTION
                      ""
              INDEX   { fIndex }
              ::= { friendsTable 1 }
 
          FriendsEntry ::= SEQUENCE {
		fIndex   INTEGER,
                fName    DisplayString,
                fAddress DisplayString,
                fStatus  RowStatus
		}
 
          fIndex OBJECT-TYPE
              SYNTAX      INTEGER
              MAX-ACCESS  read-only
              STATUS      current
               DESCRIPTION
                      "number of friend"
              ::= { friendsEntry 1 }
 
          fName OBJECT-TYPE
              SYNTAX      DisplayString (SIZE (0..255))
              MAX-ACCESS  read-write
              STATUS      deprecated
              DESCRIPTION
                      "Name of  a friend"
              ::= { friendsEntry 2 }

          fAddress OBJECT-TYPE
              SYNTAX      DisplayString (SIZE (0..255))
              MAX-ACCESS  read-write
              STATUS      current
              DESCRIPTION
                      "Address of a friend"
              ::= { friendsEntry 3 }

           fStatus OBJECT-TYPE
              SYNTAX      RowStatus
              MAX-ACCESS  read-write
              STATUS      current
              DESCRIPTION
                      "The status of this conceptual row."
              ::= { friendsEntry 4 }

friendGroup OBJECT-GROUP
	OBJECTS { myName, fIndex, fName,fAddress, fStatus } 
	STATUS current
	DESCRIPTION " A object group"
	::= { example1 2 }

END