draft-ietf-ntp-ntpv4-mib-01.txt   draft-ietf-ntp-ntpv4-mib-02.txt 
NTP H. Gerstung NTP H. Gerstung
Internet-Draft Meinberg Internet-Draft Meinberg
Expires: September 5, 2007 March 4, 2007 Expires: January 10, 2008 C. Elliott
Cisco
July 9, 2007
Definitions of Managed Objects for Network Time Protocol Version 4 Definitions of Managed Objects for Network Time Protocol Version 4
(NTPv4) (NTPv4)
draft-ietf-ntp-ntpv4-mib-01 draft-ietf-ntp-ntpv4-mib-02
Status of this Memo Status of this Memo
By submitting this Internet-Draft, each author represents that any By submitting this Internet-Draft, each author represents that any
applicable patent or other IPR claims of which he or she is aware applicable patent or other IPR claims of which he or she is aware
have been or will be disclosed, and any of which he or she becomes have been or will be disclosed, and any of which he or she becomes
aware will be disclosed, in accordance with Section 6 of BCP 79. aware will be disclosed, in accordance with Section 6 of BCP 79.
Internet-Drafts are working documents of the Internet Engineering Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF), its areas, and its working groups. Note that Task Force (IETF), its areas, and its working groups. Note that
skipping to change at page 1, line 34 skipping to change at page 1, line 36
and may be updated, replaced, or obsoleted by other documents at any and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress." material or to cite them other than as "work in progress."
The list of current Internet-Drafts can be accessed at The list of current Internet-Drafts can be accessed at
http://www.ietf.org/ietf/1id-abstracts.txt. http://www.ietf.org/ietf/1id-abstracts.txt.
The list of Internet-Draft Shadow Directories can be accessed at The list of Internet-Draft Shadow Directories can be accessed at
http://www.ietf.org/shadow.html. http://www.ietf.org/shadow.html.
This Internet-Draft will expire on September 5, 2007. This Internet-Draft will expire on January 10, 2008.
Copyright Notice Copyright Notice
Copyright (C) The IETF Trust (2007). Copyright (C) The IETF Trust (2007).
Abstract Abstract
The Network Time Protocol (NTP) is used in networks of all types and The Network Time Protocol (NTP) is used in networks of all types and
sizes for time synchronization of servers, workstations and other sizes for time synchronization of servers, workstations and other
networked equipment. As time synchronization is more and more a networked equipment. As time synchronization is more and more a
skipping to change at page 2, line 17 skipping to change at page 2, line 19
Table of Contents Table of Contents
1. The Internet-Standard Management Framework . . . . . . . . . . 3 1. The Internet-Standard Management Framework . . . . . . . . . . 3
2. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3 2. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3
3. Technical Description . . . . . . . . . . . . . . . . . . . . 3 3. Technical Description . . . . . . . . . . . . . . . . . . . . 3
4. MIB Definition . . . . . . . . . . . . . . . . . . . . . . . . 4 4. MIB Definition . . . . . . . . . . . . . . . . . . . . . . . . 4
5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 20 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 20
6. Security Considerations . . . . . . . . . . . . . . . . . . . 20 6. Security Considerations . . . . . . . . . . . . . . . . . . . 20
7. References . . . . . . . . . . . . . . . . . . . . . . . . . . 20 7. References . . . . . . . . . . . . . . . . . . . . . . . . . . 20
7.1. Normative References . . . . . . . . . . . . . . . . . . . 20 7.1. Normative References . . . . . . . . . . . . . . . . . . . 20
7.2. Informative References . . . . . . . . . . . . . . . . . . 21 7.2. Informative References . . . . . . . . . . . . . . . . . . 20
Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 21 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 21
Intellectual Property and Copyright Statements . . . . . . . . . . 22 Intellectual Property and Copyright Statements . . . . . . . . . . 22
1. The Internet-Standard Management Framework 1. The Internet-Standard Management Framework
For a detailed overview of the documents that describe the current For a detailed overview of the documents that describe the current
Internet-Standard Management Framework, please refer to section 7 of Internet-Standard Management Framework, please refer to section 7 of
RFC3410 [4]. RFC3410 [4].
Managed objects are accessed via a virtual information store, termed Managed objects are accessed via a virtual information store, termed
the Management Information Base or MIB. MIB objects are generally the Management Information Base or MIB. MIB objects are generally
skipping to change at page 4, line 31 skipping to change at page 4, line 31
most important ones ("core events") and additionally provides a most important ones ("core events") and additionally provides a
heartbeat notification as well as a test notification to allow heartbeat notification as well as a test notification to allow
management systems to test the reception of NTP related notifications management systems to test the reception of NTP related notifications
as well as enable heartbeat-based monitoring systems to assure that as well as enable heartbeat-based monitoring systems to assure that
the NTP service is still up and running. the NTP service is still up and running.
4. MIB Definition 4. MIB Definition
-- ************************************************************************** -- **************************************************************************
-- --
--$Id: draft-ietf-ntp-ntpv4-mib-00.xml 1.7 2006/06/16 07:13:50Z heiko TRASH $
--$Name: SUBMIT_1 $
-- --
-- The Network Time Protocol Version 4 -- The Network Time Protocol Version 4
-- Management Information Base (MIB) -- Management Information Base (MIB)
-- --
-- Authors: Heiko Gerstung (heiko.gerstung@meinberg.de)
-- Chris Elliott (chelliot@cisco.com)
--
-- for the Internet Engineering Task Force (IETF) -- for the Internet Engineering Task Force (IETF)
-- NTP Working Group (ntpwg) -- NTP Working Group (ntpwg)
-- --
-- --
-- ************************************************************************** -- **************************************************************************
-- --
-- $Log: draft-ietf-ntp-ntpv4-mib-00.xml $
-- Revision 1.10 2007/07/09 00:00:00Z chelliot
-- MIB:
-- - Changed "service" and "service instance" to "entity",
-- - and Srv to Ent
-- - Changed RFC to Internet
-- - Changed status to mode
-- - Added association status object
-- - Added leap second objects
-- Revision 1.9 2007/03/04 06:59:44Z chelliot -- Revision 1.9 2007/03/04 06:59:44Z chelliot
-- MIB: -- MIB:
-- - Added time objects, comments, changed notifications -- - Added time objects, comments, changed notifications
-- - Changed server to service -- - Changed server to service
-- Revision 1.8 2006/10/23 03:37:44Z chelliot -- Revision 1.8 2006/10/23 03:37:44Z chelliot
-- MIB: -- MIB:
-- - Changed various object types, added notification control object -- - Changed various object types, added notification control object
-- Revision 1.7 2006/06/16 07:13:50Z heiko -- Revision 1.7 2006/06/16 07:13:50Z heiko
-- XML/RFC: -- XML/RFC:
-- - added/changed comments about the to-be-done IANA SMI assignment -- - added/changed comments about the to-be-done IANA SMI assignment
skipping to change at page 6, line 17 skipping to change at page 6, line 22
Unsigned32 Unsigned32
FROM SNMPv2-SMI FROM SNMPv2-SMI
MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
FROM SNMPv2-CONF FROM SNMPv2-CONF
DisplayString DisplayString
FROM SNMPv2-TC FROM SNMPv2-TC
InetAddressType, InetAddress InetAddressType, InetAddress
FROM INET-ADDRESS-MIB; FROM INET-ADDRESS-MIB;
ntpSnmpMIB MODULE-IDENTITY ntpSnmpMIB MODULE-IDENTITY
LAST-UPDATED "200703040000Z" -- March 4, 2007 LAST-UPDATED "200707090000Z" -- July 9, 2007
ORGANIZATION "The IETF NTP Working Group (ntpwg)" ORGANIZATION "The IETF NTP Working Group (ntpwg)"
CONTACT-INFO CONTACT-INFO
" WG Email: " WG Email:
Subscribe: Subscribe:
Editor 1 name Editor 1 name
Title Title
Employeer Employeer
Address Address
Phone Phone
email email
Editor 2 name..." Editor 2 name..."
DESCRIPTION DESCRIPTION
"The Management Information Base for NTP time services." "The Management Information Base for NTP time entities."
REVISION "200707090000Z"
DESCRIPTION
"Multiple changes from IETF 68"
REVISION "200703040000Z" REVISION "200703040000Z"
DESCRIPTION DESCRIPTION
"More MIB review modifications." "More MIB review modifications."
REVISION "200610230000Z" REVISION "200610230000Z"
DESCRIPTION DESCRIPTION
"Modifications from MIB review." "Modifications from MIB review."
REVISION "200606190000Z" REVISION "200606190000Z"
DESCRIPTION DESCRIPTION
"First Draft Version" "First Draft Version"
REVISION "200512190000Z" REVISION "200512190000Z"
DESCRIPTION DESCRIPTION
"revised edition (added traps and stuff)" "revised edition (added traps and stuff)"
REVISION "200511160000Z" REVISION "200511160000Z"
DESCRIPTION DESCRIPTION
"Initial draft" "Initial draft"
::= { mib-2 XXX } ::= { mib-2 99999 }
ntpSnmpMIBObjects OBJECT IDENTIFIER ::= { ntpSnmpMIB 1 } ntpSnmpMIBObjects OBJECT IDENTIFIER ::= { ntpSnmpMIB 1 }
-- MIB contains 4 groups -- MIB contains 4 groups
ntpSrvInfo OBJECT IDENTIFIER ::= { ntpSnmpMIBObjects 1 } ntpEntInfo OBJECT IDENTIFIER ::= { ntpSnmpMIBObjects 1 }
ntpSrvStatus OBJECT IDENTIFIER ::= { ntpSnmpMIBObjects 2 } ntpEntStatus OBJECT IDENTIFIER ::= { ntpSnmpMIBObjects 2 }
ntpAssociation OBJECT IDENTIFIER ::= { ntpSnmpMIBObjects 3 } ntpAssociation OBJECT IDENTIFIER ::= { ntpSnmpMIBObjects 3 }
ntpSrvControl OBJECT IDENTIFIER ::= { ntpSnmpMIBObjects 4 } ntpEntControl OBJECT IDENTIFIER ::= { ntpSnmpMIBObjects 4 }
ntpSrvNotifObjects OBJECT IDENTIFIER ::= { ntpSnmpMIBObjects 5 } ntpEntNotifObjects OBJECT IDENTIFIER ::= { ntpSnmpMIBObjects 5 }
ntpSrvNotifPrefix OBJECT IDENTIFIER ::= { ntpSnmpMIBObjects 6 } ntpEntNotifPrefix OBJECT IDENTIFIER ::= { ntpSnmpMIBObjects 6 }
-- --
-- Section 1: General NTP Entity information objects
-- (relatively static information) -- (relatively static information)
-- --
ntpSrvSoftwareName OBJECT-TYPE ntpEntSoftwareName OBJECT-TYPE
SYNTAX DisplayString SYNTAX DisplayString
MAX-ACCESS read-only MAX-ACCESS read-only
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The product name of the installed NTP version." "The product name of the installed NTP version."
-- the product name of the running ntp implementation, e.g. "ntpd" -- the product name of the running ntp implementation, e.g. "ntpd"
::= { ntpSrvInfo 1 } ::= { ntpEntInfo 1 }
ntpSrvSoftwareVersion OBJECT-TYPE ntpEntSoftwareVersion OBJECT-TYPE
SYNTAX DisplayString SYNTAX DisplayString
MAX-ACCESS read-only MAX-ACCESS read-only
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The software version of the installed NTP implementation." "The software version of the installed NTP implementation."
-- full version string, e.g. "ntpd-4.2.0b@1.1433 ..." -- full version string, e.g. "ntpd-4.2.0b@1.1433 ..."
::= { ntpSrvInfo 2 } ::= { ntpEntInfo 2 }
ntpSrvSoftwareVersionVal OBJECT-TYPE ntpEntSoftwareVersionVal OBJECT-TYPE
SYNTAX Unsigned32 SYNTAX Unsigned32
MAX-ACCESS read-only MAX-ACCESS read-only
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"Software version of installed NTP as an unsigned integer value." "Software version of installed NTP as an unsigned integer value."
-- e.g. if version string is "4.2.0b" this could be translated into 4202 -- e.g. if version string is "4.2.0b" this could be translated into 4202
-- could be useful to find out if version of service on a is newer or older -- could be useful to find out if version of entity on a is newer or older
-- than version of the service on b (without too much string parsing trouble) -- than version of the entity on b (without too much string parsing trouble)
::= { ntpSrvInfo 3 } ::= { ntpEntInfo 3 }
ntpSrvSoftwareVendor OBJECT-TYPE ntpEntSoftwareVendor OBJECT-TYPE
SYNTAX DisplayString SYNTAX DisplayString
MAX-ACCESS read-only MAX-ACCESS read-only
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The vendor/author of the installed NTP version." "The vendor/author of the installed NTP version."
::= { ntpSrvInfo 4 } ::= { ntpEntInfo 4 }
ntpSrvSystemType OBJECT-TYPE ntpEntSystemType OBJECT-TYPE
SYNTAX DisplayString SYNTAX DisplayString
MAX-ACCESS read-only MAX-ACCESS read-only
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"General hardware/os platform information." "General hardware/os platform information."
-- e.g. "Linux 2.6.12 / x86" -- e.g. "Linux 2.6.12 / x86"
-- freely configurable, default is OS Version / Hardware platform -- freely configurable, default is OS Version / Hardware platform
::= { ntpSrvInfo 5 } ::= { ntpEntInfo 5 }
ntpSrvTimeResolution OBJECT-TYPE ntpEntTimeResolution OBJECT-TYPE
SYNTAX DisplayString SYNTAX DisplayString
MAX-ACCESS read-only MAX-ACCESS read-only
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"A string describing the time resolution of the running NTP "A string describing the time resolution of the running NTP
implementation." implementation."
-- e.g. "100 ns" -- e.g. "100 ns"
-- depends on the NTP implementation and the underlying OS. The current -- depends on the NTP implementation and the underlying OS. The current
-- resolution should be used, so if the OS only supports 10ms and ntpd is -- resolution should be used, so if the OS only supports 10ms and ntpd is
-- capable of 1ns, the 10ms should be advertised -- capable of 1ns, the 10ms should be advertised
::= { ntpSrvInfo 6 } ::= { ntpEntInfo 6 }
ntpSrvTimeResolutionVal OBJECT-TYPE ntpEntTimeResolutionVal OBJECT-TYPE
SYNTAX Unsigned32 SYNTAX Unsigned32
MAX-ACCESS read-only MAX-ACCESS read-only
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The time resolution in integer format." "The time resolution in integer format."
-- ntpSrvTimeResolution in Integer format -- ntpEntTimeResolution in Integer format
-- shows the resolution based on 1 second, e.g. "1ms" translates to 1000 -- shows the resolution based on 1 second, e.g. "1ms" translates to 1000
::= { ntpSrvInfo 7 } ::= { ntpEntInfo 7 }
ntpSrvTimePrecision OBJECT-TYPE ntpEntTimePrecision OBJECT-TYPE
SYNTAX DisplayString SYNTAX DisplayString
MAX-ACCESS read-only MAX-ACCESS read-only
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"A string describing the precision with which the NTP service "A string describing the precision with which the NTP entity
implementation/OS manages its time base." implementation/OS manages its time base."
-- e.g. "-18" means 2^-18 = 0.000003814697265625 seconds -- e.g. "-18" means 2^-18 = 0.000003814697265625 seconds
-- "-5" means 2^-5 = 0.03125 seconds -- "-5" means 2^-5 = 0.03125 seconds
-- depends on the NTP implementation and the underlying OS. -- depends on the NTP implementation and the underlying OS.
::= { ntpSrvInfo 8 } ::= { ntpEntInfo 8 }
ntpSrvTimePrecisionVal OBJECT-TYPE ntpEntTimePrecisionVal OBJECT-TYPE
SYNTAX Integer32 SYNTAX Integer32
MAX-ACCESS read-only MAX-ACCESS read-only
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The service's precision in integer format." "The entity's precision in integer format."
-- ntpSrvTimePrecision in signed Integer format -- ntpEntTimePrecision in signed Integer format
-- shows the precision. A value of -5 would mean 2^-5 = 31.25 ms -- shows the precision. A value of -5 would mean 2^-5 = 31.25 ms
::= { ntpSrvInfo 9 } ::= { ntpEntInfo 9 }
ntpSrvTimeDistance OBJECT-TYPE ntpEntTimeDistance OBJECT-TYPE
SYNTAX DisplayString SYNTAX DisplayString
MAX-ACCESS read-only MAX-ACCESS read-only
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The distance from this NTP instance to the root time reference "The distance from this NTP instance to the root time reference
(stratum 0) source." (stratum 0) source."
-- including the unit -- including the unit
-- e.g. "13.243 ms" -- e.g. "13.243 ms"
::= { ntpSrvInfo 10 } ::= { ntpEntInfo 10 }
-- --
-- Section 2: Current NTP status (dynamic information) -- Section 2: Current NTP status (dynamic information)
-- --
ntpSrvStatusCurrentState OBJECT-TYPE ntpEntStatusCurrentMode OBJECT-TYPE
SYNTAX DisplayString SYNTAX DisplayString
MAX-ACCESS read-only MAX-ACCESS read-only
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The actual status of NTP as a string" "The actual mode of NTP as a string"
--- possible strings: --- possible strings:
--- "not running" : NTP is not running --- "not running" : NTP is not running
--- "not synchronized" : NTP is not synchronized to any time source --- "not synchronized" : NTP is not synchronized to any time source
--- (stratum = 16) --- (stratum = 16)
--- "none configured" : NTP is not synchronized and does not have a server --- "none configured" : NTP is not synchronized and does not have a server
--- configured --- configured
--- (stratum = 16) --- (stratum = 16)
--- "sync to local" : NTP is synchronized to own local clock --- "sync to local" : NTP is synchronized to own local clock
--- (degraded reliability) --- (degraded reliability)
--- "sync to refclock" : NTP is synchronized to a local hardware refclock --- "sync to refclock" : NTP is synchronized to a local hardware refclock
--- (e.g. GPS) --- (e.g. GPS)
--- "sync to remote server" : NTP is synchronized to a remote NTP server --- "sync to remote server" : NTP is synchronized to a remote NTP server
--- ("upstream" server) --- ("upstream" server)
--- "unknown" : The state of NTP is unknown. --- "unknown" : The state of NTP is unknown.
::= { ntpSrvStatus 1 } ::= { ntpEntStatus 1 }
ntpSrvStatusCurrentStateVal OBJECT-TYPE ntpEntStatusCurrentModeVal OBJECT-TYPE
SYNTAX INTEGER { SYNTAX INTEGER {
notRunning(1), notRunning(1),
notSynchronized(2), notSynchronized(2),
noneConfigured(3), noneConfigured(3),
syncToLocal(4), syncToLocal(4),
syncToRefclock(5), syncToRefclock(5),
syncToRemoteServer(6), syncToRemoteServer(6),
unknown(99) unknown(99)
} }
MAX-ACCESS read-only MAX-ACCESS read-only
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The current state of the NTP as integer value." "The current mode of the NTP as integer value."
-- see ntpSrvStatusCurrentState -- see ntpEntStatusCurrentMode
DEFVAL { 99 } DEFVAL { 99 }
::= { ntpSrvStatus 2 } ::= { ntpEntStatus 2 }
ntpSrvStatusStratum OBJECT-TYPE ntpEntStatusStratum OBJECT-TYPE
SYNTAX Unsigned32 (1..16) SYNTAX Unsigned32 (1..16)
MAX-ACCESS read-only MAX-ACCESS read-only
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The NTP service's own stratum value." "The NTP entity's own stratum value."
-- should be stratum of syspeer + 1 (or 16 if no syspeer) -- should be stratum of syspeer + 1 (or 16 if no syspeer)
DEFVAL { 16 } DEFVAL { 16 }
::= { ntpSrvStatus 3 } ::= { ntpEntStatus 3 }
ntpSrvStatusActiveRefSourceId OBJECT-TYPE ntpEntStatusActiveRefSourceId OBJECT-TYPE
SYNTAX Unsigned32 ( 0..99999 ) SYNTAX Unsigned32 ( 0..99999 )
MAX-ACCESS read-only MAX-ACCESS read-only
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The association ID of the current syspeer." "The association ID of the current syspeer."
DEFVAL { 0 } DEFVAL { 0 }
::= { ntpSrvStatus 4 } ::= { ntpEntStatus 4 }
ntpSrvStatusActiveRefSourceName OBJECT-TYPE ntpEntStatusActiveRefSourceName OBJECT-TYPE
SYNTAX DisplayString SYNTAX DisplayString
MAX-ACCESS read-only MAX-ACCESS read-only
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The hostname/descriptive name of the current reference source "The hostname/descriptive name of the current reference source
selected as syspeer." selected as syspeer."
-- e.g. "ntp1.ptb.de" or "GPS" or "DCFi" ... -- e.g. "ntp1.ptb.de" or "GPS" or "DCFi" ...
-- maybe something like "RefClk(8)" = "hardware clock using driver 8" -- maybe something like "RefClk(8)" = "hardware clock using driver 8"
-- would be nice -- would be nice
::= { ntpSrvStatus 5 } ::= { ntpEntStatus 5 }
ntpSrvStatusActiveOffset OBJECT-TYPE ntpEntStatusActiveOffset OBJECT-TYPE
SYNTAX DisplayString SYNTAX DisplayString
MAX-ACCESS read-only MAX-ACCESS read-only
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The Time offset to the current selected reference time source as "The Time offset to the current selected reference time source as
a string." a string."
-- including unit, e.g. "0.032 ms" or "1.232 s" -- including unit, e.g. "0.032 ms" or "1.232 s"
::= { ntpSrvStatus 6 } ::= { ntpEntStatus 6 }
ntpSrvStatusNumberOfRefSources OBJECT-TYPE ntpEntStatusNumberOfRefSources OBJECT-TYPE
SYNTAX Unsigned32 (0..99) SYNTAX Unsigned32 (0..99)
MAX-ACCESS read-only MAX-ACCESS read-only
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The number of reference sources configured for NTP." "The number of reference sources configured for NTP."
DEFVAL { 0 } DEFVAL { 0 }
::= { ntpSrvStatus 7 } ::= { ntpEntStatus 7 }
ntpSrvStatusDispersion OBJECT-TYPE ntpEntStatusDispersion OBJECT-TYPE
SYNTAX DisplayString SYNTAX DisplayString
MAX-ACCESS read-only MAX-ACCESS read-only
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The root dispersion of the running NTP instance." "The root dispersion of the running NTP instance."
-- e.g. "6.927" -- e.g. "6.927"
DEFVAL { "n/a" } DEFVAL { "n/a" }
::= { ntpSrvStatus 8 } ::= { ntpEntStatus 8 }
ntpSrvStatusServiceUptime OBJECT-TYPE ntpEntStatusEntityUptime OBJECT-TYPE
SYNTAX Unsigned32 SYNTAX Unsigned32
MAX-ACCESS read-only MAX-ACCESS read-only
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The uptime of the NTP service in seconds." "The uptime of the NTP entity in seconds."
-- time since ntpd was (re-)started (not sysUptime!) -- time since ntpd was (re-)started (not sysUptime!)
DEFVAL { 0 } DEFVAL { 0 }
::= { ntpSrvStatus 9 } ::= { ntpEntStatus 9 }
ntpSrvStatusTime OBJECT-TYPE ntpEntStatusTime OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0 | 16)) SYNTAX OCTET STRING (SIZE (0 | 16))
MAX-ACCESS read-only MAX-ACCESS read-only
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The current NTP time on the device, in 128-bit "The current NTP time on the device, in 128-bit
NTP date format. Ref: draft-ietf-ntp-ntpv4-proto-04, NTP date format. Ref: draft-ietf-ntp-ntpv4-proto-04,
section 5: section 5:
It includes a 64-bit signed seconds field It includes a 64-bit signed seconds field
spanning 584 billion years and a 64-bit fraction spanning 584 billion years and a 64-bit fraction
field resolving .05 attosecond (i.e. 0.5e-18). field resolving .05 attosecond (i.e. 0.5e-18).
skipping to change at page 12, line 23 skipping to change at page 12, line 33
This object can be used to timestamp events on this This object can be used to timestamp events on this
node and allow a management station to coorelate node and allow a management station to coorelate
different time objects. For example, a management different time objects. For example, a management
station could query this object and sysUpTime in station could query this object and sysUpTime in
the same operation to be able to relate sysUpTime the same operation to be able to relate sysUpTime
to NTP time. to NTP time.
This object is not to be used to set the time of This object is not to be used to set the time of
the node querying this object. NTP should be used the node querying this object. NTP should be used
for this--or at least SNTP." for this--or at least SNTP."
::= { ntpSrvStatus 10 } ::= { ntpEntStatus 10 }
ntpEntStatusLeapSecond OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Date the next known leap second will occur"
DEFVAL { 0 }
::= { ntpEntStatus 11 }
ntpEntStatusLeapSecDirection OBJECT-TYPE
SYNTAX Integer32 (-1..1)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Direction of next known leap second"
DEFVAL { 0 }
::= { ntpEntStatus 12 }
-- --
-- Section 3: The status of all currently mobilized associations -- Section 3: The status of all currently mobilized associations
-- --
ntpAssociationTable OBJECT-TYPE ntpAssociationTable OBJECT-TYPE
SYNTAX SEQUENCE OF NtpAssociationEntry SYNTAX SEQUENCE OF NtpAssociationEntry
MAX-ACCESS not-accessible MAX-ACCESS not-accessible
STATUS current STATUS current
DESCRIPTION DESCRIPTION
skipping to change at page 13, line 45 skipping to change at page 13, line 33
INDEX { ntpAssocId } INDEX { ntpAssocId }
::= { ntpAssociationTable 1 } ::= { ntpAssociationTable 1 }
NtpAssociationEntry ::= SEQUENCE { NtpAssociationEntry ::= SEQUENCE {
ntpAssocId Unsigned32, ntpAssocId Unsigned32,
ntpAssocName DisplayString, ntpAssocName DisplayString,
ntpAssocRefId DisplayString, ntpAssocRefId DisplayString,
ntpAssocAddressType InetAddressType, ntpAssocAddressType InetAddressType,
ntpAssocAddress InetAddress, ntpAssocAddress InetAddress,
ntpAssocOffset DisplayString, ntpAssocOffset DisplayString,
ntpAssocStratum Integer32,
ntpAssocStatusJitter DisplayString, ntpAssocStatusJitter DisplayString,
ntpAssocStatusDelay DisplayString, ntpAssocStatusDelay DisplayString,
ntpAssocStatusDispersion DisplayString ntpAssocStatusDispersion DisplayString
} }
ntpAssocId OBJECT-TYPE ntpAssocId OBJECT-TYPE
SYNTAX Unsigned32 ( 1..99999 ) SYNTAX Unsigned32 ( 1..99999 )
MAX-ACCESS not-accessible MAX-ACCESS not-accessible
STATUS current STATUS current
DESCRIPTION DESCRIPTION
skipping to change at page 15, line 7 skipping to change at page 14, line 43
ntpAssocOffset OBJECT-TYPE ntpAssocOffset OBJECT-TYPE
SYNTAX DisplayString SYNTAX DisplayString
MAX-ACCESS read-only MAX-ACCESS read-only
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The time offset to the association as a string." "The time offset to the association as a string."
-- including unit, e.g. "0.032 ms" or "1.232 s" -- including unit, e.g. "0.032 ms" or "1.232 s"
::= { ntpAssociationEntry 6 } ::= { ntpAssociationEntry 6 }
ntpAssocStratum OBJECT-TYPE
SYNTAX Integer32 (1..16)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The association stratum value."
::= { ntpAssociationEntry 7 }
ntpAssocStatusJitter OBJECT-TYPE ntpAssocStatusJitter OBJECT-TYPE
SYNTAX DisplayString SYNTAX DisplayString
MAX-ACCESS read-only MAX-ACCESS read-only
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The jitter in miliseconds as a string." "The jitter in miliseconds as a string."
::= { ntpAssociationEntry 7 } ::= { ntpAssociationEntry 8 }
ntpAssocStatusDelay OBJECT-TYPE ntpAssocStatusDelay OBJECT-TYPE
SYNTAX DisplayString SYNTAX DisplayString
MAX-ACCESS read-only MAX-ACCESS read-only
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The network delay in miliseconds as a string." "The network delay in miliseconds as a string."
::= { ntpAssociationEntry 8 } ::= { ntpAssociationEntry 9 }
ntpAssocStatusDispersion OBJECT-TYPE ntpAssocStatusDispersion OBJECT-TYPE
SYNTAX DisplayString SYNTAX DisplayString
MAX-ACCESS read-only MAX-ACCESS read-only
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The root dispersion of the association." "The root dispersion of the association."
-- e.g. "6.927" -- e.g. "6.927"
::= { ntpAssociationEntry 9 } ::= { ntpAssociationEntry 10 }
-- --
-- Section 4: Control objects -- Section 4: Control objects
-- --
ntpSrvHeartbeatInterval OBJECT-TYPE ntpEntHeartbeatInterval OBJECT-TYPE
SYNTAX Unsigned32 SYNTAX Unsigned32
MAX-ACCESS read-write MAX-ACCESS read-write
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The interval at which the ntpSrvNotifHeartbeat notification should be "The interval at which the ntpEntNotifHeartbeat notification should be
sent, in seconds. If set to 0 and the srvNotifHeartbeat bit in sent, in seconds. If set to 0 and the srvNotifHeartbeat bit in
ntpSrvNotifBits is 1 then ntpSrvNotifHeartbeat is sent once." ntpEntNotifBits is 1 then ntpEntNotifHeartbeat is sent once."
DEFVAL { 60 } DEFVAL { 60 }
::= { ntpSrvControl 1 } ::= { ntpEntControl 1 }
ntpSrvNotifBits OBJECT-TYPE ntpEntNotifBits OBJECT-TYPE
SYNTAX BITS { SYNTAX BITS {
notUsed(0), -- Used to sync up bit and notification notUsed(0), -- Used to sync up bit and notification
-- indices -- indices
srvNotifNotSync(1), srvNotifNotSync(1),
srvNotifServiceStarted(2), srvNotifEntityStarted(2),
srvNotifServiceStopped(3), srvNotifEntityStopped(3),
srvNotifStratumChange(4), srvNotifStratumChange(4),
srvNotifSyspeerChanged(5), srvNotifSyspeerChanged(5),
srvNotifAddAssociation(6), srvNotifAddAssociation(6),
srvNotifRemoveAssociation(7), srvNotifRemoveAssociation(7),
srvNotifConfigChanged(8), srvNotifConfigChanged(8),
srvNotifLeapSecondAnnounced(9), srvNotifLeapSecondAnnounced(9),
srvNotifHeartbeat(10) srvNotifHeartbeat(10)
} }
MAX-ACCESS read-write MAX-ACCESS read-write
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"A bit for each notification. A 1 for a particular bit enables "A bit for each notification. A 1 for a particular bit enables
that particular notification, a 0 disables it." that particular notification, a 0 disables it."
::= { ntpSrvControl 2 } ::= { ntpEntControl 2 }
-- --
-- Section 5: Notification objects -- Section 5: Notification objects
-- --
ntpSrvNotifMessage OBJECT-TYPE ntpEntNotifMessage OBJECT-TYPE
SYNTAX DisplayString SYNTAX DisplayString
MAX-ACCESS accessible-for-notify MAX-ACCESS accessible-for-notify
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"Used as a payload object for all notifications. Holds a clear text "Used as a payload object for all notifications. Holds a clear text
event message." event message."
DEFVAL { "no event" } DEFVAL { "no event" }
::= { ntpSrvNotifObjects 1 } ::= { ntpEntNotifObjects 1 }
-- --
-- SNMP notification definitions
-- --
ntpSrvNotifications OBJECT IDENTIFIER ::= { ntpSrvNotifPrefix 0 } ntpEntNotifications OBJECT IDENTIFIER ::= { ntpEntNotifPrefix 0 }
ntpSrvNotifNotInSync NOTIFICATION-TYPE ntpEntNotifNotInSync NOTIFICATION-TYPE
OBJECTS { ntpSrvStatusCurrentStateVal } OBJECTS { ntpEntStatusCurrentModeVal }
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The notification to be sent when the NTP service transistions to "The notification to be sent when the NTP entity transistions to
not synchronised." not synchronised."
::= { ntpSrvNotifications 1 } ::= { ntpEntNotifications 1 }
ntpSrvNotifServiceStarted NOTIFICATION-TYPE ntpEntNotifEntityStarted NOTIFICATION-TYPE
OBJECTS { ntpSrvNotifMessage } OBJECTS { ntpEntNotifMessage }
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The notification to be sent when NTP starts up." "The notification to be sent when NTP starts up."
::= { ntpSrvNotifications 2 } ::= { ntpEntNotifications 2 }
ntpSrvNotifServiceStopped NOTIFICATION-TYPE ntpEntNotifEntityStopped NOTIFICATION-TYPE
OBJECTS { ntpSrvNotifMessage } OBJECTS { ntpEntNotifMessage }
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The notification to be sent when NTP stops." "The notification to be sent when NTP stops."
::= { ntpSrvNotifications 3 } ::= { ntpEntNotifications 3 }
ntpSrvNotifStratumChange NOTIFICATION-TYPE ntpEntNotifStratumChange NOTIFICATION-TYPE
OBJECTS { ntpSrvStatusTime, ntpSrvStatusStratum, OBJECTS { ntpEntStatusTime, ntpEntStatusStratum,
ntpSrvNotifMessage } ntpEntNotifMessage }
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The notification to be sent when stratum level of NTP changes." "The notification to be sent when stratum level of NTP changes."
::= { ntpSrvNotifications 4 } ::= { ntpEntNotifications 4 }
ntpSrvNotifSyspeerChanged NOTIFICATION-TYPE ntpEntNotifSyspeerChanged NOTIFICATION-TYPE
OBJECTS { ntpSrvStatusTime, ntpSrvStatusActiveRefSourceId, OBJECTS { ntpEntStatusTime, ntpEntStatusActiveRefSourceId,
ntpSrvNotifMessage } ntpEntNotifMessage }
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The notification to be sent when a (new) syspeer has been selected." "The notification to be sent when a (new) syspeer has been selected."
::= { ntpSrvNotifications 5 } ::= { ntpEntNotifications 5 }
ntpSrvNotifAddAssociation NOTIFICATION-TYPE ntpEntNotifAddAssociation NOTIFICATION-TYPE
OBJECTS { ntpSrvStatusTime, ntpAssocName, ntpSrvNotifMessage } OBJECTS { ntpEntStatusTime, ntpAssocName, ntpEntNotifMessage }
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The notification to be sent when a new association is mobilized." "The notification to be sent when a new association is mobilized."
::= { ntpSrvNotifications 6 } ::= { ntpEntNotifications 6 }
ntpSrvNotifRemoveAssociation NOTIFICATION-TYPE ntpEntNotifRemoveAssociation NOTIFICATION-TYPE
OBJECTS { ntpSrvStatusTime, ntpAssocName, ntpSrvNotifMessage } OBJECTS { ntpEntStatusTime, ntpAssocName, ntpEntNotifMessage }
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The notification to be sent when an association is demobilized." "The notification to be sent when an association is demobilized."
::= { ntpSrvNotifications 7 } ::= { ntpEntNotifications 7 }
ntpSrvNotifConfigChanged NOTIFICATION-TYPE ntpEntNotifConfigChanged NOTIFICATION-TYPE
OBJECTS { ntpSrvStatusTime, ntpSrvNotifMessage } OBJECTS { ntpEntStatusTime, ntpEntNotifMessage }
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The notification to be sent when the NTP configuration has changed." "The notification to be sent when the NTP configuration has changed."
-- e.g. when the system connected to the internet and was assigned -- e.g. when the system connected to the internet and was assigned
-- a new IP address by the ISPs DHCP server -- a new IP address by the ISPs DHCP server
::= { ntpSrvNotifications 8 } ::= { ntpEntNotifications 8 }
ntpSrvNotifLeapSecondAnnounced NOTIFICATION-TYPE ntpEntNotifLeapSecondAnnounced NOTIFICATION-TYPE
OBJECTS { ntpSrvStatusTime, ntpSrvNotifMessage } OBJECTS { ntpEntStatusTime, ntpEntNotifMessage }
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The notification to be sent when a leap second has been announced." "The notification to be sent when a leap second has been announced."
::= { ntpSrvNotifications 9 } ::= { ntpEntNotifications 9 }
ntpSrvNotifHeartbeat NOTIFICATION-TYPE ntpEntNotifHeartbeat NOTIFICATION-TYPE
OBJECTS { ntpSrvStatusTime, ntpSrvStatusCurrentStateVal, OBJECTS { ntpEntStatusTime, ntpEntStatusCurrentModeVal,
ntpSrvHeartbeatInterval, ntpSrvNotifMessage } ntpEntHeartbeatInterval, ntpEntNotifMessage }
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The notification to be sent periodically (as defined by "The notification to be sent periodically (as defined by
ntpSrvHeartbeatInterval) to indicate that the NTP service is still ntpEntHeartbeatInterval) to indicate that the NTP entity is still
alive." alive."
::= { ntpSrvNotifications 10 } ::= { ntpEntNotifications 10 }
-- --
-- Conformance/Compliance statements -- Conformance/Compliance statements
-- --
ntpSrvConformance OBJECT IDENTIFIER ::= { ntpSnmpMIB 6 } ntpEntConformance OBJECT IDENTIFIER ::= { ntpSnmpMIB 6 }
ntpSrvCompliances OBJECT IDENTIFIER ::= { ntpSrvConformance 1 } ntpEntCompliances OBJECT IDENTIFIER ::= { ntpEntConformance 1 }
ntpSrvGroups OBJECT IDENTIFIER ::= { ntpSrvConformance 2 } ntpEntGroups OBJECT IDENTIFIER ::= { ntpEntConformance 2 }
ntpSrvCompliance MODULE-COMPLIANCE ntpEntCompliance MODULE-COMPLIANCE
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The compliance statement for SNMP entities which implement the NTP "The compliance statement for SNMP entities which implement the NTP
Service MIB" MIB"
MODULE -- this module MODULE -- this module
MANDATORY-GROUPS { MANDATORY-GROUPS {
ntpSrvObjectsGroup, ntpEntObjectsGroup,
ntpSrvNotifPrefixGroup ntpEntNotifPrefixGroup
} }
::= { ntpSrvCompliances 1 } ::= { ntpEntCompliances 1 }
ntpSrvObjectsGroup OBJECT-GROUP ntpEntObjectsGroup OBJECT-GROUP
OBJECTS { OBJECTS {
ntpSrvSoftwareName, ntpEntSoftwareName,
ntpSrvSoftwareVersion, ntpEntSoftwareVersion,
ntpSrvSoftwareVersionVal, ntpEntSoftwareVersionVal,
ntpSrvSoftwareVendor, ntpEntSoftwareVendor,
ntpSrvSystemType, ntpEntSystemType,
ntpSrvTimeResolution, ntpEntTimeResolution,
ntpSrvTimeResolutionVal, ntpEntTimeResolutionVal,
ntpSrvTimePrecision, ntpEntTimePrecision,
ntpSrvTimePrecisionVal, ntpEntTimePrecisionVal,
ntpSrvTimeDistance, ntpEntTimeDistance,
ntpSrvStatusCurrentState, ntpEntStatusCurrentMode,
ntpSrvStatusCurrentStateVal, ntpEntStatusCurrentModeVal,
ntpSrvStatusStratum, ntpEntStatusStratum,
ntpSrvStatusActiveRefSourceId, ntpEntStatusActiveRefSourceId,
ntpSrvStatusActiveRefSourceName, ntpEntStatusActiveRefSourceName,
ntpSrvStatusActiveOffset, ntpEntStatusActiveOffset,
ntpSrvStatusNumberOfRefSources, ntpEntStatusNumberOfRefSources,
ntpSrvStatusDispersion, ntpEntStatusDispersion,
ntpSrvStatusServiceUptime, ntpEntStatusEntityUptime,
ntpSrvStatusTime, ntpEntStatusTime,
ntpEntStatusLeapSecond,
ntpEntStatusLeapSecDirection,
ntpAssocName, ntpAssocName,
ntpAssocRefId, ntpAssocRefId,
ntpAssocAddressType, ntpAssocAddressType,
ntpAssocAddress, ntpAssocAddress,
ntpAssocOffset, ntpAssocOffset,
ntpAssocStratum,
ntpAssocStatusJitter, ntpAssocStatusJitter,
ntpAssocStatusDelay, ntpAssocStatusDelay,
ntpAssocStatusDispersion, ntpAssocStatusDispersion,
ntpSrvHeartbeatInterval, ntpEntHeartbeatInterval,
ntpSrvNotifBits, ntpEntNotifBits,
ntpSrvNotifMessage ntpEntNotifMessage
} }
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The collection of objects for the NTP Service MIB" "The collection of objects for the NTP MIB"
::= { ntpSrvGroups 1 } ::= { ntpEntGroups 1 }
ntpSrvNotifPrefixGroup NOTIFICATION-GROUP ntpEntNotifPrefixGroup NOTIFICATION-GROUP
NOTIFICATIONS { NOTIFICATIONS {
ntpSrvNotifNotInSync, ntpEntNotifNotInSync,
ntpSrvNotifServiceStarted, ntpEntNotifEntityStarted,
ntpSrvNotifServiceStopped, ntpEntNotifEntityStopped,
ntpSrvNotifStratumChange, ntpEntNotifStratumChange,
ntpSrvNotifSyspeerChanged, ntpEntNotifSyspeerChanged,
ntpSrvNotifAddAssociation, ntpEntNotifAddAssociation,
ntpSrvNotifRemoveAssociation, ntpEntNotifRemoveAssociation,
ntpSrvNotifConfigChanged, ntpEntNotifConfigChanged,
ntpSrvNotifLeapSecondAnnounced, ntpEntNotifLeapSecondAnnounced,
ntpSrvNotifHeartbeat ntpEntNotifHeartbeat
} }
STATUS current STATUS current
DESCRIPTION DESCRIPTION
"The collection of notifications for the NTP Service MIB" "The collection of notifications for the NTP MIB"
::= { ntpSrvGroups 2 } ::= { ntpEntGroups 2 }
END END
5. IANA Considerations 5. IANA Considerations
The MIB module in this document uses the following IANA-assigned The MIB module in this document uses the following IANA-assigned
OBJECT IDENTIFIER values recorded in the SMI Numbers registry: OBJECT IDENTIFIER values recorded in the SMI Numbers registry:
Descriptor OBJECT IDENTIFIER value Descriptor OBJECT IDENTIFIER value
---------- ----------------------- ---------- -----------------------
skipping to change at page 21, line 11 skipping to change at page 21, line 5
[3] McCloghrie, K., Perkins, D., and J. Schoenwaelder, "Conformance [3] McCloghrie, K., Perkins, D., and J. Schoenwaelder, "Conformance
Statements for SMIv2", STD 58, RFC 2580, April 1999. Statements for SMIv2", STD 58, RFC 2580, April 1999.
7.2. Informative References 7.2. Informative References
[4] Case, J., Mundy, R., Partain, D., and B. Stewart, "Introduction [4] Case, J., Mundy, R., Partain, D., and B. Stewart, "Introduction
and Applicability Statements for Internet-Standard Management and Applicability Statements for Internet-Standard Management
Framework", RFC 3410, December 2002. Framework", RFC 3410, December 2002.
Author's Address Authors' Addresses
Heiko Gerstung Heiko Gerstung
Meinberg Funkuhren Gmbh & Co. KG Meinberg Funkuhren Gmbh & Co. KG
Auf der Landwehr 22 Auf der Landwehr 22
Bad Pyrmont 31812 Bad Pyrmont 31812
Germany Germany
Phone: +49 5281 9309 25 Phone: +49 5281 9309 29
Email: heiko.gerstung@meinberg.de Email: heiko.gerstung@meinberg.de
Chris Elliott
Cisco Systems, Inc.
7025 Kit Creek Rd., P.O. Box 14987
Research Triangle Park 27709
USA
Phone: +1 919-392-2146
Email: chelliot@cisco.com
Full Copyright Statement Full Copyright Statement
Copyright (C) The IETF Trust (2007). Copyright (C) The IETF Trust (2007).
This document is subject to the rights, licenses and restrictions This document is subject to the rights, licenses and restrictions
contained in BCP 78, and except as set forth therein, the authors contained in BCP 78, and except as set forth therein, the authors
retain all their rights. retain all their rights.
This document and the information contained herein are provided on an This document and the information contained herein are provided on an
"AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
 End of changes. 117 change blocks. 
163 lines changed or deleted 220 lines changed or added

This html diff was produced by rfcdiff 1.34. The latest version is available from http://tools.ietf.org/tools/rfcdiff/