/contrib/bsnmp/snmp_ntp/BEGEMOT-NTP-MIB.txt

https://bitbucket.org/freebsd/freebsd-head/ · Plain Text · 144 lines · 126 code · 18 blank · 0 comment · 0 complexity · 941656eae9c9827845adb7ee70d0cff5 MD5 · raw file

  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. --
  33. BEGEMOT-NTP-MIB DEFINITIONS ::= BEGIN
  34. IMPORTS
  35. MODULE-IDENTITY, OBJECT-TYPE, TimeTicks, Unsigned32, Counter64
  36. FROM SNMPv2-SMI
  37. TruthValue
  38. FROM SNMPv2-TC
  39. begemot
  40. FROM BEGEMOT-MIB;
  41. begemotNtp MODULE-IDENTITY
  42. LAST-UPDATED "200509300000Z"
  43. ORGANIZATION "German Aerospace Center"
  44. CONTACT-INFO
  45. " Hartmut Brandt
  46. Postal: German Aerospace Center
  47. Oberpfaffenhofen
  48. 82234 Wessling
  49. Germany
  50. Fax: +49 8153 28 2843
  51. E-mail: harti@freebsd.org"
  52. DESCRIPTION
  53. "The MIB for the NTP control module for SNMP."
  54. ::= { begemot 201 }
  55. begemotNtpObjects OBJECT IDENTIFIER ::= { begemotNtp 1 }
  56. begemotNtpHost OBJECT-TYPE
  57. SYNTAX OCTET STRING
  58. MAX-ACCESS read-only
  59. STATUS current
  60. DESCRIPTION
  61. "The name of the host where the NTP daemon is running that
  62. is to be connected."
  63. ::= { begemotNtpObjects 1 }
  64. begemotNtpPort OBJECT-TYPE
  65. SYNTAX OCTET STRING
  66. MAX-ACCESS read-only
  67. STATUS current
  68. DESCRIPTION
  69. "The port of the host where the NTP daemon is running that
  70. is to be connected."
  71. ::= { begemotNtpObjects 2 }
  72. begemotNtpTimeout OBJECT-TYPE
  73. SYNTAX TimeTicks
  74. MAX-ACCESS read-write
  75. STATUS current
  76. DESCRIPTION
  77. "The number of ticks to wait for the response from the NTP
  78. daemon to complete."
  79. ::= { begemotNtpObjects 3 }
  80. begemotNtpDebug OBJECT-TYPE
  81. SYNTAX Unsigned32
  82. MAX-ACCESS read-write
  83. STATUS current
  84. DESCRIPTION
  85. "Debug flags. The following flags are currently used:
  86. 0x01 - produce a dump of all received/sent NTP packets.
  87. 0x02 - print the variable names and values return by the daemon
  88. Other bits are ignored."
  89. ::= { begemotNtpObjects 4 }
  90. begemotNtpJitter OBJECT-TYPE
  91. SYNTAX Counter64
  92. MAX-ACCESS read-only
  93. STATUS current
  94. DESCRIPTION
  95. "Current jitter in seconds multiplied by 2^32."
  96. ::= { begemotNtpObjects 5 }
  97. begemotNtpStability OBJECT-TYPE
  98. SYNTAX Counter64
  99. MAX-ACCESS read-only
  100. STATUS current
  101. DESCRIPTION
  102. "Current stability in ppm multiplied by 2^32."
  103. ::= { begemotNtpObjects 6 }
  104. begemotNtpJitterThresh OBJECT-TYPE
  105. SYNTAX Counter64
  106. MAX-ACCESS read-only
  107. STATUS current
  108. DESCRIPTION
  109. "Jitter trap threshold in seconds multiplied by 2^32."
  110. ::= { begemotNtpObjects 7 }
  111. begemotNtpStabilityThresh OBJECT-TYPE
  112. SYNTAX Counter64
  113. MAX-ACCESS read-only
  114. STATUS current
  115. DESCRIPTION
  116. "Stability trap threshold in ppm multiplied by 2^32."
  117. ::= { begemotNtpObjects 8 }
  118. begemotNtpTrapEnable OBJECT-TYPE
  119. SYNTAX TruthValue
  120. MAX-ACCESS read-only
  121. STATUS current
  122. DESCRIPTION
  123. "Enables the sending of traps when either the peer is lost/
  124. found or one of the above thresholds is crossed."
  125. ::= { begemotNtpObjects 9 }
  126. END