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