xref: /freebsd/contrib/bsnmp/snmp_ntp/NTP-MIB.txt (revision e1d581b289848ffa97c452756dc52d45efb68a01)
1d7eb6b47SHartmut Brandt--
2d7eb6b47SHartmut Brandt-- NTP MIB, Revision 0.2, 7/25/97
3d7eb6b47SHartmut Brandt--
4d7eb6b47SHartmut Brandt
5d7eb6b47SHartmut BrandtNTP-MIB DEFINITIONS ::= BEGIN
6d7eb6b47SHartmut Brandt
7d7eb6b47SHartmut BrandtIMPORTS
8d7eb6b47SHartmut Brandt    Integer32, IpAddress, MODULE-IDENTITY, OBJECT-TYPE, Unsigned32,
9d7eb6b47SHartmut Brandt    enterprises
10d7eb6b47SHartmut Brandt        FROM SNMPv2-SMI
11d7eb6b47SHartmut Brandt
12d7eb6b47SHartmut Brandt    TEXTUAL-CONVENTION, TruthValue
13d7eb6b47SHartmut Brandt        FROM SNMPv2-TC;
14d7eb6b47SHartmut Brandt
15d7eb6b47SHartmut BrandtntpMIB MODULE-IDENTITY
16d7eb6b47SHartmut Brandt    LAST-UPDATED "199707251530Z"
17d7eb6b47SHartmut Brandt    ORGANIZATION
18d7eb6b47SHartmut Brandt        "University of Delaware"
19d7eb6b47SHartmut Brandt    CONTACT-INFO
20d7eb6b47SHartmut Brandt        "Adarsh Sethi
21d7eb6b47SHartmut Brandt         Department of Computer & Information Sciences
22d7eb6b47SHartmut Brandt         University of Delaware
23d7eb6b47SHartmut Brandt         Newark, DE 19716
24d7eb6b47SHartmut Brandt         Tel: +1 302 831 1945
25d7eb6b47SHartmut Brandt         E-mail: sethi@cis.udel.edu
26d7eb6b47SHartmut Brandt
27d7eb6b47SHartmut Brandt         David Mills
28d7eb6b47SHartmut Brandt         Department of Electrical Engineering
29d7eb6b47SHartmut Brandt         University of Delaware
30d7eb6b47SHartmut Brandt         Newark, DE 19716
31d7eb6b47SHartmut Brandt         Tel: +1 302 831 ????
32d7eb6b47SHartmut Brandt         E-mail: mills@ee.udel.edu"
33d7eb6b47SHartmut Brandt    DESCRIPTION
34d7eb6b47SHartmut Brandt        "This MIB module defines a MIB which provides mechanisms to
35d7eb6b47SHartmut Brandt         monitor and control an NTP server."
36d7eb6b47SHartmut Brandt    ::= { udel 3 }
37d7eb6b47SHartmut Brandt
38d7eb6b47SHartmut Brandt--
39d7eb6b47SHartmut Brandt-- Position within the OID hierarchy of this MIB:
40d7eb6b47SHartmut Brandt--
41d7eb6b47SHartmut Brandtudel OBJECT IDENTIFIER
42d7eb6b47SHartmut Brandt    ::= { enterprises 1277 }
43d7eb6b47SHartmut Brandt
44d7eb6b47SHartmut Brandt--
45d7eb6b47SHartmut Brandt-- The various groups defined within this MIB definition:
46d7eb6b47SHartmut Brandt--
47d7eb6b47SHartmut BrandtntpSystem OBJECT IDENTIFIER
48d7eb6b47SHartmut Brandt    ::= { ntpMIB 1 }
49d7eb6b47SHartmut Brandt
50d7eb6b47SHartmut BrandtntpPeers OBJECT IDENTIFIER
51d7eb6b47SHartmut Brandt    ::= { ntpMIB 2 }
52d7eb6b47SHartmut Brandt
53d7eb6b47SHartmut BrandtntpFilter OBJECT IDENTIFIER
54d7eb6b47SHartmut Brandt    ::= { ntpMIB 3 }
55d7eb6b47SHartmut Brandt
56d7eb6b47SHartmut Brandt--
57d7eb6b47SHartmut Brandt-- Textual conventions:
58d7eb6b47SHartmut Brandt--
59d7eb6b47SHartmut Brandt
60d7eb6b47SHartmut BrandtNTPTimeStamp ::= TEXTUAL-CONVENTION
61d7eb6b47SHartmut Brandt    DISPLAY-HINT "4x.4x"
62d7eb6b47SHartmut Brandt    STATUS      current
63d7eb6b47SHartmut Brandt    DESCRIPTION
64d7eb6b47SHartmut Brandt        ""
65d7eb6b47SHartmut Brandt    SYNTAX      OCTET STRING (SIZE(8))
66d7eb6b47SHartmut Brandt
67d7eb6b47SHartmut BrandtNTPLeapIndicator ::= TEXTUAL-CONVENTION
68d7eb6b47SHartmut Brandt    STATUS      current
69d7eb6b47SHartmut Brandt    DESCRIPTION
70d7eb6b47SHartmut Brandt        ""
71d7eb6b47SHartmut Brandt    SYNTAX      INTEGER {
72d7eb6b47SHartmut Brandt		    noWarning(0),
73d7eb6b47SHartmut Brandt		    addSecond(1),
74d7eb6b47SHartmut Brandt		    subtractSecond(2),
75d7eb6b47SHartmut Brandt                    alarm(3) }
76d7eb6b47SHartmut Brandt
77d7eb6b47SHartmut Brandt--
78d7eb6b47SHartmut Brandt-- System Group
79d7eb6b47SHartmut Brandt--
80d7eb6b47SHartmut Brandt
81d7eb6b47SHartmut BrandtntpSysLeap OBJECT-TYPE
82d7eb6b47SHartmut Brandt    SYNTAX      NTPLeapIndicator
83d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
84d7eb6b47SHartmut Brandt    STATUS      current
85d7eb6b47SHartmut Brandt    DESCRIPTION
86d7eb6b47SHartmut Brandt        " two-bit code warning of an impending leap
87d7eb6b47SHartmut Brandt         second to be inserted in the NTP timescale."
88d7eb6b47SHartmut Brandt    ::= { ntpSystem 1 }
89d7eb6b47SHartmut Brandt
90d7eb6b47SHartmut BrandtntpSysStratum OBJECT-TYPE
91d7eb6b47SHartmut Brandt    SYNTAX      Integer32 (0..255)
92d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
93d7eb6b47SHartmut Brandt    STATUS      current
94d7eb6b47SHartmut Brandt    DESCRIPTION
95d7eb6b47SHartmut Brandt        " indicating the stratum of the local clock.
96d7eb6b47SHartmut Brandt         0, unspecified
97d7eb6b47SHartmut Brandt         1, primary reference (e.g.,, calibrated atomic clock,
98d7eb6b47SHartmut Brandt            radio clock)
99d7eb6b47SHartmut Brandt         2-255, secondary reference (via NTP)"
100d7eb6b47SHartmut Brandt    ::= { ntpSystem 2 }
101d7eb6b47SHartmut Brandt
102d7eb6b47SHartmut BrandtntpSysPrecision OBJECT-TYPE
103d7eb6b47SHartmut Brandt    SYNTAX      Integer32
104d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
105d7eb6b47SHartmut Brandt    STATUS      current
106d7eb6b47SHartmut Brandt    DESCRIPTION
107d7eb6b47SHartmut Brandt        "signed integer indicating the precision
108d7eb6b47SHartmut Brandt         of the various clocks, in seconds to the nearest power
109d7eb6b47SHartmut Brandt         of two."
110d7eb6b47SHartmut Brandt    ::= { ntpSystem 3 }
111d7eb6b47SHartmut Brandt
112d7eb6b47SHartmut BrandtntpSysRootDelay OBJECT-TYPE
113d7eb6b47SHartmut Brandt    SYNTAX      OCTET STRING
114d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
115d7eb6b47SHartmut Brandt    STATUS      current
116d7eb6b47SHartmut Brandt    DESCRIPTION
117d7eb6b47SHartmut Brandt        "the total roundtrip delay to the primary
118d7eb6b47SHartmut Brandt         reference source at the root of the synchronization
119d7eb6b47SHartmut Brandt         subnet, in seconds"
120d7eb6b47SHartmut Brandt    ::= { ntpSystem 4 }
121d7eb6b47SHartmut Brandt
122d7eb6b47SHartmut BrandtntpSysRootDispersion OBJECT-TYPE
123d7eb6b47SHartmut Brandt    SYNTAX      OCTET STRING
124d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
125d7eb6b47SHartmut Brandt    STATUS      current
126d7eb6b47SHartmut Brandt    DESCRIPTION
127d7eb6b47SHartmut Brandt        "the maximum error relative to the primary
128d7eb6b47SHartmut Brandt         reference source at the root of the synchronization
129d7eb6b47SHartmut Brandt         subnet, in seconds. Only positive values greater
130d7eb6b47SHartmut Brandt         than zero are possible"
131d7eb6b47SHartmut Brandt    ::= { ntpSystem 5 }
132d7eb6b47SHartmut Brandt
133d7eb6b47SHartmut BrandtntpSysRefId OBJECT-TYPE
134d7eb6b47SHartmut Brandt    SYNTAX      OCTET STRING
135d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
136d7eb6b47SHartmut Brandt    STATUS      current
137d7eb6b47SHartmut Brandt    DESCRIPTION
138d7eb6b47SHartmut Brandt        " the particular reference clock. In the case of
139d7eb6b47SHartmut Brandt         stratum 0 (unspecified) or stratum 1 (primary reference
140d7eb6b47SHartmut Brandt         source), this is a four-octet, left-justified,zero-padded
141d7eb6b47SHartmut Brandt         ASCII string.In the case of stratum 2 and greater (secondary
142d7eb6b47SHartmut Brandt         reference) this is the four-octet Internet address of the
143d7eb6b47SHartmut Brandt         peer selected for synchronization."
144d7eb6b47SHartmut Brandt    ::= { ntpSystem 6 }
145d7eb6b47SHartmut Brandt
146d7eb6b47SHartmut BrandtntpSysRefTime OBJECT-TYPE
147d7eb6b47SHartmut Brandt    SYNTAX      NTPTimeStamp
148d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
149d7eb6b47SHartmut Brandt    STATUS      current
150d7eb6b47SHartmut Brandt    DESCRIPTION
151d7eb6b47SHartmut Brandt        " the local time when the local clock was last
152d7eb6b47SHartmut Brandt         updated. If the local clock has neverbeen synchronized,
153d7eb6b47SHartmut Brandt         the value is zero."
154d7eb6b47SHartmut Brandt    ::= { ntpSystem 7 }
155d7eb6b47SHartmut Brandt
156d7eb6b47SHartmut BrandtntpSysPoll OBJECT-TYPE
157d7eb6b47SHartmut Brandt    SYNTAX      Integer32
158d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
159d7eb6b47SHartmut Brandt    STATUS      current
160d7eb6b47SHartmut Brandt    DESCRIPTION
161d7eb6b47SHartmut Brandt        " the minimum interval between transmitted
162d7eb6b47SHartmut Brandt         messages, in seconds as a power of two. For instance,
163d7eb6b47SHartmut Brandt         a value of six indicates a minimum interval of 64 seconds."
164d7eb6b47SHartmut Brandt    ::= { ntpSystem 8 }
165d7eb6b47SHartmut Brandt
166d7eb6b47SHartmut BrandtntpSysPeer OBJECT-TYPE
167d7eb6b47SHartmut Brandt    SYNTAX      Unsigned32
168d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
169d7eb6b47SHartmut Brandt    STATUS      current
170d7eb6b47SHartmut Brandt    DESCRIPTION
171d7eb6b47SHartmut Brandt        " the current synchronization source. Usually
172d7eb6b47SHartmut Brandt         this will be a pointer to a structure containing the peer
173d7eb6b47SHartmut Brandt         variables. The special value NULL indicates there is no
174d7eb6b47SHartmut Brandt         currently valid synchronization source."
175d7eb6b47SHartmut Brandt    ::= { ntpSystem 9 }
176d7eb6b47SHartmut Brandt
177d7eb6b47SHartmut BrandtntpSysPhase OBJECT-TYPE
178d7eb6b47SHartmut Brandt    SYNTAX      OCTET STRING
179d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
180d7eb6b47SHartmut Brandt    STATUS      current
181d7eb6b47SHartmut Brandt    DESCRIPTION
182d7eb6b47SHartmut Brandt        ""
183d7eb6b47SHartmut Brandt    ::= { ntpSystem 10 }
184d7eb6b47SHartmut Brandt
185d7eb6b47SHartmut BrandtntpSysFreq OBJECT-TYPE
186d7eb6b47SHartmut Brandt    SYNTAX      OCTET STRING
187d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
188d7eb6b47SHartmut Brandt    STATUS      current
189d7eb6b47SHartmut Brandt    DESCRIPTION
190d7eb6b47SHartmut Brandt        ""
191d7eb6b47SHartmut Brandt    ::= { ntpSystem 11 }
192d7eb6b47SHartmut Brandt
193d7eb6b47SHartmut BrandtntpSysError OBJECT-TYPE
194d7eb6b47SHartmut Brandt    SYNTAX      OCTET STRING
195d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
196d7eb6b47SHartmut Brandt    STATUS      current
197d7eb6b47SHartmut Brandt    DESCRIPTION
198d7eb6b47SHartmut Brandt        ""
199d7eb6b47SHartmut Brandt    ::= { ntpSystem 12 }
200d7eb6b47SHartmut Brandt
201d7eb6b47SHartmut BrandtntpSysClock OBJECT-TYPE
202d7eb6b47SHartmut Brandt    SYNTAX      NTPTimeStamp
203d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
204d7eb6b47SHartmut Brandt    STATUS      current
205d7eb6b47SHartmut Brandt    DESCRIPTION
206d7eb6b47SHartmut Brandt        "the current local time. Local time is derived
207d7eb6b47SHartmut Brandt         from the hardware clock of the particular machine and
208d7eb6b47SHartmut Brandt         increments at intervals depending on the design used."
209d7eb6b47SHartmut Brandt    ::= { ntpSystem 13 }
210d7eb6b47SHartmut Brandt
211d7eb6b47SHartmut BrandtntpSysSystem OBJECT-TYPE
212d7eb6b47SHartmut Brandt    SYNTAX      OCTET STRING
213d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
214d7eb6b47SHartmut Brandt    STATUS      current
215d7eb6b47SHartmut Brandt    DESCRIPTION
216d7eb6b47SHartmut Brandt        " the type of the local Operating System"
217d7eb6b47SHartmut Brandt    ::= { ntpSystem 14 }
218d7eb6b47SHartmut Brandt
219d7eb6b47SHartmut BrandtntpSysProcessor OBJECT-TYPE
220d7eb6b47SHartmut Brandt    SYNTAX      OCTET STRING
221d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
222d7eb6b47SHartmut Brandt    STATUS      current
223d7eb6b47SHartmut Brandt    DESCRIPTION
224d7eb6b47SHartmut Brandt        " the type of the local Processor"
225d7eb6b47SHartmut Brandt    ::= { ntpSystem 15 }
226d7eb6b47SHartmut Brandt
227d7eb6b47SHartmut Brandt--
228d7eb6b47SHartmut Brandt-- Peers Group
229d7eb6b47SHartmut Brandt--
230d7eb6b47SHartmut Brandt
231d7eb6b47SHartmut Brandt--
232d7eb6b47SHartmut Brandt-- Peer Variables Table
233d7eb6b47SHartmut Brandt--
234d7eb6b47SHartmut Brandt
235d7eb6b47SHartmut BrandtntpPeersVarTable OBJECT-TYPE
236d7eb6b47SHartmut Brandt    SYNTAX      SEQUENCE OF NtpPeersVarEntry
237d7eb6b47SHartmut Brandt    MAX-ACCESS  not-accessible
238d7eb6b47SHartmut Brandt    STATUS      current
239d7eb6b47SHartmut Brandt    DESCRIPTION
240d7eb6b47SHartmut Brandt        ""
241d7eb6b47SHartmut Brandt    ::= { ntpPeers 1 }
242d7eb6b47SHartmut Brandt
243d7eb6b47SHartmut BrandtntpPeersVarEntry OBJECT-TYPE
244d7eb6b47SHartmut Brandt    SYNTAX      NtpPeersVarEntry
245d7eb6b47SHartmut Brandt    MAX-ACCESS  not-accessible
246d7eb6b47SHartmut Brandt    STATUS      current
247d7eb6b47SHartmut Brandt    DESCRIPTION
248d7eb6b47SHartmut Brandt        ""
249d7eb6b47SHartmut Brandt    INDEX       { ntpPeersAssocId }
250d7eb6b47SHartmut Brandt    ::= { ntpPeersVarTable 1 }
251d7eb6b47SHartmut Brandt
252d7eb6b47SHartmut BrandtNtpPeersVarEntry ::= SEQUENCE {
253d7eb6b47SHartmut Brandt    ntpPeersAssocId         Unsigned32,
254d7eb6b47SHartmut Brandt    ntpPeersConfigured      TruthValue,
255d7eb6b47SHartmut Brandt    ntpPeersPeerAddress     IpAddress,
256d7eb6b47SHartmut Brandt    ntpPeersPeerPort        Unsigned32,
257d7eb6b47SHartmut Brandt    ntpPeersHostAddress     IpAddress,
258d7eb6b47SHartmut Brandt    ntpPeersHostPort        Unsigned32,
259d7eb6b47SHartmut Brandt    ntpPeersLeap            NTPLeapIndicator,
260d7eb6b47SHartmut Brandt    ntpPeersMode            INTEGER,
261d7eb6b47SHartmut Brandt    ntpPeersStratum         Integer32,
262d7eb6b47SHartmut Brandt    ntpPeersPeerPoll        Integer32,
263d7eb6b47SHartmut Brandt    ntpPeersHostPoll        Integer32,
264d7eb6b47SHartmut Brandt    ntpPeersPrecision       Integer32,
265d7eb6b47SHartmut Brandt    ntpPeersRootDelay       OCTET STRING,
266d7eb6b47SHartmut Brandt    ntpPeersRootDispersion  OCTET STRING,
267d7eb6b47SHartmut Brandt    ntpPeersRefId           OCTET STRING,
268d7eb6b47SHartmut Brandt    ntpPeersRefTime         NTPTimeStamp,
269d7eb6b47SHartmut Brandt    ntpPeersOrgTime         NTPTimeStamp,
270d7eb6b47SHartmut Brandt    ntpPeersReceiveTime     NTPTimeStamp,
271d7eb6b47SHartmut Brandt    ntpPeersTransmitTime    NTPTimeStamp,
272d7eb6b47SHartmut Brandt    ntpPeersUpdateTime      NTPTimeStamp,
273d7eb6b47SHartmut Brandt    ntpPeersReach           Unsigned32,
274d7eb6b47SHartmut Brandt    ntpPeersTimer           Integer32,
275d7eb6b47SHartmut Brandt    ntpPeersOffset          OCTET STRING,
276d7eb6b47SHartmut Brandt    ntpPeersDelay           OCTET STRING,
277d7eb6b47SHartmut Brandt    ntpPeersDispersion      OCTET STRING
278d7eb6b47SHartmut Brandt}
279d7eb6b47SHartmut Brandt
280d7eb6b47SHartmut BrandtntpPeersAssocId OBJECT-TYPE
281d7eb6b47SHartmut Brandt    SYNTAX      Unsigned32
282d7eb6b47SHartmut Brandt    MAX-ACCESS  not-accessible
283d7eb6b47SHartmut Brandt    STATUS      current
284d7eb6b47SHartmut Brandt    DESCRIPTION
285d7eb6b47SHartmut Brandt        ""
286d7eb6b47SHartmut Brandt    ::= { ntpPeersVarEntry 1 }
287d7eb6b47SHartmut Brandt
288d7eb6b47SHartmut BrandtntpPeersConfigured OBJECT-TYPE
289d7eb6b47SHartmut Brandt    SYNTAX      TruthValue
290d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
291d7eb6b47SHartmut Brandt    STATUS      current
292d7eb6b47SHartmut Brandt    DESCRIPTION
293d7eb6b47SHartmut Brandt        " This is a bit indicating that the association
294d7eb6b47SHartmut Brandt         was created from configuration information and should not
295d7eb6b47SHartmut Brandt         be demobilized if the peer becomes unreachable."
296d7eb6b47SHartmut Brandt    ::= { ntpPeersVarEntry 2 }
297d7eb6b47SHartmut Brandt
298d7eb6b47SHartmut BrandtntpPeersPeerAddress OBJECT-TYPE
299d7eb6b47SHartmut Brandt    SYNTAX      IpAddress
300d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
301d7eb6b47SHartmut Brandt    STATUS      current
302d7eb6b47SHartmut Brandt    DESCRIPTION
303d7eb6b47SHartmut Brandt        " the Internet address of the peer"
304d7eb6b47SHartmut Brandt    ::= { ntpPeersVarEntry 3 }
305d7eb6b47SHartmut Brandt
306d7eb6b47SHartmut BrandtntpPeersPeerPort OBJECT-TYPE
307d7eb6b47SHartmut Brandt    SYNTAX      Unsigned32
308d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
309d7eb6b47SHartmut Brandt    STATUS      current
310d7eb6b47SHartmut Brandt    DESCRIPTION
311d7eb6b47SHartmut Brandt        " 16-bit port number of the peer."
312d7eb6b47SHartmut Brandt    ::= { ntpPeersVarEntry 4 }
313d7eb6b47SHartmut Brandt
314d7eb6b47SHartmut BrandtntpPeersHostAddress OBJECT-TYPE
315d7eb6b47SHartmut Brandt    SYNTAX      IpAddress
316d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
317d7eb6b47SHartmut Brandt    STATUS      current
318d7eb6b47SHartmut Brandt    DESCRIPTION
319d7eb6b47SHartmut Brandt        " the Internet address of the host"
320d7eb6b47SHartmut Brandt    ::= { ntpPeersVarEntry 5 }
321d7eb6b47SHartmut Brandt
322d7eb6b47SHartmut BrandtntpPeersHostPort OBJECT-TYPE
323d7eb6b47SHartmut Brandt    SYNTAX      Unsigned32
324d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
325d7eb6b47SHartmut Brandt    STATUS      current
326d7eb6b47SHartmut Brandt    DESCRIPTION
327d7eb6b47SHartmut Brandt        " 16-bit port number of the host"
328d7eb6b47SHartmut Brandt    ::= { ntpPeersVarEntry 6 }
329d7eb6b47SHartmut Brandt
330d7eb6b47SHartmut BrandtntpPeersLeap OBJECT-TYPE
331d7eb6b47SHartmut Brandt    SYNTAX      NTPLeapIndicator
332d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
333d7eb6b47SHartmut Brandt    STATUS      current
334d7eb6b47SHartmut Brandt    DESCRIPTION
335d7eb6b47SHartmut Brandt        " two-bit code warning of an impending leap
336d7eb6b47SHartmut Brandt         second to be inserted in the NTP timescale."
337d7eb6b47SHartmut Brandt    ::= { ntpPeersVarEntry 7 }
338d7eb6b47SHartmut Brandt
339d7eb6b47SHartmut BrandtntpPeersMode OBJECT-TYPE
340d7eb6b47SHartmut Brandt    SYNTAX      INTEGER {
341d7eb6b47SHartmut Brandt		   unspecified(0),
342d7eb6b47SHartmut Brandt		   symmetricActive(1),
343d7eb6b47SHartmut Brandt                   symmetricPassive(2),
344d7eb6b47SHartmut Brandt		   client(3),
345d7eb6b47SHartmut Brandt		   server(4),
346d7eb6b47SHartmut Brandt                   broadcast(5),
347d7eb6b47SHartmut Brandt		   reservedControl(6),
348d7eb6b47SHartmut Brandt		   reservedPrivate(7)
349d7eb6b47SHartmut Brandt		}
350d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
351d7eb6b47SHartmut Brandt    STATUS      current
352d7eb6b47SHartmut Brandt    DESCRIPTION
353d7eb6b47SHartmut Brandt        " the association mode,with values coded as
354d7eb6b47SHartmut Brandt         follows:
355d7eb6b47SHartmut Brandt         0, unspecified
356d7eb6b47SHartmut Brandt         1, symmetric active
357d7eb6b47SHartmut Brandt         2, symmetric passive
358d7eb6b47SHartmut Brandt         3, client
359d7eb6b47SHartmut Brandt         4, server
360d7eb6b47SHartmut Brandt         5, broadcast
361d7eb6b47SHartmut Brandt         6, reserved for NTP control messages
362d7eb6b47SHartmut Brandt         7, reserved for private use
363d7eb6b47SHartmut Brandt         "
364d7eb6b47SHartmut Brandt    ::= { ntpPeersVarEntry 8 }
365d7eb6b47SHartmut Brandt
366d7eb6b47SHartmut BrandtntpPeersStratum OBJECT-TYPE
367d7eb6b47SHartmut Brandt    SYNTAX      Integer32 (0..255)
368d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
369d7eb6b47SHartmut Brandt    STATUS      current
370d7eb6b47SHartmut Brandt    DESCRIPTION
371d7eb6b47SHartmut Brandt        " indicating the stratum of the peer clock.
372d7eb6b47SHartmut Brandt         0, unspecified
373d7eb6b47SHartmut Brandt         1, primary reference (e.g.,, calibrated atomic clock,
374d7eb6b47SHartmut Brandt         radio clock)
375d7eb6b47SHartmut Brandt         2-255, secondary reference (via NTP)"
376d7eb6b47SHartmut Brandt    ::= { ntpPeersVarEntry 9 }
377d7eb6b47SHartmut Brandt
378d7eb6b47SHartmut BrandtntpPeersPeerPoll OBJECT-TYPE
379d7eb6b47SHartmut Brandt    SYNTAX      Integer32
380d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
381d7eb6b47SHartmut Brandt    STATUS      current
382d7eb6b47SHartmut Brandt    DESCRIPTION
383d7eb6b47SHartmut Brandt        "poll interval of the peer"
384d7eb6b47SHartmut Brandt    ::= { ntpPeersVarEntry 10 }
385d7eb6b47SHartmut Brandt
386d7eb6b47SHartmut BrandtntpPeersHostPoll OBJECT-TYPE
387d7eb6b47SHartmut Brandt    SYNTAX      Integer32
388d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
389d7eb6b47SHartmut Brandt    STATUS      current
390d7eb6b47SHartmut Brandt    DESCRIPTION
391d7eb6b47SHartmut Brandt        "poll interval of the host"
392d7eb6b47SHartmut Brandt    ::= { ntpPeersVarEntry 11 }
393d7eb6b47SHartmut Brandt
394d7eb6b47SHartmut BrandtntpPeersPrecision OBJECT-TYPE
395d7eb6b47SHartmut Brandt    SYNTAX      Integer32
396d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
397d7eb6b47SHartmut Brandt    STATUS      current
398d7eb6b47SHartmut Brandt    DESCRIPTION
399d7eb6b47SHartmut Brandt        "the same as the systemPrecision except this is
400d7eb6b47SHartmut Brandt         for the peer"
401d7eb6b47SHartmut Brandt    ::= { ntpPeersVarEntry 12 }
402d7eb6b47SHartmut Brandt
403d7eb6b47SHartmut BrandtntpPeersRootDelay OBJECT-TYPE
404d7eb6b47SHartmut Brandt    SYNTAX      OCTET STRING
405d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
406d7eb6b47SHartmut Brandt    STATUS      current
407d7eb6b47SHartmut Brandt    DESCRIPTION
408d7eb6b47SHartmut Brandt        "the same as the systemRootDealy except this is for
409d7eb6b47SHartmut Brandt         the peer"
410d7eb6b47SHartmut Brandt    ::= { ntpPeersVarEntry 13 }
411d7eb6b47SHartmut Brandt
412d7eb6b47SHartmut BrandtntpPeersRootDispersion OBJECT-TYPE
413d7eb6b47SHartmut Brandt    SYNTAX      OCTET STRING
414d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
415d7eb6b47SHartmut Brandt    STATUS      current
416d7eb6b47SHartmut Brandt    DESCRIPTION
417d7eb6b47SHartmut Brandt        "the same as the systemDispersion except this is for
418d7eb6b47SHartmut Brandt         the peer"
419d7eb6b47SHartmut Brandt    ::= { ntpPeersVarEntry 14 }
420d7eb6b47SHartmut Brandt
421d7eb6b47SHartmut BrandtntpPeersRefId OBJECT-TYPE
422d7eb6b47SHartmut Brandt    SYNTAX      OCTET STRING
423d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
424d7eb6b47SHartmut Brandt    STATUS      current
425d7eb6b47SHartmut Brandt    DESCRIPTION
426d7eb6b47SHartmut Brandt        "the same as the systemRefid except this is for
427d7eb6b47SHartmut Brandt         the peer"
428d7eb6b47SHartmut Brandt    ::= { ntpPeersVarEntry 15 }
429d7eb6b47SHartmut Brandt
430d7eb6b47SHartmut BrandtntpPeersRefTime OBJECT-TYPE
431d7eb6b47SHartmut Brandt    SYNTAX      NTPTimeStamp
432d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
433d7eb6b47SHartmut Brandt    STATUS      current
434d7eb6b47SHartmut Brandt    DESCRIPTION
435d7eb6b47SHartmut Brandt        "the same as the systemRefTime except this is for
436d7eb6b47SHartmut Brandt         the peer"
437d7eb6b47SHartmut Brandt    ::= { ntpPeersVarEntry 16 }
438d7eb6b47SHartmut Brandt
439d7eb6b47SHartmut BrandtntpPeersOrgTime OBJECT-TYPE
440d7eb6b47SHartmut Brandt    SYNTAX      NTPTimeStamp
441d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
442d7eb6b47SHartmut Brandt    STATUS      current
443d7eb6b47SHartmut Brandt    DESCRIPTION
444d7eb6b47SHartmut Brandt        " the local time at the peer when its latest
445d7eb6b47SHartmut Brandt         NTP message was sent. If the peer becomes unreachable the
446d7eb6b47SHartmut Brandt         value is set to zero."
447d7eb6b47SHartmut Brandt    ::= { ntpPeersVarEntry 17 }
448d7eb6b47SHartmut Brandt
449d7eb6b47SHartmut BrandtntpPeersReceiveTime OBJECT-TYPE
450d7eb6b47SHartmut Brandt    SYNTAX      NTPTimeStamp
451d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
452d7eb6b47SHartmut Brandt    STATUS      current
453d7eb6b47SHartmut Brandt    DESCRIPTION
454d7eb6b47SHartmut Brandt        "the local time when the latest NTP message
455d7eb6b47SHartmut Brandt         from the peer arrived. If the peer becomes unreachable the
456d7eb6b47SHartmut Brandt         value is set to zero."
457d7eb6b47SHartmut Brandt    ::= { ntpPeersVarEntry 18 }
458d7eb6b47SHartmut Brandt
459d7eb6b47SHartmut BrandtntpPeersTransmitTime OBJECT-TYPE
460d7eb6b47SHartmut Brandt    SYNTAX      NTPTimeStamp
461d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
462d7eb6b47SHartmut Brandt    STATUS      current
463d7eb6b47SHartmut Brandt    DESCRIPTION
464d7eb6b47SHartmut Brandt        "the local time at which the NTP message
465d7eb6b47SHartmut Brandt         departed the sender."
466d7eb6b47SHartmut Brandt    ::= { ntpPeersVarEntry 19 }
467d7eb6b47SHartmut Brandt
468d7eb6b47SHartmut BrandtntpPeersUpdateTime OBJECT-TYPE
469d7eb6b47SHartmut Brandt    SYNTAX      NTPTimeStamp
470d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
471d7eb6b47SHartmut Brandt    STATUS      current
472d7eb6b47SHartmut Brandt    DESCRIPTION
473d7eb6b47SHartmut Brandt        " "
474d7eb6b47SHartmut Brandt    ::= { ntpPeersVarEntry 20 }
475d7eb6b47SHartmut Brandt
476d7eb6b47SHartmut BrandtntpPeersReach OBJECT-TYPE
477d7eb6b47SHartmut Brandt    SYNTAX      Unsigned32
478d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
479d7eb6b47SHartmut Brandt    STATUS      current
480d7eb6b47SHartmut Brandt    DESCRIPTION
481d7eb6b47SHartmut Brandt        "a shift register of NTP.WINDOW bits used to determine
482d7eb6b47SHartmut Brandt         the reachability status of the peer, with bits entering
483d7eb6b47SHartmut Brandt         from the least significant (rightmost) end. A peer is
484d7eb6b47SHartmut Brandt         considered reachable if at least one bit in this register is
485d7eb6b47SHartmut Brandt         set to one."
486d7eb6b47SHartmut Brandt    ::= { ntpPeersVarEntry 21 }
487d7eb6b47SHartmut Brandt
488d7eb6b47SHartmut BrandtntpPeersTimer OBJECT-TYPE
489d7eb6b47SHartmut Brandt    SYNTAX      Integer32
490d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
491d7eb6b47SHartmut Brandt    STATUS      current
492d7eb6b47SHartmut Brandt    DESCRIPTION
493d7eb6b47SHartmut Brandt        ""
494d7eb6b47SHartmut Brandt    ::= { ntpPeersVarEntry 22 }
495d7eb6b47SHartmut Brandt
496d7eb6b47SHartmut BrandtntpPeersOffset OBJECT-TYPE
497d7eb6b47SHartmut Brandt    SYNTAX      OCTET STRING
498d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
499d7eb6b47SHartmut Brandt    STATUS      current
500d7eb6b47SHartmut Brandt    DESCRIPTION
501d7eb6b47SHartmut Brandt        ""
502d7eb6b47SHartmut Brandt    ::= { ntpPeersVarEntry 23 }
503d7eb6b47SHartmut Brandt
504d7eb6b47SHartmut BrandtntpPeersDelay OBJECT-TYPE
505d7eb6b47SHartmut Brandt    SYNTAX      OCTET STRING
506d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
507d7eb6b47SHartmut Brandt    STATUS      current
508d7eb6b47SHartmut Brandt    DESCRIPTION
509d7eb6b47SHartmut Brandt        ""
510d7eb6b47SHartmut Brandt    ::= { ntpPeersVarEntry 24 }
511d7eb6b47SHartmut Brandt
512d7eb6b47SHartmut BrandtntpPeersDispersion OBJECT-TYPE
513d7eb6b47SHartmut Brandt    SYNTAX      OCTET STRING
514d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
515d7eb6b47SHartmut Brandt    STATUS      current
516d7eb6b47SHartmut Brandt    DESCRIPTION
517d7eb6b47SHartmut Brandt        ""
518d7eb6b47SHartmut Brandt    ::= { ntpPeersVarEntry 25 }
519d7eb6b47SHartmut Brandt
520d7eb6b47SHartmut Brandt--
521d7eb6b47SHartmut Brandt-- Filter Group
522d7eb6b47SHartmut Brandt--
523d7eb6b47SHartmut Brandt-- Implementation of this group is optional. It must be implemented
524d7eb6b47SHartmut Brandt-- when the filter and selection algorithms described in Section 4
525d7eb6b47SHartmut Brandt-- of RFC 1305 are used.
526d7eb6b47SHartmut Brandt--
527d7eb6b47SHartmut Brandt
528d7eb6b47SHartmut Brandt--
529d7eb6b47SHartmut Brandt-- Filter Group Peer Variables Table
530d7eb6b47SHartmut Brandt--
531d7eb6b47SHartmut BrandtntpFilterPeersVarTable OBJECT-TYPE
532d7eb6b47SHartmut Brandt    SYNTAX      SEQUENCE OF NtpFilterPeersVarEntry
533d7eb6b47SHartmut Brandt    MAX-ACCESS  not-accessible
534d7eb6b47SHartmut Brandt    STATUS      current
535d7eb6b47SHartmut Brandt    DESCRIPTION
536d7eb6b47SHartmut Brandt        "This table is an extension of the Peer Variables Table
537d7eb6b47SHartmut Brandt         in the Peer Group."
538d7eb6b47SHartmut Brandt    ::= { ntpFilter 1 }
539d7eb6b47SHartmut Brandt
540d7eb6b47SHartmut BrandtntpFilterPeersVarEntry OBJECT-TYPE
541d7eb6b47SHartmut Brandt    SYNTAX      NtpFilterPeersVarEntry
542d7eb6b47SHartmut Brandt    MAX-ACCESS  not-accessible
543d7eb6b47SHartmut Brandt    STATUS      current
544d7eb6b47SHartmut Brandt    DESCRIPTION
545d7eb6b47SHartmut Brandt        ""
546d7eb6b47SHartmut Brandt    AUGMENTS    { ntpPeersVarEntry }
547d7eb6b47SHartmut Brandt    ::= { ntpFilterPeersVarTable 1 }
548d7eb6b47SHartmut Brandt
549d7eb6b47SHartmut BrandtNtpFilterPeersVarEntry ::= SEQUENCE {
550d7eb6b47SHartmut Brandt    ntpFilterValidEntries   Integer32
551d7eb6b47SHartmut Brandt}
552d7eb6b47SHartmut Brandt
553d7eb6b47SHartmut BrandtntpFilterValidEntries OBJECT-TYPE
554d7eb6b47SHartmut Brandt    SYNTAX      Integer32
555d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
556d7eb6b47SHartmut Brandt    STATUS      current
557d7eb6b47SHartmut Brandt    DESCRIPTION
558d7eb6b47SHartmut Brandt        "The number of valid entries for a peer in the Filter Register Table."
559d7eb6b47SHartmut Brandt    ::= { ntpFilterPeersVarEntry 1 }
560d7eb6b47SHartmut Brandt
561d7eb6b47SHartmut Brandt--
562d7eb6b47SHartmut Brandt-- Filter Register Table
563d7eb6b47SHartmut Brandt--
564d7eb6b47SHartmut Brandt
565d7eb6b47SHartmut BrandtntpFilterRegisterTable OBJECT-TYPE
566d7eb6b47SHartmut Brandt    SYNTAX      SEQUENCE OF NtpFilterRegisterEntry
567d7eb6b47SHartmut Brandt    MAX-ACCESS  not-accessible
568d7eb6b47SHartmut Brandt    STATUS      current
569d7eb6b47SHartmut Brandt    DESCRIPTION
570d7eb6b47SHartmut Brandt        ""
571d7eb6b47SHartmut Brandt    ::= { ntpFilter 2 }
572d7eb6b47SHartmut Brandt
573d7eb6b47SHartmut BrandtntpFilterRegisterEntry OBJECT-TYPE
574d7eb6b47SHartmut Brandt    SYNTAX      NtpFilterRegisterEntry
575d7eb6b47SHartmut Brandt    MAX-ACCESS  not-accessible
576d7eb6b47SHartmut Brandt    STATUS      current
577d7eb6b47SHartmut Brandt    DESCRIPTION
578d7eb6b47SHartmut Brandt        ""
579d7eb6b47SHartmut Brandt    INDEX       { ntpPeersAssocId, ntpFilterIndex }
580d7eb6b47SHartmut Brandt    ::= { ntpFilterRegisterTable 1 }
581d7eb6b47SHartmut Brandt
582d7eb6b47SHartmut BrandtNtpFilterRegisterEntry ::= SEQUENCE {
583d7eb6b47SHartmut Brandt    ntpFilterIndex              Unsigned32,
584d7eb6b47SHartmut Brandt    ntpFilterPeersOffset        OCTET STRING,
585d7eb6b47SHartmut Brandt    ntpFilterPeersDelay         OCTET STRING,
586d7eb6b47SHartmut Brandt    ntpFilterPeersDispersion    OCTET STRING
587d7eb6b47SHartmut Brandt}
588d7eb6b47SHartmut Brandt
589d7eb6b47SHartmut BrandtntpFilterIndex OBJECT-TYPE
590d7eb6b47SHartmut Brandt    SYNTAX      Unsigned32
591d7eb6b47SHartmut Brandt    MAX-ACCESS  not-accessible
592d7eb6b47SHartmut Brandt    STATUS      current
593d7eb6b47SHartmut Brandt    DESCRIPTION
594d7eb6b47SHartmut Brandt        ""
595d7eb6b47SHartmut Brandt    ::= { ntpFilterRegisterEntry 1 }
596d7eb6b47SHartmut Brandt
597d7eb6b47SHartmut BrandtntpFilterPeersOffset OBJECT-TYPE
598d7eb6b47SHartmut Brandt    SYNTAX      OCTET STRING
599d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
600d7eb6b47SHartmut Brandt    STATUS      current
601d7eb6b47SHartmut Brandt    DESCRIPTION
602d7eb6b47SHartmut Brandt        "the offset of the peer clock relative to the
603d7eb6b47SHartmut Brandt         local clock in seconds"
604d7eb6b47SHartmut Brandt    ::= { ntpFilterRegisterEntry 2 }
605d7eb6b47SHartmut Brandt
606d7eb6b47SHartmut BrandtntpFilterPeersDelay OBJECT-TYPE
607d7eb6b47SHartmut Brandt    SYNTAX      OCTET STRING
608d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
609d7eb6b47SHartmut Brandt    STATUS      current
610d7eb6b47SHartmut Brandt    DESCRIPTION
611d7eb6b47SHartmut Brandt        "roundtrip delay of the peer clock relative to the
612d7eb6b47SHartmut Brandt         local clock over the network path between them, in seconds.
613d7eb6b47SHartmut Brandt         this variable can take on both positive and negative values,
614d7eb6b47SHartmut Brandt         depending on clock precision and skew-error accumulation."
615d7eb6b47SHartmut Brandt    ::= { ntpFilterRegisterEntry 3 }
616d7eb6b47SHartmut Brandt
617d7eb6b47SHartmut BrandtntpFilterPeersDispersion OBJECT-TYPE
618d7eb6b47SHartmut Brandt    SYNTAX      OCTET STRING
619d7eb6b47SHartmut Brandt    MAX-ACCESS  read-only
620d7eb6b47SHartmut Brandt    STATUS      current
621d7eb6b47SHartmut Brandt    DESCRIPTION
622d7eb6b47SHartmut Brandt        "the maximum error of the peer clock relative to the
623d7eb6b47SHartmut Brandt         local clock over the network path between them, in seconds.
624d7eb6b47SHartmut Brandt         Only positive values greater than zero are possible."
625d7eb6b47SHartmut Brandt    ::= { ntpFilterRegisterEntry 4 }
626d7eb6b47SHartmut Brandt
627d7eb6b47SHartmut BrandtEND
628