1258945Sroberto/* -*- Mode: Text -*- */
2258945Sroberto
3258945Srobertoautogen definitions options;
4258945Sroberto
5258945Sroberto#include copyright.def
6258945Sroberto#include homerc.def
7258945Sroberto#include autogen-version.def
8258945Sroberto
9258945Srobertoprog-name      = "ntpsnmpd";
10258945Srobertoprog-title     = "NTP SNMP MIB agent";
11258945Sroberto
12258945Srobertoflag = {
13258945Sroberto    name      = nofork;
14258945Sroberto    value     = n;
15258945Sroberto    descrip   = "Do not fork";
16258945Sroberto    doc = <<-  _EndOfDoc_
17258945Sroberto	_EndOfDoc_;
18258945Sroberto};
19258945Sroberto
20258945Srobertoflag = {
21258945Sroberto    name      = syslog;
22258945Sroberto    value     = p;
23258945Sroberto    descrip   = "Log to syslog()";
24258945Sroberto    doc = <<-  _EndOfDoc_
25258945Sroberto	_EndOfDoc_;
26258945Sroberto};
27258945Sroberto
28258945Srobertoflag = {
29258945Sroberto    name      = agentXSocket;
30258945Sroberto/*  value     = x; */
31258945Sroberto    arg-type  = string;
32258945Sroberto    arg-default = "unix:/var/agentx/master";
33258945Sroberto    descrip   = "The socket address ntpsnmpd uses to connect to net-snmpd";
34258945Sroberto    doc = <<-  _EndOfDoc_
35258945Sroberto	[<transport-specifier>:]<transport-address>
36280849Scy	The default "agent X socket" is the Unix Domain socket
37280849Scy	@file{unix:/var/agentx/master}.
38280849Scy	Another common alternative is @file{tcp:localhost:705}.
39258945Sroberto	_EndOfDoc_;
40258945Sroberto};
41280849Scy
42280849Scy/* explain: Additional information whenever the usage routine is invoked */
43280849Scyexplain = <<- _END_EXPLAIN
44280849Scy	_END_EXPLAIN;
45280849Scy
46280849Scydoc-section	= {
47280849Scy  ds-type	= 'DESCRIPTION';
48280849Scy  ds-format	= 'mdoc';
49280849Scy  ds-text	= <<- _END_PROG_MDOC_DESCRIP
50280849Scy	.Nm
51280849Scy	is an SNMP MIB agent designed to interface with
52280849Scy	.Xr ntpd 1ntpdmdoc .
53280849Scy	_END_PROG_MDOC_DESCRIP;
54280849Scy};
55280849Scy
56280849Scy/*
57280849Scyprog-info-descrip = <<- _END_PROG_INFO_DESCRIP
58280849Scy	_END_PROG_INFO_DESCRIP;
59280849Scy*/
60280849Scy
61280849Scydoc-section	= {
62280849Scy  ds-type	= 'USAGE';
63280849Scy  ds-format	= 'mdoc';
64280849Scy  ds-text	= <<- _END_MDOC_USAGE
65280849Scy	.Nm
66280849Scy	currently uses a private MIB OID,
67280849Scy	.Ql enterprises.5597 ,
68280849Scy	which is the Meinberg top level OEM OID, and
69280849Scy	.Ql 99
70280849Scy	is the temporary working space for this project. 
71280849Scy	The final OID has to be registered with IANA
72280849Scy	and this is done by the RFC Editor
73280849Scy	when the NTPv4 MIB RFC is standardized. 
74280849Scy	.Pp
75280849Scy	If you have
76280849Scy	.Xr snmpwalk 1
77280849Scy	installed you can run
78280849Scy	.Dl % snmpwalk -v2c -c public localhost enterprises.5597.99
79280849Scy	to see a list of all currently supported NTP MIB objects
80280849Scy	and their current values.
81280849Scy	_END_MDOC_USAGE;
82280849Scy};
83280849Scy
84280849Scydoc-section	= {
85280849Scy  ds-type	= 'NOTES';
86280849Scy  ds-format	= 'mdoc';
87280849Scy  ds-text	= <<- _END_MDOC_NOTES
88280849ScyThe following objects are currently supported:
89280849Scy.Pp
90280849Scy.Bl -tag -width ".Li ntpEntSoftwareVersionVal" -compact -offset indent
91280849Scy.It Li ntpEntSoftwareName
92280849Scyplease fill me in...
93280849Scy.It Li ntpEntSoftwareVersion
94280849Scyplease fill me in...
95280849Scy.It Li ntpEntSoftwareVersionVal
96280849Scyplease fill me in...
97280849Scy.It Li ntpEntSoftwareVendor
98280849Scyplease fill me in...
99280849Scy.It Li ntpEntSystemType
100280849Scyplease fill me in...
101280849Scy.It Li ntpEntTimeResolution
102280849Scyplease fill me in...
103280849Scy.It Li ntpEntTimeResolutionVal
104280849Scyplease fill me in...
105280849Scy.It Li ntpEntTimePrecision
106280849Scyplease fill me in...
107280849Scy.It Li ntpEntTimePrecisionVal
108280849Scyplease fill me in...
109280849Scy.It Li ntpEntTimeDistance
110280849Scyplease fill me in...
111280849Scy.El
112280849Scy	_END_MDOC_NOTES;
113280849Scy};
114280849Scy
115280849Scydoc-section	= {
116280849Scy  ds-type	= 'AUTHORS';
117280849Scy  ds-format	= 'mdoc';
118280849Scy  ds-text	= <<- _END_MDOC_AUTHORS
119280849Scy.An "Heiko Gerstung"
120280849Scy	_END_MDOC_AUTHORS;
121280849Scy};
122280849Scy
123280849Scy/*
124280849Scydoc-section     = {
125280849Scy  ds-type       = 'SEE ALSO';
126280849Scy  ds-format     = 'mdoc';
127280849Scy  ds-text       = <<- _END_MDOC_SEE_ALSO
128280849Scy.Rs
129280849Scy.%A H. Gerstung
130280849Scy.%A C. Elliott
131280849Scy.%A B. Haberman, Ed.
132280849Scy.%T Definitions of Managed Objects for Network Time Protocol Version 4: (NTPv4)
133280849Scy.%O RFC5907
134280849Scy.Re
135280849Scy        _END_MDOC_SEE_ALSO;
136280849Scy};
137280849Scy*/
138280849Scy
139280849Scy/*
140280849Scydoc-section	= {
141280849Scy  ds-type	= 'BUGS';
142280849Scy  ds-format	= 'mdoc';
143280849Scy  ds-text	= <<- _END_MDOC_BUGS
144280849Scy	_END_MDOC_BUGS;
145280849Scy};
146280849Scy*/
147