xref: /freebsd/contrib/ntp/ntpsnmpd/ntpsnmpd-opts.def (revision 416ba5c74546f32a993436a99516d35008e9f384)
1*2b15cb3dSCy Schubert/* -*- Mode: Text -*- */
2*2b15cb3dSCy Schubert
3*2b15cb3dSCy Schubertautogen definitions options;
4*2b15cb3dSCy Schubert
5*2b15cb3dSCy Schubert#include copyright.def
6*2b15cb3dSCy Schubert#include homerc.def
7*2b15cb3dSCy Schubert#include autogen-version.def
8*2b15cb3dSCy Schubert
9*2b15cb3dSCy Schubertprog-name      = "ntpsnmpd";
10*2b15cb3dSCy Schubertprog-title     = "NTP SNMP MIB agent";
11*2b15cb3dSCy Schubert
12*2b15cb3dSCy Schubertflag = {
13*2b15cb3dSCy Schubert    name      = nofork;
14*2b15cb3dSCy Schubert    value     = n;
15*2b15cb3dSCy Schubert    descrip   = "Do not fork";
16*2b15cb3dSCy Schubert    doc = <<-  _EndOfDoc_
17*2b15cb3dSCy Schubert	_EndOfDoc_;
18*2b15cb3dSCy Schubert};
19*2b15cb3dSCy Schubert
20*2b15cb3dSCy Schubertflag = {
21*2b15cb3dSCy Schubert    name      = syslog;
22*2b15cb3dSCy Schubert    value     = p;
23*2b15cb3dSCy Schubert    descrip   = "Log to syslog()";
24*2b15cb3dSCy Schubert    doc = <<-  _EndOfDoc_
25*2b15cb3dSCy Schubert	_EndOfDoc_;
26*2b15cb3dSCy Schubert};
27*2b15cb3dSCy Schubert
28*2b15cb3dSCy Schubertflag = {
29*2b15cb3dSCy Schubert    name      = agentXSocket;
30*2b15cb3dSCy Schubert/*  value     = x; */
31*2b15cb3dSCy Schubert    arg-type  = string;
32*2b15cb3dSCy Schubert    arg-default = "unix:/var/agentx/master";
33*2b15cb3dSCy Schubert    descrip   = "The socket address ntpsnmpd uses to connect to net-snmpd";
34*2b15cb3dSCy Schubert    doc = <<-  _EndOfDoc_
35*2b15cb3dSCy Schubert	[<transport-specifier>:]<transport-address>
36*2b15cb3dSCy Schubert	The default "agent X socket" is the Unix Domain socket
37*2b15cb3dSCy Schubert	@file{unix:/var/agentx/master}.
38*2b15cb3dSCy Schubert	Another common alternative is @file{tcp:localhost:705}.
39*2b15cb3dSCy Schubert	_EndOfDoc_;
40*2b15cb3dSCy Schubert};
41*2b15cb3dSCy Schubert
42*2b15cb3dSCy Schubert/* explain: Additional information whenever the usage routine is invoked */
43*2b15cb3dSCy Schubertexplain = <<- _END_EXPLAIN
44*2b15cb3dSCy Schubert	_END_EXPLAIN;
45*2b15cb3dSCy Schubert
46*2b15cb3dSCy Schubertdoc-section	= {
47*2b15cb3dSCy Schubert  ds-type	= 'DESCRIPTION';
48*2b15cb3dSCy Schubert  ds-format	= 'mdoc';
49*2b15cb3dSCy Schubert  ds-text	= <<- _END_PROG_MDOC_DESCRIP
50*2b15cb3dSCy Schubert	.Nm
51*2b15cb3dSCy Schubert	is an SNMP MIB agent designed to interface with
52*2b15cb3dSCy Schubert	.Xr ntpd 1ntpdmdoc .
53*2b15cb3dSCy Schubert	_END_PROG_MDOC_DESCRIP;
54*2b15cb3dSCy Schubert};
55*2b15cb3dSCy Schubert
56*2b15cb3dSCy Schubert/*
57*2b15cb3dSCy Schubertprog-info-descrip = <<- _END_PROG_INFO_DESCRIP
58*2b15cb3dSCy Schubert	_END_PROG_INFO_DESCRIP;
59*2b15cb3dSCy Schubert*/
60*2b15cb3dSCy Schubert
61*2b15cb3dSCy Schubertdoc-section	= {
62*2b15cb3dSCy Schubert  ds-type	= 'USAGE';
63*2b15cb3dSCy Schubert  ds-format	= 'mdoc';
64*2b15cb3dSCy Schubert  ds-text	= <<- _END_MDOC_USAGE
65*2b15cb3dSCy Schubert	.Nm
66*2b15cb3dSCy Schubert	currently uses a private MIB OID,
67*2b15cb3dSCy Schubert	.Ql enterprises.5597 ,
68*2b15cb3dSCy Schubert	which is the Meinberg top level OEM OID, and
69*2b15cb3dSCy Schubert	.Ql 99
70*2b15cb3dSCy Schubert	is the temporary working space for this project.
71*2b15cb3dSCy Schubert	The final OID has to be registered with IANA
72*2b15cb3dSCy Schubert	and this is done by the RFC Editor
73*2b15cb3dSCy Schubert	when the NTPv4 MIB RFC is standardized.
74*2b15cb3dSCy Schubert	.Pp
75*2b15cb3dSCy Schubert	If you have
76*2b15cb3dSCy Schubert	.Xr snmpwalk 1
77*2b15cb3dSCy Schubert	installed you can run
78*2b15cb3dSCy Schubert	.Dl % snmpwalk -v2c -c public localhost enterprises.5597.99
79*2b15cb3dSCy Schubert	to see a list of all currently supported NTP MIB objects
80*2b15cb3dSCy Schubert	and their current values.
81*2b15cb3dSCy Schubert	_END_MDOC_USAGE;
82*2b15cb3dSCy Schubert};
83*2b15cb3dSCy Schubert
84*2b15cb3dSCy Schubertdoc-section	= {
85*2b15cb3dSCy Schubert  ds-type	= 'NOTES';
86*2b15cb3dSCy Schubert  ds-format	= 'mdoc';
87*2b15cb3dSCy Schubert  ds-text	= <<- _END_MDOC_NOTES
88*2b15cb3dSCy SchubertThe following objects are currently supported:
89*2b15cb3dSCy Schubert.Pp
90*2b15cb3dSCy Schubert.Bl -tag -width ".Li ntpEntSoftwareVersionVal" -compact -offset indent
91*2b15cb3dSCy Schubert.It Li ntpEntSoftwareName
92*2b15cb3dSCy Schubertplease fill me in...
93*2b15cb3dSCy Schubert.It Li ntpEntSoftwareVersion
94*2b15cb3dSCy Schubertplease fill me in...
95*2b15cb3dSCy Schubert.It Li ntpEntSoftwareVersionVal
96*2b15cb3dSCy Schubertplease fill me in...
97*2b15cb3dSCy Schubert.It Li ntpEntSoftwareVendor
98*2b15cb3dSCy Schubertplease fill me in...
99*2b15cb3dSCy Schubert.It Li ntpEntSystemType
100*2b15cb3dSCy Schubertplease fill me in...
101*2b15cb3dSCy Schubert.It Li ntpEntTimeResolution
102*2b15cb3dSCy Schubertplease fill me in...
103*2b15cb3dSCy Schubert.It Li ntpEntTimeResolutionVal
104*2b15cb3dSCy Schubertplease fill me in...
105*2b15cb3dSCy Schubert.It Li ntpEntTimePrecision
106*2b15cb3dSCy Schubertplease fill me in...
107*2b15cb3dSCy Schubert.It Li ntpEntTimePrecisionVal
108*2b15cb3dSCy Schubertplease fill me in...
109*2b15cb3dSCy Schubert.It Li ntpEntTimeDistance
110*2b15cb3dSCy Schubertplease fill me in...
111*2b15cb3dSCy Schubert.El
112*2b15cb3dSCy Schubert	_END_MDOC_NOTES;
113*2b15cb3dSCy Schubert};
114*2b15cb3dSCy Schubert
115*2b15cb3dSCy Schubertdoc-section	= {
116*2b15cb3dSCy Schubert  ds-type	= 'AUTHORS';
117*2b15cb3dSCy Schubert  ds-format	= 'mdoc';
118*2b15cb3dSCy Schubert  ds-text	= <<- _END_MDOC_AUTHORS
119*2b15cb3dSCy Schubert.An "Heiko Gerstung"
120*2b15cb3dSCy Schubert	_END_MDOC_AUTHORS;
121*2b15cb3dSCy Schubert};
122*2b15cb3dSCy Schubert
123*2b15cb3dSCy Schubert/*
124*2b15cb3dSCy Schubertdoc-section     = {
125*2b15cb3dSCy Schubert  ds-type       = 'SEE ALSO';
126*2b15cb3dSCy Schubert  ds-format     = 'mdoc';
127*2b15cb3dSCy Schubert  ds-text       = <<- _END_MDOC_SEE_ALSO
128*2b15cb3dSCy Schubert.Rs
129*2b15cb3dSCy Schubert.%A H. Gerstung
130*2b15cb3dSCy Schubert.%A C. Elliott
131*2b15cb3dSCy Schubert.%A B. Haberman, Ed.
132*2b15cb3dSCy Schubert.%T Definitions of Managed Objects for Network Time Protocol Version 4: (NTPv4)
133*2b15cb3dSCy Schubert.%O RFC5907
134*2b15cb3dSCy Schubert.Re
135*2b15cb3dSCy Schubert        _END_MDOC_SEE_ALSO;
136*2b15cb3dSCy Schubert};
137*2b15cb3dSCy Schubert*/
138*2b15cb3dSCy Schubert
139*2b15cb3dSCy Schubert/*
140*2b15cb3dSCy Schubertdoc-section	= {
141*2b15cb3dSCy Schubert  ds-type	= 'BUGS';
142*2b15cb3dSCy Schubert  ds-format	= 'mdoc';
143*2b15cb3dSCy Schubert  ds-text	= <<- _END_MDOC_BUGS
144*2b15cb3dSCy Schubert	_END_MDOC_BUGS;
145*2b15cb3dSCy Schubert};
146*2b15cb3dSCy Schubert*/
147