1330567Sgordon.Dd February 27 2018
2275970Scy.Dt NTPSNMPD @NTPSNMPD_MS@ User Commands
3275970Scy.Os
4275970Scy.\"  EDIT THIS FILE WITH CAUTION  (ntpsnmpd-opts.mdoc)
5275970Scy.\"
6330567Sgordon.\"  It has been AutoGen-ed  February 27, 2018 at 05:15:39 PM by AutoGen 5.18.5
7275970Scy.\"  From the definitions    ntpsnmpd-opts.def
8275970Scy.\"  and the template file   agmdoc-cmd.tpl
9275970Scy.Sh NAME
10275970Scy.Nm ntpsnmpd
11275970Scy.Nd NTP SNMP MIB agent
12275970Scy.Sh SYNOPSIS
13275970Scy.Nm
14275970Scy.\" Mixture of short (flag) options and long options
15275970Scy.Op Fl flags
16275970Scy.Op Fl flag Op Ar value
17275970Scy.Op Fl \-option\-name Ns Oo Oo Ns "=| " Oc Ns Ar value Oc
18275970Scy.Pp
19275970ScyAll arguments must be options.
20275970Scy.Pp
21275970Scy.Sh DESCRIPTION
22275970Scy.Nm
23275970Scyis an SNMP MIB agent designed to interface with
24275970Scy.Xr ntpd @NTPD_MS@ .
25275970Scy.Sh "OPTIONS"
26275970Scy.Bl -tag
27275970Scy.It  Fl n , Fl \-nofork 
28275970ScyDo not fork.
29275970Scy.sp
30275970Scy.It  Fl p , Fl \-syslog 
31275970ScyLog to syslog().
32275970Scy.sp
33275970Scy.It  Fl \-agentxsocket  Ns = Ns Ar string 
34275970ScyThe socket address ntpsnmpd uses to connect to net\-snmpd.
35275970ScyThe default
36275970Scy.Ar string
37275970Scyfor this option is:
38275970Scy.ti +4
39275970Scy unix:/var/agentx/master
40275970Scy.sp
41275970Scy[<transport\-specifier>:]<transport\-address>
42275970ScyThe default "agent X socket" is the Unix Domain socket
43275970Scy\fIunix:/var/agentx/master\fP.
44275970ScyAnother common alternative is \fItcp:localhost:705\fP.
45275970Scy.It Fl \&? , Fl \-help
46275970ScyDisplay usage information and exit.
47275970Scy.It Fl \&! , Fl \-more\-help
48275970ScyPass the extended usage information through a pager.
49275970Scy.It Fl > Oo Ar cfgfile Oc , Fl \-save\-opts Oo Ns = Ns Ar cfgfile Oc
50275970ScySave the option state to \fIcfgfile\fP.  The default is the \fIlast\fP
51275970Scyconfiguration file listed in the \fBOPTION PRESETS\fP section, below.
52275970ScyThe command will exit after updating the config file.
53275970Scy.It Fl < Ar cfgfile , Fl \-load\-opts Ns = Ns Ar cfgfile , Fl \-no\-load\-opts
54275970ScyLoad options from \fIcfgfile\fP.
55275970ScyThe \fIno\-load\-opts\fP form will disable the loading
56275970Scyof earlier config/rc/ini files.  \fI\-\-no\-load\-opts\fP is handled early,
57275970Scyout of order.
58275970Scy.It Fl \-version Op Brq Ar v|c|n
59275970ScyOutput version of program and exit.  The default mode is `v', a simple
60275970Scyversion.  The `c' mode will print copyright information and `n' will
61275970Scyprint the full copyright notice.
62275970Scy.El
63275970Scy.Sh "OPTION PRESETS"
64275970ScyAny option that is not marked as \fInot presettable\fP may be preset
65275970Scyby loading values from configuration ("RC" or ".INI") file(s) and values from
66275970Scyenvironment variables named:
67275970Scy.nf
68275970Scy  \fBNTPSNMPD_<option\-name>\fP or \fBNTPSNMPD\fP
69275970Scy.fi
70275970Scy.ad
71275970ScyThe environmental presets take precedence (are processed later than)
72275970Scythe configuration files.
73275970ScyThe \fIhomerc\fP files are "\fI$HOME\fP", and "\fI.\fP".
74275970ScyIf any of these are directories, then the file \fI.ntprc\fP
75275970Scyis searched for within those directories.
76275970Scy.Sh USAGE
77275970Scy.Nm
78275970Scycurrently uses a private MIB OID,
79275970Scy.Ql enterprises.5597 ,
80275970Scywhich is the Meinberg top level OEM OID, and
81275970Scy.Ql 99
82275970Scyis the temporary working space for this project. 
83275970ScyThe final OID has to be registered with IANA
84275970Scyand this is done by the RFC Editor
85275970Scywhen the NTPv4 MIB RFC is standardized. 
86275970Scy.Pp
87275970ScyIf you have
88275970Scy.Xr snmpwalk 1
89275970Scyinstalled you can run
90275970Scy.Dl % snmpwalk \-v2c \-c public localhost enterprises.5597.99
91275970Scyto see a list of all currently supported NTP MIB objects
92275970Scyand their current values.
93275970Scy.Sh "ENVIRONMENT"
94275970ScySee \fBOPTION PRESETS\fP for configuration environment variables.
95275970Scy.Sh "FILES"
96275970ScySee \fBOPTION PRESETS\fP for configuration files.
97275970Scy.Sh "EXIT STATUS"
98275970ScyOne of the following exit values will be returned:
99275970Scy.Bl -tag
100275970Scy.It 0 " (EXIT_SUCCESS)"
101275970ScySuccessful program execution.
102275970Scy.It 1 " (EXIT_FAILURE)"
103275970ScyThe operation failed or the command syntax was not valid.
104275970Scy.It 66 " (EX_NOINPUT)"
105275970ScyA specified configuration file could not be loaded.
106275970Scy.It 70 " (EX_SOFTWARE)"
107275970Scylibopts had an internal operational error.  Please report
108275970Scyit to autogen\-users@lists.sourceforge.net.  Thank you.
109275970Scy.El
110275970Scy.Sh AUTHORS
111275970Scy.An "Heiko Gerstung"
112275970Scy.Sh "COPYRIGHT"
113316722SdelphijCopyright (C) 1992\-2017 The University of Delaware and Network Time Foundation all rights reserved.
114275970ScyThis program is released under the terms of the NTP license, <http://ntp.org/license>.
115275970Scy.Sh "BUGS"
116275970ScyPlease send bug reports to: http://bugs.ntp.org, bugs@ntp.org
117275970Scy.Sh NOTES
118275970ScyThe following objects are currently supported:
119275970Scy.Pp
120275970Scy.Bl -tag -width ".Li ntpEntSoftwareVersionVal" -compact -offset indent
121275970Scy.It Li ntpEntSoftwareName
122275970Scyplease fill me in...
123275970Scy.It Li ntpEntSoftwareVersion
124275970Scyplease fill me in...
125275970Scy.It Li ntpEntSoftwareVersionVal
126275970Scyplease fill me in...
127275970Scy.It Li ntpEntSoftwareVendor
128275970Scyplease fill me in...
129275970Scy.It Li ntpEntSystemType
130275970Scyplease fill me in...
131275970Scy.It Li ntpEntTimeResolution
132275970Scyplease fill me in...
133275970Scy.It Li ntpEntTimeResolutionVal
134275970Scyplease fill me in...
135275970Scy.It Li ntpEntTimePrecision
136275970Scyplease fill me in...
137275970Scy.It Li ntpEntTimePrecisionVal
138275970Scyplease fill me in...
139275970Scy.It Li ntpEntTimeDistance
140275970Scyplease fill me in...
141275970Scy.El
142275970Scy.Pp
143275970ScyThis manual page was \fIAutoGen\fP\-erated from the \fBntpsnmpd\fP
144275970Scyoption definitions.
145