ntpsnmpd.mdoc.in revision 293894
1205821Sedwin.Dd January 7 2016
213877Swosch.Dt NTPSNMPD @NTPSNMPD_MS@ User Commands
313877Swosch.Os
413877Swosch.\"  EDIT THIS FILE WITH CAUTION  (ntpsnmpd-opts.mdoc)
513877Swosch.\"
613877Swosch.\"  It has been AutoGen-ed  January  7, 2016 at 11:32:18 PM by AutoGen 5.18.5
713877Swosch.\"  From the definitions    ntpsnmpd-opts.def
813877Swosch.\"  and the template file   agmdoc-cmd.tpl
913877Swosch.Sh NAME
1013877Swosch.Nm ntpsnmpd
1113877Swosch.Nd NTP SNMP MIB agent
1213877Swosch.Sh SYNOPSIS
1313877Swosch.Nm
1413877Swosch.\" Mixture of short (flag) options and long options
1513877Swosch.Op Fl flags
1613877Swosch.Op Fl flag Op Ar value
1713877Swosch.Op Fl \-option\-name Ns Oo Oo Ns "=| " Oc Ns Ar value Oc
1813877Swosch.Pp
1913877SwoschAll arguments must be options.
2013877Swosch.Pp
2113877Swosch.Sh DESCRIPTION
2213877Swosch.Nm
2313877Swoschis an SNMP MIB agent designed to interface with
2413877Swosch.Xr ntpd @NTPD_MS@ .
2513877Swosch.Sh "OPTIONS"
2613877Swosch.Bl -tag
2713877Swosch.It  Fl n , Fl \-nofork 
2859945SphantomDo not fork.
2959945Sphantom.sp
3013877Swosch.It  Fl p , Fl \-syslog 
3113877SwoschLog to syslog().
32129814Sstefanf.sp
33129814Sstefanf.It  Fl \-agentxsocket  Ns = Ns Ar string 
3413877SwoschThe socket address ntpsnmpd uses to connect to net\-snmpd.
35205821SedwinThe default
36205821Sedwin.Ar string
37205821Sedwinfor this option is:
38205821Sedwin.ti +4
39205821Sedwin unix:/var/agentx/master
40205821Sedwin.sp
41205821Sedwin[<transport\-specifier>:]<transport\-address>
42205821SedwinThe default "agent X socket" is the Unix Domain socket
43205821Sedwin\fIunix:/var/agentx/master\fP.
44205821SedwinAnother common alternative is \fItcp:localhost:705\fP.
45205821Sedwin.It Fl \&? , Fl \-help
46205821SedwinDisplay usage information and exit.
47205821Sedwin.It Fl \&! , Fl \-more\-help
48205821SedwinPass the extended usage information through a pager.
49205821Sedwin.It Fl > Oo Ar cfgfile Oc , Fl \-save\-opts Oo Ns = Ns Ar cfgfile Oc
50205821SedwinSave the option state to \fIcfgfile\fP.  The default is the \fIlast\fP
5113877Swoschconfiguration file listed in the \fBOPTION PRESETS\fP section, below.
5213877SwoschThe command will exit after updating the config file.
53205821Sedwin.It Fl < Ar cfgfile , Fl \-load\-opts Ns = Ns Ar cfgfile , Fl \-no\-load\-opts
5487235SmarkmLoad options from \fIcfgfile\fP.
55170447SgrogThe \fIno\-load\-opts\fP form will disable the loading
56205821Sedwinof earlier config/rc/ini files.  \fI\-\-no\-load\-opts\fP is handled early,
57205821Sedwinout of order.
58205821Sedwin.It Fl \-version Op Brq Ar v|c|n
59205821SedwinOutput version of program and exit.  The default mode is `v', a simple
6013877Swoschversion.  The `c' mode will print copyright information and `n' will
61205821Sedwinprint the full copyright notice.
62205821Sedwin.El
63205821Sedwin.Sh "OPTION PRESETS"
64205821SedwinAny option that is not marked as \fInot presettable\fP may be preset
65205821Sedwinby loading values from configuration ("RC" or ".INI") file(s) and values from
66205821Sedwinenvironment variables named:
67205821Sedwin.nf
68205821Sedwin  \fBNTPSNMPD_<option\-name>\fP or \fBNTPSNMPD\fP
69205821Sedwin.fi
70205821Sedwin.ad
71205821SedwinThe environmental presets take precedence (are processed later than)
72205821Sedwinthe configuration files.
73205821SedwinThe \fIhomerc\fP files are "\fI$HOME\fP", and "\fI.\fP".
74205821SedwinIf any of these are directories, then the file \fI.ntprc\fP
75205821Sedwinis searched for within those directories.
76205821Sedwin.Sh USAGE
77205821Sedwin.Nm
78205821Sedwincurrently uses a private MIB OID,
79205821Sedwin.Ql enterprises.5597 ,
80205821Sedwinwhich is the Meinberg top level OEM OID, and
81205821Sedwin.Ql 99
82205821Sedwinis the temporary working space for this project. 
83212035SedwinThe final OID has to be registered with IANA
84205821Sedwinand this is done by the RFC Editor
85205821Sedwinwhen the NTPv4 MIB RFC is standardized. 
86205821Sedwin.Pp
87205821SedwinIf you have
88205821Sedwin.Xr snmpwalk 1
89205821Sedwininstalled you can run
90205821Sedwin.Dl % snmpwalk \-v2c \-c public localhost enterprises.5597.99
91205821Sedwinto see a list of all currently supported NTP MIB objects
92205821Sedwinand their current values.
93205821Sedwin.Sh "ENVIRONMENT"
94205821SedwinSee \fBOPTION PRESETS\fP for configuration environment variables.
95205821Sedwin.Sh "FILES"
96205821SedwinSee \fBOPTION PRESETS\fP for configuration files.
97205821Sedwin.Sh "EXIT STATUS"
98205821SedwinOne of the following exit values will be returned:
99205821Sedwin.Bl -tag
100205821Sedwin.It 0 " (EXIT_SUCCESS)"
101205821SedwinSuccessful program execution.
102205821Sedwin.It 1 " (EXIT_FAILURE)"
103205821SedwinThe operation failed or the command syntax was not valid.
104251647Sgrog.It 66 " (EX_NOINPUT)"
105205821SedwinA specified configuration file could not be loaded.
106205821Sedwin.It 70 " (EX_SOFTWARE)"
107205821Sedwinlibopts had an internal operational error.  Please report
108251647Sgrogit to autogen\-users@lists.sourceforge.net.  Thank you.
109205821Sedwin.El
110205821Sedwin.Sh AUTHORS
111205821Sedwin.An "Heiko Gerstung"
112205821Sedwin.Sh "COPYRIGHT"
113205821SedwinCopyright (C) 1992\-2015 The University of Delaware and Network Time Foundation all rights reserved.
114205821SedwinThis program is released under the terms of the NTP license, <http://ntp.org/license>.
115205821Sedwin.Sh "BUGS"
116205821SedwinPlease send bug reports to: http://bugs.ntp.org, bugs@ntp.org
117205821Sedwin.Sh NOTES
118205821SedwinThe following objects are currently supported:
119205821Sedwin.Pp
120205821Sedwin.Bl -tag -width ".Li ntpEntSoftwareVersionVal" -compact -offset indent
121205821Sedwin.It Li ntpEntSoftwareName
122205821Sedwinplease fill me in...
123205821Sedwin.It Li ntpEntSoftwareVersion
124205821Sedwinplease fill me in...
125205821Sedwin.It Li ntpEntSoftwareVersionVal
126205821Sedwinplease fill me in...
127205821Sedwin.It Li ntpEntSoftwareVendor
128205821Sedwinplease fill me in...
129205821Sedwin.It Li ntpEntSystemType
130205821Sedwinplease fill me in...
131205821Sedwin.It Li ntpEntTimeResolution
132205821Sedwinplease fill me in...
133205821Sedwin.It Li ntpEntTimeResolutionVal
134205821Sedwinplease fill me in...
135205821Sedwin.It Li ntpEntTimePrecision
136205821Sedwinplease fill me in...
137205821Sedwin.It Li ntpEntTimePrecisionVal
138205821Sedwinplease fill me in...
139205821Sedwin.It Li ntpEntTimeDistance
140205821Sedwinplease fill me in...
141205821Sedwin.El
142205821Sedwin.Pp
143205821SedwinThis manual page was \fIAutoGen\fP\-erated from the \fBntpsnmpd\fP
144205821Sedwinoption definitions.
145205821Sedwin