ntpsnmpd.1ntpsnmpdmdoc revision 358659
174462Salfred.Dd March 3 2020
274462Salfred.Dt NTPSNMPD 1ntpsnmpdmdoc User Commands
374462Salfred.Os
414123Speter.\"  EDIT THIS FILE WITH CAUTION  (ntpsnmpd-opts.mdoc)
514123Speter.\"
614123Speter.\"  It has been AutoGen-ed  March  3, 2020 at 05:41:24 PM by AutoGen 5.18.5
714123Speter.\"  From the definitions    ntpsnmpd-opts.def
814123Speter.\"  and the template file   agmdoc-cmd.tpl
914123Speter.Sh NAME
1014123Speter.Nm ntpsnmpd
1114123Speter.Nd NTP SNMP MIB agent
1214123Speter.Sh SYNOPSIS
1314123Speter.Nm
1414123Speter.\" Mixture of short (flag) options and long options
1514123Speter.Op Fl flags
1614123Speter.Op Fl flag Op Ar value
1714123Speter.Op Fl \-option\-name Ns Oo Oo Ns "=| " Oc Ns Ar value Oc
1814123Speter.Pp
1914123SpeterAll arguments must be options.
2014123Speter.Pp
2114123Speter.Sh DESCRIPTION
2214123Speter.Nm
2314123Speteris an SNMP MIB agent designed to interface with
2414123Speter.Xr ntpd 1ntpdmdoc .
2514123Speter.Sh "OPTIONS"
2614123Speter.Bl -tag
2714123Speter.It  Fl n , Fl \-nofork 
2814123SpeterDo not fork.
2914123Speter.sp
3014123Speter.It  Fl p , Fl \-syslog 
3114123SpeterLog to syslog().
3214123Speter.sp
3314123Speter.It  Fl \-agentxsocket  Ns = Ns Ar string 
3414123SpeterThe socket address ntpsnmpd uses to connect to net\-snmpd.
3514123SpeterThe default
3614123Speter.Ar string
3774462Salfredfor this option is:
3874462Salfred.ti +4
3975631Salfred unix:/var/agentx/master
4075631Salfred.sp
4175631Salfred[<transport\-specifier>:]<transport\-address>
42The default "agent X socket" is the Unix Domain socket
43\fIunix:/var/agentx/master\fP.
44Another common alternative is \fItcp:localhost:705\fP.
45.It Fl \&? , Fl \-help
46Display usage information and exit.
47.It Fl \&! , Fl \-more\-help
48Pass the extended usage information through a pager.
49.It Fl > Oo Ar cfgfile Oc , Fl \-save\-opts Oo Ns = Ns Ar cfgfile Oc
50Save the option state to \fIcfgfile\fP.  The default is the \fIlast\fP
51configuration file listed in the \fBOPTION PRESETS\fP section, below.
52The command will exit after updating the config file.
53.It Fl < Ar cfgfile , Fl \-load\-opts Ns = Ns Ar cfgfile , Fl \-no\-load\-opts
54Load options from \fIcfgfile\fP.
55The \fIno\-load\-opts\fP form will disable the loading
56of earlier config/rc/ini files.  \fI\-\-no\-load\-opts\fP is handled early,
57out of order.
58.It Fl \-version Op Brq Ar v|c|n
59Output version of program and exit.  The default mode is `v', a simple
60version.  The `c' mode will print copyright information and `n' will
61print the full copyright notice.
62.El
63.Sh "OPTION PRESETS"
64Any option that is not marked as \fInot presettable\fP may be preset
65by loading values from configuration ("RC" or ".INI") file(s) and values from
66environment variables named:
67.nf
68  \fBNTPSNMPD_<option\-name>\fP or \fBNTPSNMPD\fP
69.fi
70.ad
71The environmental presets take precedence (are processed later than)
72the configuration files.
73The \fIhomerc\fP files are "\fI$HOME\fP", and "\fI.\fP".
74If any of these are directories, then the file \fI.ntprc\fP
75is searched for within those directories.
76.Sh USAGE
77.Nm
78currently uses a private MIB OID,
79.Ql enterprises.5597 ,
80which is the Meinberg top level OEM OID, and
81.Ql 99
82is the temporary working space for this project. 
83The final OID has to be registered with IANA
84and this is done by the RFC Editor
85when the NTPv4 MIB RFC is standardized. 
86.Pp
87If you have
88.Xr snmpwalk 1
89installed you can run
90.Dl % snmpwalk \-v2c \-c public localhost enterprises.5597.99
91to see a list of all currently supported NTP MIB objects
92and their current values.
93.Sh "ENVIRONMENT"
94See \fBOPTION PRESETS\fP for configuration environment variables.
95.Sh "FILES"
96See \fBOPTION PRESETS\fP for configuration files.
97.Sh "EXIT STATUS"
98One of the following exit values will be returned:
99.Bl -tag
100.It 0 " (EXIT_SUCCESS)"
101Successful program execution.
102.It 1 " (EXIT_FAILURE)"
103The operation failed or the command syntax was not valid.
104.It 66 " (EX_NOINPUT)"
105A specified configuration file could not be loaded.
106.It 70 " (EX_SOFTWARE)"
107libopts had an internal operational error.  Please report
108it to autogen\-users@lists.sourceforge.net.  Thank you.
109.El
110.Sh AUTHORS
111.An "Heiko Gerstung"
112.Sh "COPYRIGHT"
113Copyright (C) 1992\-2020 The University of Delaware and Network Time Foundation all rights reserved.
114This program is released under the terms of the NTP license, <http://ntp.org/license>.
115.Sh "BUGS"
116Please send bug reports to: http://bugs.ntp.org, bugs@ntp.org
117.Sh NOTES
118The following objects are currently supported:
119.Pp
120.Bl -tag -width ".Li ntpEntSoftwareVersionVal" -compact -offset indent
121.It Li ntpEntSoftwareName
122please fill me in...
123.It Li ntpEntSoftwareVersion
124please fill me in...
125.It Li ntpEntSoftwareVersionVal
126please fill me in...
127.It Li ntpEntSoftwareVendor
128please fill me in...
129.It Li ntpEntSystemType
130please fill me in...
131.It Li ntpEntTimeResolution
132please fill me in...
133.It Li ntpEntTimeResolutionVal
134please fill me in...
135.It Li ntpEntTimePrecision
136please fill me in...
137.It Li ntpEntTimePrecisionVal
138please fill me in...
139.It Li ntpEntTimeDistance
140please fill me in...
141.El
142.Pp
143This manual page was \fIAutoGen\fP\-erated from the \fBntpsnmpd\fP
144option definitions.
145