summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/ntpsnmpd/ntpsnmpd-opts.def
blob: b3162e58e488ede8186e058e9c0292777bfce0e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
/* -*- Mode: Text -*- */

autogen definitions options;

#include copyright.def
#include homerc.def
#include autogen-version.def

prog-name      = "ntpsnmpd";
prog-title     = "NTP SNMP MIB agent";

flag = {
    name      = nofork;
    value     = n;
    descrip   = "Do not fork";
    doc = <<-  _EndOfDoc_
	_EndOfDoc_;
};

flag = {
    name      = syslog;
    value     = p;
    descrip   = "Log to syslog()";
    doc = <<-  _EndOfDoc_
	_EndOfDoc_;
};

flag = {
    name      = agentXSocket;
/*  value     = x; */
    arg-type  = string;
    arg-default = "unix:/var/agentx/master";
    descrip   = "The socket address ntpsnmpd uses to connect to net-snmpd";
    doc = <<-  _EndOfDoc_
	[<transport-specifier>:]<transport-address>
	The default "agent X socket" is the Unix Domain socket
	@file{unix:/var/agentx/master}.
	Another common alternative is @file{tcp:localhost:705}.
	_EndOfDoc_;
};

/* explain: Additional information whenever the usage routine is invoked */
explain = <<- _END_EXPLAIN
	_END_EXPLAIN;

doc-section	= {
  ds-type	= 'DESCRIPTION';
  ds-format	= 'mdoc';
  ds-text	= <<- _END_PROG_MDOC_DESCRIP
	.Nm
	is an SNMP MIB agent designed to interface with
	.Xr ntpd 1ntpdmdoc .
	_END_PROG_MDOC_DESCRIP;
};

/*
prog-info-descrip = <<- _END_PROG_INFO_DESCRIP
	_END_PROG_INFO_DESCRIP;
*/

doc-section	= {
  ds-type	= 'USAGE';
  ds-format	= 'mdoc';
  ds-text	= <<- _END_MDOC_USAGE
	.Nm
	currently uses a private MIB OID,
	.Ql enterprises.5597 ,
	which is the Meinberg top level OEM OID, and
	.Ql 99
	is the temporary working space for this project. 
	The final OID has to be registered with IANA
	and this is done by the RFC Editor
	when the NTPv4 MIB RFC is standardized. 
	.Pp
	If you have
	.Xr snmpwalk 1
	installed you can run
	.Dl % snmpwalk -v2c -c public localhost enterprises.5597.99
	to see a list of all currently supported NTP MIB objects
	and their current values.
	_END_MDOC_USAGE;
};

doc-section	= {
  ds-type	= 'NOTES';
  ds-format	= 'mdoc';
  ds-text	= <<- _END_MDOC_NOTES
The following objects are currently supported:
.Pp
.Bl -tag -width ".Li ntpEntSoftwareVersionVal" -compact -offset indent
.It Li ntpEntSoftwareName
please fill me in...
.It Li ntpEntSoftwareVersion
please fill me in...
.It Li ntpEntSoftwareVersionVal
please fill me in...
.It Li ntpEntSoftwareVendor
please fill me in...
.It Li ntpEntSystemType
please fill me in...
.It Li ntpEntTimeResolution
please fill me in...
.It Li ntpEntTimeResolutionVal
please fill me in...
.It Li ntpEntTimePrecision
please fill me in...
.It Li ntpEntTimePrecisionVal
please fill me in...
.It Li ntpEntTimeDistance
please fill me in...
.El
	_END_MDOC_NOTES;
};

doc-section	= {
  ds-type	= 'AUTHORS';
  ds-format	= 'mdoc';
  ds-text	= <<- _END_MDOC_AUTHORS
.An "Heiko Gerstung"
	_END_MDOC_AUTHORS;
};

/*
doc-section     = {
  ds-type       = 'SEE ALSO';
  ds-format     = 'mdoc';
  ds-text       = <<- _END_MDOC_SEE_ALSO
.Rs
.%A H. Gerstung
.%A C. Elliott
.%A B. Haberman, Ed.
.%T Definitions of Managed Objects for Network Time Protocol Version 4: (NTPv4)
.%O RFC5907
.Re
        _END_MDOC_SEE_ALSO;
};
*/

/*
doc-section	= {
  ds-type	= 'BUGS';
  ds-format	= 'mdoc';
  ds-text	= <<- _END_MDOC_BUGS
	_END_MDOC_BUGS;
};
*/
OpenPOWER on IntegriCloud