github.com/influxdata/telegraf@v1.30.3/internal/snmp/testdata/gosmi/fooImports (about) 1 fooImports DEFINITIONS ::= BEGIN 2 3 -- the path to the root 4 5 org OBJECT IDENTIFIER ::= { iso 1 } -- "iso" = 1 6 dod OBJECT IDENTIFIER ::= { org 2 } 7 internet OBJECT IDENTIFIER ::= { dod 3 } 8 9 ExtUTCTime ::= OCTET STRING(SIZE(11 | 13)) 10 -- format is YYMMDDHHMMZ or YYYYMMDDHHMMZ 11 12 -- where: YY - last two digits of year (only years 13 -- between 1900-1999) 14 -- YYYY - last four digits of the year (any year) 15 -- MM - month (01 through 12) 16 -- DD - day of month (01 through 31) 17 -- HH - hours (00 through 23) 18 -- MM - minutes (00 through 59) 19 -- Z - denotes GMT (the ASCII character Z) 20 -- 21 -- For example, "9502192015Z" and "199502192015Z" represent 22 -- 8:15pm GMT on 19 February 1995. Years after 1999 must use 23 -- the four digit year format. Years 1900-1999 may use the 24 -- two or four digit format. 25 26 -- definitions for information modules 27 28 MODULE-IDENTITY MACRO ::= 29 BEGIN 30 TYPE NOTATION ::= 31 "LAST-UPDATED" value(Update ExtUTCTime) 32 "ORGANIZATION" Text 33 "CONTACT-INFO" Text 34 "DESCRIPTION" Text 35 RevisionPart 36 37 VALUE NOTATION ::= 38 value(VALUE OBJECT IDENTIFIER) 39 40 RevisionPart ::= 41 Revisions 42 | empty 43 Revisions ::= 44 Revision 45 | Revisions Revision 46 Revision ::= 47 "REVISION" value(Update ExtUTCTime) 48 "DESCRIPTION" Text 49 50 -- a character string as defined in section 3.1.1 51 Text ::= value(IA5String) 52 END 53 54 OBJECT-IDENTITY MACRO ::= 55 BEGIN 56 TYPE NOTATION ::= 57 "STATUS" Status 58 "DESCRIPTION" Text 59 60 ReferPart 61 62 VALUE NOTATION ::= 63 value(VALUE OBJECT IDENTIFIER) 64 65 Status ::= 66 "current" 67 | "deprecated" 68 | "obsolete" 69 70 ReferPart ::= 71 "REFERENCE" Text 72 | empty 73 74 -- a character string as defined in section 3.1.1 75 Text ::= value(IA5String) 76 END 77 78 -- names of objects 79 -- (Note that these definitions of ObjectName and NotificationName 80 -- are not to be IMPORTed by MIB modules.) 81 82 ObjectName ::= 83 OBJECT IDENTIFIER 84 85 NotificationName ::= 86 OBJECT IDENTIFIER 87 88 89 -- indistinguishable from INTEGER, but never needs more than 90 -- 32-bits for a two's complement representation 91 Integer32 ::= 92 INTEGER (-2147483648..2147483647) 93 94 95 96 -- definition for objects 97 98 OBJECT-TYPE MACRO ::= 99 BEGIN 100 TYPE NOTATION ::= 101 UnitsPart 102 "MAX-ACCESS" Access 103 "STATUS" Status 104 "DESCRIPTION" Text 105 ReferPart 106 107 IndexPart 108 DefValPart 109 110 VALUE NOTATION ::= 111 value(VALUE ObjectName) 112 113 NamedBits ::= NamedBit 114 | NamedBits "," NamedBit 115 116 NamedBit ::= identifier "(" number ")" -- number is nonnegative 117 118 UnitsPart ::= 119 "UNITS" Text 120 | empty 121 122 Access ::= 123 "not-accessible" 124 | "accessible-for-notify" 125 | "read-only" 126 | "read-write" 127 | "read-create" 128 129 Status ::= 130 "current" 131 | "deprecated" 132 | "obsolete" 133 134 ReferPart ::= 135 "REFERENCE" Text 136 | empty 137 138 IndexPart ::= 139 "INDEX" "{" IndexTypes "}" 140 | "AUGMENTS" "{" Entry "}" 141 | empty 142 IndexTypes ::= 143 IndexType 144 | IndexTypes "," IndexType 145 IndexType ::= 146 "IMPLIED" Index 147 | Index 148 149 Entry ::= 150 -- use the INDEX value of the 151 -- correspondent OBJECT-TYPE invocation 152 value(ObjectName) 153 154 DefValPart ::= "DEFVAL" "{" Defvalue "}" 155 | empty 156 157 BitsValue ::= BitNames 158 | empty 159 160 BitNames ::= BitName 161 | BitNames "," BitName 162 163 BitName ::= identifier 164 165 -- a character string as defined in section 3.1.1 166 Text ::= value(IA5String) 167 END 168 169 END