xref: /freebsd/contrib/ntp/ntpsnmpd/ntpv4-mib.mib (revision 416ba5c74546f32a993436a99516d35008e9f384)
1*2b15cb3dSCy Schubert-- *********************************************************************
2*2b15cb3dSCy Schubert--
3*2b15cb3dSCy Schubert--    The Network Time Protocol Version 4
4*2b15cb3dSCy Schubert--    Management Information Base (MIB)
5*2b15cb3dSCy Schubert--
6*2b15cb3dSCy Schubert--    Authors: Heiko Gerstung (heiko.gerstung@meinberg.de)
7*2b15cb3dSCy Schubert--             Chris Elliott (chelliot@pobox.com)
8*2b15cb3dSCy Schubert--
9*2b15cb3dSCy Schubert--    for the Internet Engineering Task Force (IETF)
10*2b15cb3dSCy Schubert--    NTP Working Group (ntpwg)
11*2b15cb3dSCy Schubert--
12*2b15cb3dSCy Schubert--
13*2b15cb3dSCy Schubert-- *********************************************************************
14*2b15cb3dSCy Schubert--   Rev 1.00
15*2b15cb3dSCy Schubert--         Published as RFC 5907
16*2b15cb3dSCy Schubert--
17*2b15cb3dSCy Schubert-- *********************************************************************
18*2b15cb3dSCy Schubert
19*2b15cb3dSCy SchubertNTPv4-MIB DEFINITIONS ::= BEGIN
20*2b15cb3dSCy Schubert
21*2b15cb3dSCy SchubertIMPORTS
22*2b15cb3dSCy Schubert    MODULE-IDENTITY, OBJECT-TYPE , mib-2, Integer32, NOTIFICATION-TYPE,
23*2b15cb3dSCy Schubert    Unsigned32, Counter32, TimeTicks
24*2b15cb3dSCy Schubert        FROM SNMPv2-SMI -- RFC 2578
25*2b15cb3dSCy Schubert    MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
26*2b15cb3dSCy Schubert        FROM SNMPv2-CONF -- RFC 2580
27*2b15cb3dSCy Schubert    DisplayString, TEXTUAL-CONVENTION
28*2b15cb3dSCy Schubert        FROM SNMPv2-TC -- RFC 2579
29*2b15cb3dSCy Schubert    InetAddressType, InetAddress
30*2b15cb3dSCy Schubert        FROM INET-ADDRESS-MIB -- RFC 4001
31*2b15cb3dSCy Schubert    Utf8String
32*2b15cb3dSCy Schubert        FROM SYSAPPL-MIB; -- RFC 2287
33*2b15cb3dSCy Schubert
34*2b15cb3dSCy SchubertntpSnmpMIB MODULE-IDENTITY
35*2b15cb3dSCy Schubert    LAST-UPDATED "201005170000Z" -- May 17, 2010
36*2b15cb3dSCy Schubert    ORGANIZATION "The IETF NTP Working Group (ntpwg)"
37*2b15cb3dSCy Schubert    CONTACT-INFO
38*2b15cb3dSCy Schubert            "     WG Email: ntpwg@lists.ntp.isc.org
39*2b15cb3dSCy Schubert                  Subscribe:
40*2b15cb3dSCy Schubert                   https://lists.ntp.isc.org/mailman/listinfo/ntpwg
41*2b15cb3dSCy Schubert
42*2b15cb3dSCy Schubert                  Heiko Gerstung
43*2b15cb3dSCy Schubert                  Meinberg Funkuhren Gmbh & Co. KG
44*2b15cb3dSCy Schubert                  Lange Wand 9
45*2b15cb3dSCy Schubert                  Bad Pyrmont  31812
46*2b15cb3dSCy Schubert                  Germany
47*2b15cb3dSCy Schubert
48*2b15cb3dSCy Schubert                  Phone: +49 5281 9309 25
49*2b15cb3dSCy Schubert                  Email: heiko.gerstung@meinberg.de
50*2b15cb3dSCy Schubert
51*2b15cb3dSCy Schubert                  Chris Elliott
52*2b15cb3dSCy Schubert                  1516 Kent St.
53*2b15cb3dSCy Schubert                  Durham, NC 27707
54*2b15cb3dSCy Schubert                  USA
55*2b15cb3dSCy Schubert
56*2b15cb3dSCy Schubert                  Phone: +1-919-308-1216
57*2b15cb3dSCy Schubert                  Email: chelliot@pobox.com
58*2b15cb3dSCy Schubert
59*2b15cb3dSCy Schubert                  Brian Haberman
60*2b15cb3dSCy Schubert                  11100 Johns Hopkins Road
61*2b15cb3dSCy Schubert                  Laurel, MD 20723
62*2b15cb3dSCy Schubert                  USA
63*2b15cb3dSCy Schubert
64*2b15cb3dSCy Schubert                  Phone: +1-443-778-1319
65*2b15cb3dSCy Schubert                  Email: brian@innovationslab.net"
66*2b15cb3dSCy Schubert     DESCRIPTION
67*2b15cb3dSCy Schubert        "The Management Information Base for NTP time entities.
68*2b15cb3dSCy Schubert
69*2b15cb3dSCy Schubert         Copyright (c) 2010 IETF Trust and the persons identified as
70*2b15cb3dSCy Schubert         authors of the code.  All rights reserved.
71*2b15cb3dSCy Schubert
72*2b15cb3dSCy Schubert         Redistribution and use in source and binary forms, with or
73*2b15cb3dSCy Schubert         without modification, is permitted pursuant to, and subject
74*2b15cb3dSCy Schubert         to the license terms contained in, the Simplified BSD License
75*2b15cb3dSCy Schubert         set forth in Section 4.c of the IETF Trust's Legal Provisions
76*2b15cb3dSCy Schubert         Relating to IETF Documents
77*2b15cb3dSCy Schubert         (http://trustee.ietf.org/license-info)."
78*2b15cb3dSCy Schubert
79*2b15cb3dSCy Schubert    REVISION     "201005170000Z"
80*2b15cb3dSCy Schubert    DESCRIPTION
81*2b15cb3dSCy Schubert        "This revision of the MIB module is published as RFC 5907."
82*2b15cb3dSCy Schubert
83*2b15cb3dSCy Schubert    ::= { mib-2 197 }
84*2b15cb3dSCy Schubert
85*2b15cb3dSCy SchubertntpSnmpMIBObjects  OBJECT IDENTIFIER ::= { ntpSnmpMIB 1 }
86*2b15cb3dSCy Schubert
87*2b15cb3dSCy Schubert-- MIB contains 6 groups
88*2b15cb3dSCy Schubert
89*2b15cb3dSCy SchubertntpEntInfo         OBJECT IDENTIFIER ::= { ntpSnmpMIBObjects 1 }
90*2b15cb3dSCy SchubertntpEntStatus       OBJECT IDENTIFIER ::= { ntpSnmpMIBObjects 2 }
91*2b15cb3dSCy SchubertntpAssociation     OBJECT IDENTIFIER ::= { ntpSnmpMIBObjects 3 }
92*2b15cb3dSCy SchubertntpEntControl      OBJECT IDENTIFIER ::= { ntpSnmpMIBObjects 4 }
93*2b15cb3dSCy SchubertntpEntNotifObjects OBJECT IDENTIFIER ::= { ntpSnmpMIBObjects 5 }
94*2b15cb3dSCy Schubert
95*2b15cb3dSCy Schubert--
96*2b15cb3dSCy Schubert-- Textual Conventions
97*2b15cb3dSCy Schubert--
98*2b15cb3dSCy Schubert
99*2b15cb3dSCy SchubertNtpStratum ::= TEXTUAL-CONVENTION
100*2b15cb3dSCy Schubert    DISPLAY-HINT "d"
101*2b15cb3dSCy Schubert    STATUS      current
102*2b15cb3dSCy Schubert    DESCRIPTION
103*2b15cb3dSCy Schubert        "The NTP stratum, with 16 representing no stratum."
104*2b15cb3dSCy Schubert    SYNTAX      Unsigned32 (1..16)
105*2b15cb3dSCy Schubert
106*2b15cb3dSCy SchubertNtpDateTime ::= TEXTUAL-CONVENTION
107*2b15cb3dSCy Schubert    DISPLAY-HINT "4d:4d:4d.4d"
108*2b15cb3dSCy Schubert    STATUS      current
109*2b15cb3dSCy Schubert    DESCRIPTION
110*2b15cb3dSCy Schubert        "NTP date/time on the device, in 128-bit
111*2b15cb3dSCy Schubert         NTP date format.  If time is not syncronized, this
112*2b15cb3dSCy Schubert         field shall be a zero-length string.
113*2b15cb3dSCy Schubert
114*2b15cb3dSCy Schubert         This trusted certificate (TC) is not to be used for objects
115*2b15cb3dSCy Schubert         that are used to set the time of the node querying this
116*2b15cb3dSCy Schubert         object.  NTP should be used for this -- or at least SNTP."
117*2b15cb3dSCy Schubert    REFERENCE "RFC 5905, section 6"
118*2b15cb3dSCy Schubert    SYNTAX      OCTET STRING (SIZE (0 | 16))
119*2b15cb3dSCy Schubert
120*2b15cb3dSCy Schubert--
121*2b15cb3dSCy Schubert-- Section 1: General NTP Entity information objects
122*2b15cb3dSCy Schubert--            (relatively static information)
123*2b15cb3dSCy Schubert--
124*2b15cb3dSCy Schubert
125*2b15cb3dSCy SchubertntpEntSoftwareName OBJECT-TYPE
126*2b15cb3dSCy Schubert    SYNTAX      Utf8String
127*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
128*2b15cb3dSCy Schubert    STATUS      current
129*2b15cb3dSCy Schubert    DESCRIPTION
130*2b15cb3dSCy Schubert        "The product name of the running NTP version, e.g., 'ntpd'."
131*2b15cb3dSCy Schubert    ::= { ntpEntInfo  1 }
132*2b15cb3dSCy Schubert
133*2b15cb3dSCy SchubertntpEntSoftwareVersion OBJECT-TYPE
134*2b15cb3dSCy Schubert    SYNTAX      Utf8String
135*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
136*2b15cb3dSCy Schubert    STATUS      current
137*2b15cb3dSCy Schubert    DESCRIPTION
138*2b15cb3dSCy Schubert        "The software version of the installed NTP implementation
139*2b15cb3dSCy Schubert         as a full version string, e.g., 'ntpd-4.2.0b@1.1433 ...'"
140*2b15cb3dSCy Schubert    ::= { ntpEntInfo  2 }
141*2b15cb3dSCy Schubert
142*2b15cb3dSCy SchubertntpEntSoftwareVendor OBJECT-TYPE
143*2b15cb3dSCy Schubert    SYNTAX      Utf8String
144*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
145*2b15cb3dSCy Schubert    STATUS      current
146*2b15cb3dSCy Schubert    DESCRIPTION
147*2b15cb3dSCy Schubert        "The vendor/author of the installed NTP version."
148*2b15cb3dSCy Schubert    ::= { ntpEntInfo  3 }
149*2b15cb3dSCy Schubert
150*2b15cb3dSCy SchubertntpEntSystemType OBJECT-TYPE
151*2b15cb3dSCy Schubert    SYNTAX      Utf8String
152*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
153*2b15cb3dSCy Schubert    STATUS      current
154*2b15cb3dSCy Schubert    DESCRIPTION
155*2b15cb3dSCy Schubert        "General hardware/os platform information,
156*2b15cb3dSCy Schubert         e.g., 'Linux 2.6.12 / x86'."
157*2b15cb3dSCy Schubert    -- freely configurable, default is OS Version / Hardware platform
158*2b15cb3dSCy Schubert    ::= { ntpEntInfo  4 }
159*2b15cb3dSCy Schubert
160*2b15cb3dSCy SchubertntpEntTimeResolution OBJECT-TYPE
161*2b15cb3dSCy Schubert    SYNTAX      Unsigned32
162*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
163*2b15cb3dSCy Schubert    STATUS      current
164*2b15cb3dSCy Schubert    DESCRIPTION
165*2b15cb3dSCy Schubert        "The time resolution in integer format, where the resolution
166*2b15cb3dSCy Schubert        is represented as divisions of a second, e.g., a value of 1000
167*2b15cb3dSCy Schubert        translates to 1.0 ms."
168*2b15cb3dSCy Schubert    ::= { ntpEntInfo  5 }
169*2b15cb3dSCy Schubert
170*2b15cb3dSCy SchubertntpEntTimePrecision OBJECT-TYPE
171*2b15cb3dSCy Schubert    SYNTAX      Integer32
172*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
173*2b15cb3dSCy Schubert    STATUS      current
174*2b15cb3dSCy Schubert    DESCRIPTION
175*2b15cb3dSCy Schubert        "The entity's precision in integer format, shows the precision.
176*2b15cb3dSCy Schubert         A value of -5 would mean 2^-5 = 31.25 ms."
177*2b15cb3dSCy Schubert    ::= { ntpEntInfo  6 }
178*2b15cb3dSCy Schubert
179*2b15cb3dSCy SchubertntpEntTimeDistance OBJECT-TYPE
180*2b15cb3dSCy Schubert    SYNTAX      DisplayString
181*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
182*2b15cb3dSCy Schubert    STATUS      current
183*2b15cb3dSCy Schubert    DESCRIPTION
184*2b15cb3dSCy Schubert        "The distance from this NTP entity to the root time reference
185*2b15cb3dSCy Schubert        (stratum 0) source including the unit, e.g., '13.243 ms'."
186*2b15cb3dSCy Schubert    ::= { ntpEntInfo  7 }
187*2b15cb3dSCy Schubert
188*2b15cb3dSCy Schubert--
189*2b15cb3dSCy Schubert-- Section 2: Current NTP status (dynamic information)
190*2b15cb3dSCy Schubert--
191*2b15cb3dSCy Schubert
192*2b15cb3dSCy SchubertntpEntStatusCurrentMode OBJECT-TYPE
193*2b15cb3dSCy Schubert    SYNTAX      INTEGER {
194*2b15cb3dSCy Schubert                            notRunning(1),
195*2b15cb3dSCy Schubert                            notSynchronized(2),
196*2b15cb3dSCy Schubert                            noneConfigured(3),
197*2b15cb3dSCy Schubert                            syncToLocal(4),
198*2b15cb3dSCy Schubert                            syncToRefclock(5),
199*2b15cb3dSCy Schubert                            syncToRemoteServer(6),
200*2b15cb3dSCy Schubert                            unknown(99)
201*2b15cb3dSCy Schubert                        }
202*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
203*2b15cb3dSCy Schubert    STATUS      current
204*2b15cb3dSCy Schubert    DESCRIPTION
205*2b15cb3dSCy Schubert        "The current mode of the NTP.  The definition of each possible
206*2b15cb3dSCy Schubert         value is:
207*2b15cb3dSCy Schubert            notRunning(1) - NTP is not running.
208*2b15cb3dSCy Schubert            notSynchronized(2) - NTP is not synchronized to any time
209*2b15cb3dSCy Schubert                                 source (stratum = 16).
210*2b15cb3dSCy Schubert            noneConfigured(3) - NTP is not synchronized and does not
211*2b15cb3dSCy Schubert                                have a reference configured
212*2b15cb3dSCy Schubert                                (stratum = 16).
213*2b15cb3dSCy Schubert            syncToLocal(4) - NTP is distributing time based on its
214*2b15cb3dSCy Schubert                             local clock (degraded accuracy and/or
215*2b15cb3dSCy Schubert                             reliability).
216*2b15cb3dSCy Schubert            syncToRefclock(5) - NTP is synchronized to a local
217*2b15cb3dSCy Schubert                                hardware refclock (e.g., GPS).
218*2b15cb3dSCy Schubert            syncToRemoteServer(6) - NTP is synchronized to a remote
219*2b15cb3dSCy Schubert                                    NTP server ('upstream' server).
220*2b15cb3dSCy Schubert            unknown(99) - The state of NTP is unknown."
221*2b15cb3dSCy Schubert    ::= { ntpEntStatus 1 }
222*2b15cb3dSCy Schubert
223*2b15cb3dSCy SchubertntpEntStatusStratum OBJECT-TYPE
224*2b15cb3dSCy Schubert    SYNTAX      NtpStratum
225*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
226*2b15cb3dSCy Schubert    STATUS      current
227*2b15cb3dSCy Schubert    DESCRIPTION
228*2b15cb3dSCy Schubert        "The NTP entity's own stratum value.  Should be a stratum of
229*2b15cb3dSCy Schubert         syspeer + 1 (or 16 if no syspeer)."
230*2b15cb3dSCy Schubert    ::= { ntpEntStatus 2 }
231*2b15cb3dSCy Schubert
232*2b15cb3dSCy SchubertntpEntStatusActiveRefSourceId OBJECT-TYPE
233*2b15cb3dSCy Schubert    SYNTAX      Unsigned32 ( 0..99999 )
234*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
235*2b15cb3dSCy Schubert    STATUS      current
236*2b15cb3dSCy Schubert    DESCRIPTION
237*2b15cb3dSCy Schubert        "The association ID of the current syspeer."
238*2b15cb3dSCy Schubert    ::= { ntpEntStatus 3 }
239*2b15cb3dSCy Schubert
240*2b15cb3dSCy SchubertntpEntStatusActiveRefSourceName OBJECT-TYPE
241*2b15cb3dSCy Schubert    SYNTAX      Utf8String
242*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
243*2b15cb3dSCy Schubert    STATUS      current
244*2b15cb3dSCy Schubert    DESCRIPTION
245*2b15cb3dSCy Schubert        "The hostname/descriptive name of the current reference source
246*2b15cb3dSCy Schubert         selected as syspeer, e.g., 'ntp1.ptb.de' or 'GPS' or
247*2b15cb3dSCy Schubert         'DCFi', ..."
248*2b15cb3dSCy Schubert    ::= { ntpEntStatus 4 }
249*2b15cb3dSCy Schubert
250*2b15cb3dSCy SchubertntpEntStatusActiveOffset OBJECT-TYPE
251*2b15cb3dSCy Schubert    SYNTAX      DisplayString
252*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
253*2b15cb3dSCy Schubert    STATUS      current
254*2b15cb3dSCy Schubert    DESCRIPTION
255*2b15cb3dSCy Schubert        "The time offset to the current selected reference time source
256*2b15cb3dSCy Schubert         as a string including unit, e.g., '0.032 ms' or '1.232 s'."
257*2b15cb3dSCy Schubert    ::= { ntpEntStatus 5 }
258*2b15cb3dSCy Schubert
259*2b15cb3dSCy SchubertntpEntStatusNumberOfRefSources OBJECT-TYPE
260*2b15cb3dSCy Schubert    SYNTAX      Unsigned32 (0..99)
261*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
262*2b15cb3dSCy Schubert    STATUS      current
263*2b15cb3dSCy Schubert    DESCRIPTION
264*2b15cb3dSCy Schubert        "The number of reference sources configured for NTP."
265*2b15cb3dSCy Schubert    ::= { ntpEntStatus 6 }
266*2b15cb3dSCy Schubert
267*2b15cb3dSCy SchubertntpEntStatusDispersion OBJECT-TYPE
268*2b15cb3dSCy Schubert    SYNTAX      DisplayString
269*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
270*2b15cb3dSCy Schubert    STATUS      current
271*2b15cb3dSCy Schubert    DESCRIPTION
272*2b15cb3dSCy Schubert        "The root dispersion of the running NTP entity, e.g., '6.927'."
273*2b15cb3dSCy Schubert    ::= { ntpEntStatus 7 }
274*2b15cb3dSCy Schubert
275*2b15cb3dSCy SchubertntpEntStatusEntityUptime OBJECT-TYPE
276*2b15cb3dSCy Schubert    SYNTAX      TimeTicks
277*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
278*2b15cb3dSCy Schubert    STATUS      current
279*2b15cb3dSCy Schubert    DESCRIPTION
280*2b15cb3dSCy Schubert        "The uptime of the NTP entity, (i.e., the time since ntpd was
281*2b15cb3dSCy Schubert         (re-)initialized not sysUptime!).  The time is represented in
282*2b15cb3dSCy Schubert         hundreds of seconds since Jan 1, 1970 (00:00:00.000) UTC."
283*2b15cb3dSCy Schubert    ::= { ntpEntStatus 8 }
284*2b15cb3dSCy Schubert
285*2b15cb3dSCy SchubertntpEntStatusDateTime OBJECT-TYPE
286*2b15cb3dSCy Schubert    SYNTAX      NtpDateTime
287*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
288*2b15cb3dSCy Schubert    STATUS      current
289*2b15cb3dSCy Schubert    DESCRIPTION
290*2b15cb3dSCy Schubert        "The current NTP date/time on the device, in 128-bit
291*2b15cb3dSCy Schubert         NTP date format.  If time is not syncronized, this
292*2b15cb3dSCy Schubert         field shall be a zero-length string.
293*2b15cb3dSCy Schubert
294*2b15cb3dSCy Schubert         This object can be used to timestamp events on this
295*2b15cb3dSCy Schubert         node and allow a management station to correlate
296*2b15cb3dSCy Schubert         different time objects.  For example, a management
297*2b15cb3dSCy Schubert         station could query this object and sysUpTime in
298*2b15cb3dSCy Schubert         the same operation to be able to relate sysUpTime
299*2b15cb3dSCy Schubert         to NTP time.
300*2b15cb3dSCy Schubert
301*2b15cb3dSCy Schubert         This object is not to be used to set the time of
302*2b15cb3dSCy Schubert         the node querying this object.  NTP should be used
303*2b15cb3dSCy Schubert         for this -- or at least SNTP."
304*2b15cb3dSCy Schubert    REFERENCE "RFC 5905, section 6"
305*2b15cb3dSCy Schubert    ::= { ntpEntStatus 9 }
306*2b15cb3dSCy Schubert
307*2b15cb3dSCy SchubertntpEntStatusLeapSecond OBJECT-TYPE
308*2b15cb3dSCy Schubert    SYNTAX      NtpDateTime
309*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
310*2b15cb3dSCy Schubert    STATUS      current
311*2b15cb3dSCy Schubert    DESCRIPTION
312*2b15cb3dSCy Schubert        "Date the next known leap second will occur.  If there is
313*2b15cb3dSCy Schubert         no leap second announced, then this object should be 0."
314*2b15cb3dSCy Schubert    ::= { ntpEntStatus 10 }
315*2b15cb3dSCy Schubert
316*2b15cb3dSCy SchubertntpEntStatusLeapSecDirection OBJECT-TYPE
317*2b15cb3dSCy Schubert    SYNTAX      Integer32 (-1..1)
318*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
319*2b15cb3dSCy Schubert    STATUS      current
320*2b15cb3dSCy Schubert    DESCRIPTION
321*2b15cb3dSCy Schubert        "Direction of next known leap second.  If there is no
322*2b15cb3dSCy Schubert         leap second announced, then this object should be 0."
323*2b15cb3dSCy Schubert    ::= { ntpEntStatus 11 }
324*2b15cb3dSCy Schubert
325*2b15cb3dSCy SchubertntpEntStatusInPkts OBJECT-TYPE
326*2b15cb3dSCy Schubert    SYNTAX      Counter32
327*2b15cb3dSCy Schubert    UNITS       "packets"
328*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
329*2b15cb3dSCy Schubert    STATUS      current
330*2b15cb3dSCy Schubert    DESCRIPTION
331*2b15cb3dSCy Schubert        "The total number of NTP messages delivered to the
332*2b15cb3dSCy Schubert         NTP entity from the transport service.
333*2b15cb3dSCy Schubert         Discountinuities in the value of this counter can occur
334*2b15cb3dSCy Schubert         upon cold start or reinitialization of the NTP entity, the
335*2b15cb3dSCy Schubert         management system and at other times as indicated by
336*2b15cb3dSCy Schubert         discontinuities in the value of sysUpTime."
337*2b15cb3dSCy Schubert    ::= { ntpEntStatus 12 }
338*2b15cb3dSCy Schubert
339*2b15cb3dSCy SchubertntpEntStatusOutPkts OBJECT-TYPE
340*2b15cb3dSCy Schubert    SYNTAX      Counter32
341*2b15cb3dSCy Schubert    UNITS       "packets"
342*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
343*2b15cb3dSCy Schubert    STATUS      current
344*2b15cb3dSCy Schubert    DESCRIPTION
345*2b15cb3dSCy Schubert        "The total number of NTP messages delivered to the
346*2b15cb3dSCy Schubert         transport service by this NTP entity.
347*2b15cb3dSCy Schubert         Discountinuities in the value of this counter can occur
348*2b15cb3dSCy Schubert         upon cold start or reinitialization of the NTP entity, the
349*2b15cb3dSCy Schubert         management system and at other times as indicated by
350*2b15cb3dSCy Schubert         discontinuities in the value of sysUpTime."
351*2b15cb3dSCy Schubert    ::= { ntpEntStatus 13 }
352*2b15cb3dSCy Schubert
353*2b15cb3dSCy SchubertntpEntStatusBadVersion OBJECT-TYPE
354*2b15cb3dSCy Schubert    SYNTAX      Counter32
355*2b15cb3dSCy Schubert    UNITS       "packets"
356*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
357*2b15cb3dSCy Schubert    STATUS      current
358*2b15cb3dSCy Schubert    DESCRIPTION
359*2b15cb3dSCy Schubert        "The total number of NTP messages that were delivered
360*2b15cb3dSCy Schubert         to this NTP entity and were for an unsupported NTP
361*2b15cb3dSCy Schubert         version.
362*2b15cb3dSCy Schubert         Discountinuities in the value of this counter can occur
363*2b15cb3dSCy Schubert         upon cold start or reinitialization of the NTP entity, the
364*2b15cb3dSCy Schubert         management system and at other times as indicated by
365*2b15cb3dSCy Schubert         discontinuities in the value of sysUpTime."
366*2b15cb3dSCy Schubert    ::= { ntpEntStatus 14 }
367*2b15cb3dSCy Schubert
368*2b15cb3dSCy SchubertntpEntStatusProtocolError OBJECT-TYPE
369*2b15cb3dSCy Schubert    SYNTAX      Counter32
370*2b15cb3dSCy Schubert    UNITS       "packets"
371*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
372*2b15cb3dSCy Schubert    STATUS      current
373*2b15cb3dSCy Schubert    DESCRIPTION
374*2b15cb3dSCy Schubert        "The total number of NTP messages that were delivered
375*2b15cb3dSCy Schubert         to this NTP entity and this entity was not able to
376*2b15cb3dSCy Schubert         process due to an NTP protocol error.
377*2b15cb3dSCy Schubert         Discountinuities in the value of this counter can occur
378*2b15cb3dSCy Schubert         upon cold start or reinitialization of the NTP entity, the
379*2b15cb3dSCy Schubert         management system and at other times as indicated by
380*2b15cb3dSCy Schubert         discontinuities in the value of sysUpTime."
381*2b15cb3dSCy Schubert    ::= { ntpEntStatus 15 }
382*2b15cb3dSCy Schubert
383*2b15cb3dSCy SchubertntpEntStatusNotifications OBJECT-TYPE
384*2b15cb3dSCy Schubert    SYNTAX      Counter32
385*2b15cb3dSCy Schubert    UNITS       "notifications"
386*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
387*2b15cb3dSCy Schubert    STATUS      current
388*2b15cb3dSCy Schubert    DESCRIPTION
389*2b15cb3dSCy Schubert        "The total number of SNMP notifications that this NTP
390*2b15cb3dSCy Schubert         entity has generated.
391*2b15cb3dSCy Schubert         Discountinuities in the value of this counter can occur
392*2b15cb3dSCy Schubert         upon cold start or reinitialization of the NTP entity, the
393*2b15cb3dSCy Schubert         management system and at other times as indicated by
394*2b15cb3dSCy Schubert         discontinuities in the value of sysUpTime."
395*2b15cb3dSCy Schubert    ::= { ntpEntStatus 16 }
396*2b15cb3dSCy Schubert
397*2b15cb3dSCy SchubertntpEntStatPktModeTable OBJECT-TYPE
398*2b15cb3dSCy Schubert    SYNTAX           SEQUENCE OF NtpEntStatPktModeEntry
399*2b15cb3dSCy Schubert    MAX-ACCESS       not-accessible
400*2b15cb3dSCy Schubert    STATUS           current
401*2b15cb3dSCy Schubert    DESCRIPTION
402*2b15cb3dSCy Schubert        "The number of packets sent and received by packet mode.
403*2b15cb3dSCy Schubert         One entry per packet mode."
404*2b15cb3dSCy Schubert    ::= { ntpEntStatus 17 }
405*2b15cb3dSCy Schubert
406*2b15cb3dSCy SchubertntpEntStatPktModeEntry OBJECT-TYPE
407*2b15cb3dSCy Schubert    SYNTAX      NtpEntStatPktModeEntry
408*2b15cb3dSCy Schubert    MAX-ACCESS  not-accessible
409*2b15cb3dSCy Schubert    STATUS      current
410*2b15cb3dSCy Schubert    DESCRIPTION
411*2b15cb3dSCy Schubert        "A statistical record of the number of packets sent and
412*2b15cb3dSCy Schubert         received for each packet mode."
413*2b15cb3dSCy Schubert    INDEX       { ntpEntStatPktMode }
414*2b15cb3dSCy Schubert    ::= { ntpEntStatPktModeTable 1 }
415*2b15cb3dSCy Schubert
416*2b15cb3dSCy SchubertNtpEntStatPktModeEntry   ::= SEQUENCE {
417*2b15cb3dSCy Schubert        ntpEntStatPktMode              INTEGER,
418*2b15cb3dSCy Schubert        ntpEntStatPktSent              Counter32,
419*2b15cb3dSCy Schubert        ntpEntStatPktReceived          Counter32
420*2b15cb3dSCy Schubert}
421*2b15cb3dSCy Schubert
422*2b15cb3dSCy SchubertntpEntStatPktMode OBJECT-TYPE
423*2b15cb3dSCy Schubert    SYNTAX      INTEGER {
424*2b15cb3dSCy Schubert                    symetricactive(1),
425*2b15cb3dSCy Schubert                    symetricpassive(2),
426*2b15cb3dSCy Schubert                    client(3),
427*2b15cb3dSCy Schubert                    server(4),
428*2b15cb3dSCy Schubert                    broadcastserver(5),
429*2b15cb3dSCy Schubert                    broadcastclient(6)
430*2b15cb3dSCy Schubert                }
431*2b15cb3dSCy Schubert    MAX-ACCESS  not-accessible
432*2b15cb3dSCy Schubert    STATUS      current
433*2b15cb3dSCy Schubert    DESCRIPTION
434*2b15cb3dSCy Schubert        "The NTP packet mode."
435*2b15cb3dSCy Schubert    ::= { ntpEntStatPktModeEntry 1 }
436*2b15cb3dSCy Schubert
437*2b15cb3dSCy SchubertntpEntStatPktSent OBJECT-TYPE
438*2b15cb3dSCy Schubert    SYNTAX      Counter32
439*2b15cb3dSCy Schubert    UNITS       "packets"
440*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
441*2b15cb3dSCy Schubert    STATUS      current
442*2b15cb3dSCy Schubert    DESCRIPTION
443*2b15cb3dSCy Schubert        "The number of NTP packets sent with this packet mode.
444*2b15cb3dSCy Schubert         Discountinuities in the value of this counter can occur
445*2b15cb3dSCy Schubert         upon cold start or reinitialization of the NTP entity, the
446*2b15cb3dSCy Schubert         management system and at other times as indicated by
447*2b15cb3dSCy Schubert         discontinuities in the value of sysUpTime."
448*2b15cb3dSCy Schubert    ::= { ntpEntStatPktModeEntry 2 }
449*2b15cb3dSCy Schubert
450*2b15cb3dSCy SchubertntpEntStatPktReceived OBJECT-TYPE
451*2b15cb3dSCy Schubert    SYNTAX      Counter32
452*2b15cb3dSCy Schubert    UNITS       "packets"
453*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
454*2b15cb3dSCy Schubert    STATUS      current
455*2b15cb3dSCy Schubert    DESCRIPTION
456*2b15cb3dSCy Schubert        "The number of NTP packets received with this packet mode.
457*2b15cb3dSCy Schubert
458*2b15cb3dSCy Schubert         Discountinuities in the value of this counter can occur
459*2b15cb3dSCy Schubert         upon cold start or reinitialization of the NTP entity, the
460*2b15cb3dSCy Schubert         management system and at other times as indicated by
461*2b15cb3dSCy Schubert         discontinuities in the value of sysUpTime."
462*2b15cb3dSCy Schubert    ::= { ntpEntStatPktModeEntry 3 }
463*2b15cb3dSCy Schubert
464*2b15cb3dSCy Schubert--
465*2b15cb3dSCy Schubert-- Section 3: The status of all currently mobilized associations
466*2b15cb3dSCy Schubert--
467*2b15cb3dSCy Schubert
468*2b15cb3dSCy SchubertntpAssociationTable OBJECT-TYPE
469*2b15cb3dSCy Schubert    SYNTAX           SEQUENCE OF NtpAssociationEntry
470*2b15cb3dSCy Schubert    MAX-ACCESS       not-accessible
471*2b15cb3dSCy Schubert    STATUS           current
472*2b15cb3dSCy Schubert    DESCRIPTION
473*2b15cb3dSCy Schubert        "The table of currently mobilized associations."
474*2b15cb3dSCy Schubert    ::= { ntpAssociation 1 }
475*2b15cb3dSCy Schubert
476*2b15cb3dSCy SchubertntpAssociationEntry OBJECT-TYPE
477*2b15cb3dSCy Schubert    SYNTAX      NtpAssociationEntry
478*2b15cb3dSCy Schubert    MAX-ACCESS  not-accessible
479*2b15cb3dSCy Schubert    STATUS      current
480*2b15cb3dSCy Schubert    DESCRIPTION
481*2b15cb3dSCy Schubert        "The table entry of currently mobilized associations."
482*2b15cb3dSCy Schubert    INDEX       { ntpAssocId }
483*2b15cb3dSCy Schubert    ::= { ntpAssociationTable 1 }
484*2b15cb3dSCy Schubert
485*2b15cb3dSCy SchubertNtpAssociationEntry   ::= SEQUENCE {
486*2b15cb3dSCy Schubert        ntpAssocId                  Unsigned32,
487*2b15cb3dSCy Schubert        ntpAssocName                Utf8String,
488*2b15cb3dSCy Schubert        ntpAssocRefId               DisplayString,
489*2b15cb3dSCy Schubert        ntpAssocAddressType         InetAddressType,
490*2b15cb3dSCy Schubert        ntpAssocAddress             InetAddress,
491*2b15cb3dSCy Schubert        ntpAssocOffset              DisplayString,
492*2b15cb3dSCy Schubert        ntpAssocStratum             NtpStratum,
493*2b15cb3dSCy Schubert        ntpAssocStatusJitter        DisplayString,
494*2b15cb3dSCy Schubert        ntpAssocStatusDelay         DisplayString,
495*2b15cb3dSCy Schubert        ntpAssocStatusDispersion    DisplayString
496*2b15cb3dSCy Schubert}
497*2b15cb3dSCy Schubert
498*2b15cb3dSCy SchubertntpAssocId      OBJECT-TYPE
499*2b15cb3dSCy Schubert    SYNTAX      Unsigned32 ( 1..99999 )
500*2b15cb3dSCy Schubert    MAX-ACCESS  not-accessible
501*2b15cb3dSCy Schubert    STATUS      current
502*2b15cb3dSCy Schubert    DESCRIPTION
503*2b15cb3dSCy Schubert        "The association ID.  This is an internal, unique ID."
504*2b15cb3dSCy Schubert    ::= { ntpAssociationEntry 1 }
505*2b15cb3dSCy Schubert
506*2b15cb3dSCy SchubertntpAssocName    OBJECT-TYPE
507*2b15cb3dSCy Schubert    SYNTAX      Utf8String
508*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
509*2b15cb3dSCy Schubert    STATUS      current
510*2b15cb3dSCy Schubert    DESCRIPTION
511*2b15cb3dSCy Schubert        "The hostname or other descriptive name for the association."
512*2b15cb3dSCy Schubert    ::= { ntpAssociationEntry 2 }
513*2b15cb3dSCy Schubert
514*2b15cb3dSCy SchubertntpAssocRefId   OBJECT-TYPE
515*2b15cb3dSCy Schubert    SYNTAX      DisplayString
516*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
517*2b15cb3dSCy Schubert    STATUS      current
518*2b15cb3dSCy Schubert    DESCRIPTION
519*2b15cb3dSCy Schubert        "The refclock driver ID, if available."
520*2b15cb3dSCy Schubert    -- a refclock driver ID like "127.127.1.0" for non
521*2b15cb3dSCy Schubert    -- uni/multi/broadcast associations
522*2b15cb3dSCy Schubert    ::= { ntpAssociationEntry 3 }
523*2b15cb3dSCy Schubert
524*2b15cb3dSCy SchubertntpAssocAddressType OBJECT-TYPE
525*2b15cb3dSCy Schubert    SYNTAX      InetAddressType { ipv4(1), ipv6(2), ipv4z(3), ipv6z(4) }
526*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
527*2b15cb3dSCy Schubert    STATUS      current
528*2b15cb3dSCy Schubert    DESCRIPTION
529*2b15cb3dSCy Schubert        "The type of address of the association.  Can be either IPv4 or
530*2b15cb3dSCy Schubert         IPv6 (both with or without zone index) and contains the type of
531*2b15cb3dSCy Schubert         address for unicast, multicast, and broadcast associations."
532*2b15cb3dSCy Schubert    ::= { ntpAssociationEntry 4 }
533*2b15cb3dSCy Schubert
534*2b15cb3dSCy SchubertntpAssocAddress OBJECT-TYPE
535*2b15cb3dSCy Schubert    SYNTAX      InetAddress (SIZE (4|8|16|20))
536*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
537*2b15cb3dSCy Schubert    STATUS      current
538*2b15cb3dSCy Schubert    DESCRIPTION
539*2b15cb3dSCy Schubert        "The IP address (IPv4 or IPv6, with or without zone index) of
540*2b15cb3dSCy Schubert         the association.  The type and size depends on the
541*2b15cb3dSCy Schubert         ntpAssocAddressType object.  Represents the IP address of a
542*2b15cb3dSCy Schubert         uni/multi/broadcast association."
543*2b15cb3dSCy Schubert    ::= { ntpAssociationEntry 5 }
544*2b15cb3dSCy Schubert
545*2b15cb3dSCy SchubertntpAssocOffset  OBJECT-TYPE
546*2b15cb3dSCy Schubert    SYNTAX      DisplayString
547*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
548*2b15cb3dSCy Schubert    STATUS      current
549*2b15cb3dSCy Schubert    DESCRIPTION
550*2b15cb3dSCy Schubert        "The time offset to the association as a string."
551*2b15cb3dSCy Schubert    -- including unit, e.g., "0.032 ms" or "1.232 s"
552*2b15cb3dSCy Schubert    ::= { ntpAssociationEntry 6 }
553*2b15cb3dSCy Schubert
554*2b15cb3dSCy SchubertntpAssocStratum OBJECT-TYPE
555*2b15cb3dSCy Schubert    SYNTAX      NtpStratum
556*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
557*2b15cb3dSCy Schubert    STATUS      current
558*2b15cb3dSCy Schubert    DESCRIPTION
559*2b15cb3dSCy Schubert        "The association stratum value."
560*2b15cb3dSCy Schubert    ::= { ntpAssociationEntry 7 }
561*2b15cb3dSCy Schubert
562*2b15cb3dSCy SchubertntpAssocStatusJitter OBJECT-TYPE
563*2b15cb3dSCy Schubert    SYNTAX      DisplayString
564*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
565*2b15cb3dSCy Schubert    STATUS      current
566*2b15cb3dSCy Schubert    DESCRIPTION
567*2b15cb3dSCy Schubert        "The jitter in milliseconds as a string."
568*2b15cb3dSCy Schubert    ::= { ntpAssociationEntry 8 }
569*2b15cb3dSCy Schubert
570*2b15cb3dSCy SchubertntpAssocStatusDelay OBJECT-TYPE
571*2b15cb3dSCy Schubert    SYNTAX      DisplayString
572*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
573*2b15cb3dSCy Schubert    STATUS      current
574*2b15cb3dSCy Schubert    DESCRIPTION
575*2b15cb3dSCy Schubert        "The network delay in milliseconds as a string."
576*2b15cb3dSCy Schubert    ::= { ntpAssociationEntry 9 }
577*2b15cb3dSCy Schubert
578*2b15cb3dSCy SchubertntpAssocStatusDispersion OBJECT-TYPE
579*2b15cb3dSCy Schubert    SYNTAX      DisplayString
580*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
581*2b15cb3dSCy Schubert    STATUS      current
582*2b15cb3dSCy Schubert    DESCRIPTION
583*2b15cb3dSCy Schubert        "The root dispersion of the association."
584*2b15cb3dSCy Schubert    -- e.g., "6.927"
585*2b15cb3dSCy Schubert    ::= { ntpAssociationEntry 10 }
586*2b15cb3dSCy Schubert
587*2b15cb3dSCy SchubertntpAssociationStatisticsTable OBJECT-TYPE
588*2b15cb3dSCy Schubert    SYNTAX           SEQUENCE OF NtpAssociationStatisticsEntry
589*2b15cb3dSCy Schubert    MAX-ACCESS       not-accessible
590*2b15cb3dSCy Schubert    STATUS           current
591*2b15cb3dSCy Schubert    DESCRIPTION
592*2b15cb3dSCy Schubert        "The table of statistics for current associations."
593*2b15cb3dSCy Schubert    ::= { ntpAssociation 2 }
594*2b15cb3dSCy Schubert
595*2b15cb3dSCy SchubertntpAssociationStatisticsEntry OBJECT-TYPE
596*2b15cb3dSCy Schubert    SYNTAX      NtpAssociationStatisticsEntry
597*2b15cb3dSCy Schubert    MAX-ACCESS  not-accessible
598*2b15cb3dSCy Schubert    STATUS      current
599*2b15cb3dSCy Schubert    DESCRIPTION
600*2b15cb3dSCy Schubert        "The table entry of statistics for current associations."
601*2b15cb3dSCy Schubert    INDEX       { ntpAssocId }
602*2b15cb3dSCy Schubert    ::= { ntpAssociationStatisticsTable 1 }
603*2b15cb3dSCy Schubert
604*2b15cb3dSCy SchubertNtpAssociationStatisticsEntry   ::= SEQUENCE {
605*2b15cb3dSCy Schubert        ntpAssocStatInPkts          Counter32,
606*2b15cb3dSCy Schubert        ntpAssocStatOutPkts         Counter32,
607*2b15cb3dSCy Schubert        ntpAssocStatProtocolError   Counter32
608*2b15cb3dSCy Schubert}
609*2b15cb3dSCy Schubert
610*2b15cb3dSCy SchubertntpAssocStatInPkts OBJECT-TYPE
611*2b15cb3dSCy Schubert    SYNTAX      Counter32
612*2b15cb3dSCy Schubert    UNITS       "packets"
613*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
614*2b15cb3dSCy Schubert    STATUS      current
615*2b15cb3dSCy Schubert    DESCRIPTION
616*2b15cb3dSCy Schubert        "The total number of NTP messages delivered to the
617*2b15cb3dSCy Schubert         NTP entity from this association.
618*2b15cb3dSCy Schubert         Discountinuities in the value of this counter can occur
619*2b15cb3dSCy Schubert         upon cold start or reinitialization of the NTP entity, the
620*2b15cb3dSCy Schubert         management system and at other times as indicated by
621*2b15cb3dSCy Schubert         discontinuities in the value of sysUpTime."
622*2b15cb3dSCy Schubert    ::= { ntpAssociationStatisticsEntry 1 }
623*2b15cb3dSCy Schubert
624*2b15cb3dSCy SchubertntpAssocStatOutPkts OBJECT-TYPE
625*2b15cb3dSCy Schubert    SYNTAX      Counter32
626*2b15cb3dSCy Schubert    UNITS       "packets"
627*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
628*2b15cb3dSCy Schubert    STATUS      current
629*2b15cb3dSCy Schubert    DESCRIPTION
630*2b15cb3dSCy Schubert        "The total number of NTP messages delivered to the
631*2b15cb3dSCy Schubert         transport service by this NTP entity for this
632*2b15cb3dSCy Schubert         association.
633*2b15cb3dSCy Schubert         Discountinuities in the value of this counter can occur
634*2b15cb3dSCy Schubert         upon cold start or reinitialization of the NTP entity, the
635*2b15cb3dSCy Schubert         management system and at other times as indicated by
636*2b15cb3dSCy Schubert         discontinuities in the value of sysUpTime."
637*2b15cb3dSCy Schubert    ::= { ntpAssociationStatisticsEntry 2 }
638*2b15cb3dSCy Schubert
639*2b15cb3dSCy SchubertntpAssocStatProtocolError OBJECT-TYPE
640*2b15cb3dSCy Schubert    SYNTAX      Counter32
641*2b15cb3dSCy Schubert    UNITS       "packets"
642*2b15cb3dSCy Schubert    MAX-ACCESS  read-only
643*2b15cb3dSCy Schubert    STATUS      current
644*2b15cb3dSCy Schubert    DESCRIPTION
645*2b15cb3dSCy Schubert        "The total number of NTP messages that were delivered
646*2b15cb3dSCy Schubert         to this NTP entity from this association and this entity
647*2b15cb3dSCy Schubert         was not able to process due to an NTP protocol error.
648*2b15cb3dSCy Schubert         Discountinuities in the value of this counter can occur
649*2b15cb3dSCy Schubert         upon cold start or reinitialization of the NTP entity, the
650*2b15cb3dSCy Schubert         management system and at other times as indicated by
651*2b15cb3dSCy Schubert         discontinuities in the value of sysUpTime."
652*2b15cb3dSCy Schubert    ::= { ntpAssociationStatisticsEntry 3 }
653*2b15cb3dSCy Schubert
654*2b15cb3dSCy Schubert--
655*2b15cb3dSCy Schubert-- Section 4: Control objects
656*2b15cb3dSCy Schubert--
657*2b15cb3dSCy Schubert
658*2b15cb3dSCy SchubertntpEntHeartbeatInterval OBJECT-TYPE
659*2b15cb3dSCy Schubert    SYNTAX      Unsigned32
660*2b15cb3dSCy Schubert    UNITS       "seconds"
661*2b15cb3dSCy Schubert    MAX-ACCESS  read-write
662*2b15cb3dSCy Schubert    STATUS      current
663*2b15cb3dSCy Schubert    DESCRIPTION
664*2b15cb3dSCy Schubert        "The interval at which the ntpEntNotifHeartbeat notification
665*2b15cb3dSCy Schubert         should be sent, in seconds.  If set to 0 and the
666*2b15cb3dSCy Schubert         entNotifHeartbeat bit in ntpEntNotifBits is 1, then
667*2b15cb3dSCy Schubert         ntpEntNotifHeartbeat is sent once.
668*2b15cb3dSCy Schubert         This value is stored persistently and will be restored to its
669*2b15cb3dSCy Schubert         last set value upon cold start or restart."
670*2b15cb3dSCy Schubert    DEFVAL { 60 }
671*2b15cb3dSCy Schubert    ::= { ntpEntControl 1 }
672*2b15cb3dSCy Schubert
673*2b15cb3dSCy SchubertntpEntNotifBits OBJECT-TYPE
674*2b15cb3dSCy Schubert    SYNTAX       BITS {
675*2b15cb3dSCy Schubert                     notUsed(0), -- Used to sync up bit and notification
676*2b15cb3dSCy Schubert                                 -- indices
677*2b15cb3dSCy Schubert                     entNotifModeChange(1),
678*2b15cb3dSCy Schubert                     entNotifStratumChange(2),
679*2b15cb3dSCy Schubert                     entNotifSyspeerChanged(3),
680*2b15cb3dSCy Schubert                     entNotifAddAssociation(4),
681*2b15cb3dSCy Schubert                     entNotifRemoveAssociation(5),
682*2b15cb3dSCy Schubert                     entNotifConfigChanged(6),
683*2b15cb3dSCy Schubert                     entNotifLeapSecondAnnounced(7),
684*2b15cb3dSCy Schubert                     entNotifHeartbeat(8)
685*2b15cb3dSCy Schubert    }
686*2b15cb3dSCy Schubert    MAX-ACCESS  read-write
687*2b15cb3dSCy Schubert    STATUS      current
688*2b15cb3dSCy Schubert    DESCRIPTION
689*2b15cb3dSCy Schubert        "A bit for each notification.  A 1 for a particular bit enables
690*2b15cb3dSCy Schubert         that particular notification, a 0 disables it.
691*2b15cb3dSCy Schubert         This value is stored persistently and will be restored to its
692*2b15cb3dSCy Schubert         last set value upon cold start or restart."
693*2b15cb3dSCy Schubert    ::= { ntpEntControl 2 }
694*2b15cb3dSCy Schubert
695*2b15cb3dSCy Schubert--
696*2b15cb3dSCy Schubert-- Section 5: Notification objects
697*2b15cb3dSCy Schubert--
698*2b15cb3dSCy Schubert
699*2b15cb3dSCy SchubertntpEntNotifMessage OBJECT-TYPE
700*2b15cb3dSCy Schubert    SYNTAX      Utf8String
701*2b15cb3dSCy Schubert    MAX-ACCESS  accessible-for-notify
702*2b15cb3dSCy Schubert    STATUS      current
703*2b15cb3dSCy Schubert    DESCRIPTION
704*2b15cb3dSCy Schubert        "Used as a payload object for all notifications.  Holds a
705*2b15cb3dSCy Schubert         cleartext event message."
706*2b15cb3dSCy Schubert    DEFVAL { "no event" }
707*2b15cb3dSCy Schubert    ::= { ntpEntNotifObjects 1 }
708*2b15cb3dSCy Schubert
709*2b15cb3dSCy Schubert--
710*2b15cb3dSCy Schubert-- SNMP notification definitions
711*2b15cb3dSCy Schubert--
712*2b15cb3dSCy Schubert
713*2b15cb3dSCy SchubertntpEntNotifications OBJECT IDENTIFIER ::= { ntpSnmpMIB 0 }
714*2b15cb3dSCy Schubert
715*2b15cb3dSCy SchubertntpEntNotifModeChange NOTIFICATION-TYPE
716*2b15cb3dSCy Schubert    OBJECTS     { ntpEntStatusCurrentMode }
717*2b15cb3dSCy Schubert    STATUS      current
718*2b15cb3dSCy Schubert    DESCRIPTION
719*2b15cb3dSCy Schubert        "The notification to be sent when the NTP entity changes mode,
720*2b15cb3dSCy Schubert         including starting and stopping (if possible)."
721*2b15cb3dSCy Schubert    ::= { ntpEntNotifications 1 }
722*2b15cb3dSCy Schubert
723*2b15cb3dSCy SchubertntpEntNotifStratumChange NOTIFICATION-TYPE
724*2b15cb3dSCy Schubert    OBJECTS     { ntpEntStatusDateTime, ntpEntStatusStratum,
725*2b15cb3dSCy Schubert                  ntpEntNotifMessage }
726*2b15cb3dSCy Schubert    STATUS      current
727*2b15cb3dSCy Schubert    DESCRIPTION
728*2b15cb3dSCy Schubert        "The notification to be sent when stratum level of NTP changes."
729*2b15cb3dSCy Schubert    ::= { ntpEntNotifications 2 }
730*2b15cb3dSCy Schubert
731*2b15cb3dSCy SchubertntpEntNotifSyspeerChanged NOTIFICATION-TYPE
732*2b15cb3dSCy Schubert    OBJECTS     { ntpEntStatusDateTime, ntpEntStatusActiveRefSourceId,
733*2b15cb3dSCy Schubert                  ntpEntNotifMessage }
734*2b15cb3dSCy Schubert    STATUS      current
735*2b15cb3dSCy Schubert    DESCRIPTION
736*2b15cb3dSCy Schubert        "The notification to be sent when a (new) syspeer has been
737*2b15cb3dSCy Schubert         selected."
738*2b15cb3dSCy Schubert    ::= { ntpEntNotifications 3 }
739*2b15cb3dSCy Schubert
740*2b15cb3dSCy SchubertntpEntNotifAddAssociation NOTIFICATION-TYPE
741*2b15cb3dSCy Schubert    OBJECTS  { ntpEntStatusDateTime, ntpAssocName, ntpEntNotifMessage }
742*2b15cb3dSCy Schubert    STATUS      current
743*2b15cb3dSCy Schubert    DESCRIPTION
744*2b15cb3dSCy Schubert        "The notification to be sent when a new association is
745*2b15cb3dSCy Schubert         mobilized."
746*2b15cb3dSCy Schubert    ::= { ntpEntNotifications 4 }
747*2b15cb3dSCy Schubert
748*2b15cb3dSCy SchubertntpEntNotifRemoveAssociation NOTIFICATION-TYPE
749*2b15cb3dSCy Schubert    OBJECTS  { ntpEntStatusDateTime, ntpAssocName,  ntpEntNotifMessage }
750*2b15cb3dSCy Schubert    STATUS      current
751*2b15cb3dSCy Schubert    DESCRIPTION
752*2b15cb3dSCy Schubert        "The notification to be sent when an association is
753*2b15cb3dSCy Schubert         demobilized."
754*2b15cb3dSCy Schubert    ::= { ntpEntNotifications 5 }
755*2b15cb3dSCy Schubert
756*2b15cb3dSCy SchubertntpEntNotifConfigChanged NOTIFICATION-TYPE
757*2b15cb3dSCy Schubert    OBJECTS     { ntpEntStatusDateTime, ntpEntNotifMessage }
758*2b15cb3dSCy Schubert    STATUS      current
759*2b15cb3dSCy Schubert    DESCRIPTION
760*2b15cb3dSCy Schubert        "The notification to be sent when the NTP configuration has
761*2b15cb3dSCy Schubert         changed, e.g., when the system connected to the Internet and
762*2b15cb3dSCy Schubert         was assigned a new IP address by the ISPs DHCP server."
763*2b15cb3dSCy Schubert    ::= { ntpEntNotifications 6 }
764*2b15cb3dSCy Schubert
765*2b15cb3dSCy SchubertntpEntNotifLeapSecondAnnounced NOTIFICATION-TYPE
766*2b15cb3dSCy Schubert    OBJECTS     { ntpEntStatusDateTime, ntpEntNotifMessage }
767*2b15cb3dSCy Schubert    STATUS      current
768*2b15cb3dSCy Schubert    DESCRIPTION
769*2b15cb3dSCy Schubert        "The notification to be sent when a leap second has been
770*2b15cb3dSCy Schubert         announced."
771*2b15cb3dSCy Schubert    ::= { ntpEntNotifications 7 }
772*2b15cb3dSCy Schubert
773*2b15cb3dSCy SchubertntpEntNotifHeartbeat NOTIFICATION-TYPE
774*2b15cb3dSCy Schubert    OBJECTS     { ntpEntStatusDateTime, ntpEntStatusCurrentMode,
775*2b15cb3dSCy Schubert                  ntpEntHeartbeatInterval, ntpEntNotifMessage }
776*2b15cb3dSCy Schubert    STATUS      current
777*2b15cb3dSCy Schubert    DESCRIPTION
778*2b15cb3dSCy Schubert        "The notification to be sent periodically (as defined by
779*2b15cb3dSCy Schubert         ntpEntHeartbeatInterval) to indicate that the NTP entity is
780*2b15cb3dSCy Schubert         still alive."
781*2b15cb3dSCy Schubert    ::= { ntpEntNotifications 8 }
782*2b15cb3dSCy Schubert
783*2b15cb3dSCy Schubert--
784*2b15cb3dSCy Schubert-- Conformance/Compliance statements
785*2b15cb3dSCy Schubert--
786*2b15cb3dSCy Schubert
787*2b15cb3dSCy SchubertntpEntConformance OBJECT IDENTIFIER ::= { ntpSnmpMIB 2 }
788*2b15cb3dSCy Schubert
789*2b15cb3dSCy SchubertntpEntCompliances OBJECT IDENTIFIER ::= { ntpEntConformance 1 }
790*2b15cb3dSCy SchubertntpEntGroups      OBJECT IDENTIFIER ::= { ntpEntConformance 2 }
791*2b15cb3dSCy Schubert
792*2b15cb3dSCy SchubertntpEntNTPCompliance MODULE-COMPLIANCE
793*2b15cb3dSCy Schubert    STATUS      current
794*2b15cb3dSCy Schubert    DESCRIPTION
795*2b15cb3dSCy Schubert        "The compliance statement for SNMP entities that use NTP and
796*2b15cb3dSCy Schubert         implement the NTP MIB."
797*2b15cb3dSCy Schubert    MODULE  -- this module
798*2b15cb3dSCy Schubert        MANDATORY-GROUPS {
799*2b15cb3dSCy Schubert                           ntpEntObjectsGroup1
800*2b15cb3dSCy Schubert        }
801*2b15cb3dSCy Schubert        ::= { ntpEntCompliances 1 }
802*2b15cb3dSCy Schubert
803*2b15cb3dSCy SchubertntpEntSNTPCompliance MODULE-COMPLIANCE
804*2b15cb3dSCy Schubert    STATUS      current
805*2b15cb3dSCy Schubert    DESCRIPTION
806*2b15cb3dSCy Schubert        "The compliance statement for SNMP entities that use SNTP and
807*2b15cb3dSCy Schubert         implement the NTP MIB."
808*2b15cb3dSCy Schubert    MODULE  -- this module
809*2b15cb3dSCy Schubert        MANDATORY-GROUPS {
810*2b15cb3dSCy Schubert                           ntpEntObjectsGroup1
811*2b15cb3dSCy Schubert        }
812*2b15cb3dSCy Schubert        GROUP ntpEntObjectsGroup2
813*2b15cb3dSCy Schubert        DESCRIPTION
814*2b15cb3dSCy Schubert                "Optional object group."
815*2b15cb3dSCy Schubert        GROUP ntpEntNotifGroup
816*2b15cb3dSCy Schubert        DESCRIPTION
817*2b15cb3dSCy Schubert                "Optional notifications for this MIB."
818*2b15cb3dSCy Schubert        ::= { ntpEntCompliances 2 }
819*2b15cb3dSCy Schubert
820*2b15cb3dSCy SchubertntpEntObjectsGroup1 OBJECT-GROUP
821*2b15cb3dSCy Schubert    OBJECTS {
822*2b15cb3dSCy Schubert              ntpEntSoftwareName,
823*2b15cb3dSCy Schubert              ntpEntSoftwareVersion,
824*2b15cb3dSCy Schubert              ntpEntSoftwareVendor,
825*2b15cb3dSCy Schubert              ntpEntSystemType,
826*2b15cb3dSCy Schubert              ntpEntStatusEntityUptime,
827*2b15cb3dSCy Schubert              ntpEntStatusDateTime,
828*2b15cb3dSCy Schubert              ntpAssocName,
829*2b15cb3dSCy Schubert              ntpAssocRefId,
830*2b15cb3dSCy Schubert              ntpAssocAddressType,
831*2b15cb3dSCy Schubert              ntpAssocAddress
832*2b15cb3dSCy Schubert    }
833*2b15cb3dSCy Schubert    STATUS      current
834*2b15cb3dSCy Schubert    DESCRIPTION
835*2b15cb3dSCy Schubert        "A collection of objects for the NTP MIB."
836*2b15cb3dSCy Schubert    ::= { ntpEntGroups 1 }
837*2b15cb3dSCy Schubert
838*2b15cb3dSCy SchubertntpEntObjectsGroup2 OBJECT-GROUP
839*2b15cb3dSCy Schubert    OBJECTS {
840*2b15cb3dSCy Schubert              ntpEntTimeResolution,
841*2b15cb3dSCy Schubert              ntpEntTimePrecision,
842*2b15cb3dSCy Schubert              ntpEntTimeDistance,
843*2b15cb3dSCy Schubert              ntpEntStatusCurrentMode,
844*2b15cb3dSCy Schubert              ntpEntStatusStratum,
845*2b15cb3dSCy Schubert              ntpEntStatusActiveRefSourceId,
846*2b15cb3dSCy Schubert              ntpEntStatusActiveRefSourceName,
847*2b15cb3dSCy Schubert              ntpEntStatusActiveOffset,
848*2b15cb3dSCy Schubert              ntpEntStatusNumberOfRefSources,
849*2b15cb3dSCy Schubert              ntpEntStatusDispersion,
850*2b15cb3dSCy Schubert              ntpEntStatusLeapSecond,
851*2b15cb3dSCy Schubert              ntpEntStatusLeapSecDirection,
852*2b15cb3dSCy Schubert              ntpEntStatusInPkts,
853*2b15cb3dSCy Schubert              ntpEntStatusOutPkts,
854*2b15cb3dSCy Schubert              ntpEntStatusBadVersion,
855*2b15cb3dSCy Schubert              ntpEntStatusProtocolError,
856*2b15cb3dSCy Schubert              ntpEntStatusNotifications,
857*2b15cb3dSCy Schubert              ntpEntStatPktSent,
858*2b15cb3dSCy Schubert              ntpEntStatPktReceived,
859*2b15cb3dSCy Schubert              ntpAssocOffset,
860*2b15cb3dSCy Schubert              ntpAssocStratum,
861*2b15cb3dSCy Schubert              ntpAssocStatusJitter,
862*2b15cb3dSCy Schubert              ntpAssocStatusDelay,
863*2b15cb3dSCy Schubert              ntpAssocStatusDispersion,
864*2b15cb3dSCy Schubert              ntpAssocStatInPkts,
865*2b15cb3dSCy Schubert              ntpAssocStatOutPkts,
866*2b15cb3dSCy Schubert              ntpAssocStatProtocolError,
867*2b15cb3dSCy Schubert              ntpEntHeartbeatInterval,
868*2b15cb3dSCy Schubert              ntpEntNotifBits,
869*2b15cb3dSCy Schubert              ntpEntNotifMessage
870*2b15cb3dSCy Schubert    }
871*2b15cb3dSCy Schubert    STATUS      current
872*2b15cb3dSCy Schubert    DESCRIPTION
873*2b15cb3dSCy Schubert        "A collection of objects for the NTP MIB."
874*2b15cb3dSCy Schubert    ::= { ntpEntGroups 2 }
875*2b15cb3dSCy Schubert
876*2b15cb3dSCy SchubertntpEntNotifGroup NOTIFICATION-GROUP
877*2b15cb3dSCy Schubert    NOTIFICATIONS {
878*2b15cb3dSCy Schubert                    ntpEntNotifModeChange,
879*2b15cb3dSCy Schubert                    ntpEntNotifStratumChange,
880*2b15cb3dSCy Schubert                    ntpEntNotifSyspeerChanged,
881*2b15cb3dSCy Schubert                    ntpEntNotifAddAssociation,
882*2b15cb3dSCy Schubert                    ntpEntNotifRemoveAssociation,
883*2b15cb3dSCy Schubert                    ntpEntNotifConfigChanged,
884*2b15cb3dSCy Schubert                    ntpEntNotifLeapSecondAnnounced,
885*2b15cb3dSCy Schubert                    ntpEntNotifHeartbeat
886*2b15cb3dSCy Schubert    }
887*2b15cb3dSCy Schubert    STATUS      current
888*2b15cb3dSCy Schubert    DESCRIPTION
889*2b15cb3dSCy Schubert        "A collection of notifications for the NTP MIB"
890*2b15cb3dSCy Schubert    ::= { ntpEntGroups 3 }
891*2b15cb3dSCy Schubert
892*2b15cb3dSCy SchubertEND
893