xref: /freebsd/contrib/bsnmp/snmp_ntp/BEGEMOT-NTP-MIB.txt (revision 1c05a6ea6b849ff95e539c31adea887c644a6a01)
1--
2-- Copyright (c) 2005
3--	Hartmut Brandt
4--	All rights reserved.
5--
6-- Author: Harti Brandt <harti@freebsd.org>
7--
8-- Redistribution and use in source and binary forms, with or without
9-- modification, are permitted provided that the following conditions
10-- are met:
11-- 1. Redistributions of source code must retain the above copyright
12--    notice, this list of conditions and the following disclaimer.
13-- 2. Redistributions in binary form must reproduce the above copyright
14--    notice, this list of conditions and the following disclaimer in the
15--    documentation and/or other materials provided with the distribution.
16--
17-- THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
18-- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19-- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20-- ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
21-- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22-- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23-- OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24-- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25-- LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26-- OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27-- SUCH DAMAGE.
28--
29-- $Begemot: bsnmp/snmp_ntp/BEGEMOT-NTP-MIB.txt,v 1.3 2005/10/04 08:13:41 brandt_h Exp $
30--
31-- Private MIB for NTP module.
32--
33BEGEMOT-NTP-MIB DEFINITIONS ::= BEGIN
34
35IMPORTS
36    MODULE-IDENTITY, OBJECT-TYPE, TimeTicks, Unsigned32, Counter64
37	FROM SNMPv2-SMI
38    TruthValue
39	FROM SNMPv2-TC
40    begemot
41	FROM BEGEMOT-MIB;
42
43begemotNtp MODULE-IDENTITY
44    LAST-UPDATED "200509300000Z"
45    ORGANIZATION "German Aerospace Center"
46    CONTACT-INFO
47	    "		Hartmut Brandt
48
49	     Postal:	German Aerospace Center
50			Oberpfaffenhofen
51			82234 Wessling
52			Germany
53
54	     Fax:	+49 8153 28 2843
55
56	     E-mail:	harti@freebsd.org"
57    DESCRIPTION
58	    "The MIB for the NTP control module for SNMP."
59    ::= { begemot 201 }
60
61begemotNtpObjects	OBJECT IDENTIFIER ::= { begemotNtp 1 }
62
63begemotNtpHost OBJECT-TYPE
64    SYNTAX	OCTET STRING
65    MAX-ACCESS	read-only
66    STATUS	current
67    DESCRIPTION
68	    "The name of the host where the NTP daemon is running that
69	     is to be connected."
70    ::= { begemotNtpObjects 1 }
71
72begemotNtpPort OBJECT-TYPE
73    SYNTAX	OCTET STRING
74    MAX-ACCESS	read-only
75    STATUS	current
76    DESCRIPTION
77	    "The port of the host where the NTP daemon is running that
78	     is to be connected."
79    ::= { begemotNtpObjects 2 }
80
81begemotNtpTimeout OBJECT-TYPE
82    SYNTAX	TimeTicks
83    MAX-ACCESS	read-write
84    STATUS	current
85    DESCRIPTION
86	    "The number of ticks to wait for the response from the NTP
87	     daemon to complete."
88    ::= { begemotNtpObjects 3 }
89
90begemotNtpDebug OBJECT-TYPE
91    SYNTAX	Unsigned32
92    MAX-ACCESS	read-write
93    STATUS	current
94    DESCRIPTION
95	    "Debug flags. The following flags are currently used:
96
97		0x01 - produce a dump of all received/sent NTP packets.
98		0x02 - print the variable names and values return by the daemon
99
100	     Other bits are ignored."
101    ::= { begemotNtpObjects 4 }
102
103begemotNtpJitter OBJECT-TYPE
104    SYNTAX	Counter64
105    MAX-ACCESS	read-only
106    STATUS	current
107    DESCRIPTION
108	    "Current jitter in seconds multiplied by 2^32."
109    ::= { begemotNtpObjects 5 }
110
111begemotNtpStability OBJECT-TYPE
112    SYNTAX	Counter64
113    MAX-ACCESS	read-only
114    STATUS	current
115    DESCRIPTION
116	    "Current stability in ppm multiplied by 2^32."
117    ::= { begemotNtpObjects 6 }
118
119begemotNtpJitterThresh OBJECT-TYPE
120    SYNTAX	Counter64
121    MAX-ACCESS	read-only
122    STATUS	current
123    DESCRIPTION
124	    "Jitter trap threshold in seconds multiplied by 2^32."
125    ::= { begemotNtpObjects 7 }
126
127begemotNtpStabilityThresh OBJECT-TYPE
128    SYNTAX	Counter64
129    MAX-ACCESS	read-only
130    STATUS	current
131    DESCRIPTION
132	    "Stability trap threshold in ppm multiplied by 2^32."
133    ::= { begemotNtpObjects 8 }
134
135begemotNtpTrapEnable OBJECT-TYPE
136    SYNTAX	TruthValue
137    MAX-ACCESS	read-only
138    STATUS	current
139    DESCRIPTION
140	    "Enables the sending of traps when either the peer is lost/
141	     found or one of the above thresholds is crossed."
142    ::= { begemotNtpObjects 9 }
143
144END
145