Deleted Added
full compact
bsnmpd.1 (208483) bsnmpd.1 (211401)
1.\"
2.\" Copyright (c) 2004-2005
3.\" Hartmut Brandt.
4.\" All rights reserved.
5.\" Copyright (c) 2001-2003
6.\" Fraunhofer Institute for Open Communication Systems (FhG Fokus).
7.\" All rights reserved.
8.\"

--- 35 unchanged lines hidden (view full) ---

44.Op Fl D Ar options
45.Op Fl I Ar paths
46.Op Fl l Ar prefix
47.Op Fl m Ar variable Ns Op = Ns Ar value
48.Op Fl p Ar file
49.Sh DESCRIPTION
50The
51.Nm
1.\"
2.\" Copyright (c) 2004-2005
3.\" Hartmut Brandt.
4.\" All rights reserved.
5.\" Copyright (c) 2001-2003
6.\" Fraunhofer Institute for Open Communication Systems (FhG Fokus).
7.\" All rights reserved.
8.\"

--- 35 unchanged lines hidden (view full) ---

44.Op Fl D Ar options
45.Op Fl I Ar paths
46.Op Fl l Ar prefix
47.Op Fl m Ar variable Ns Op = Ns Ar value
48.Op Fl p Ar file
49.Sh DESCRIPTION
50The
51.Nm
52daemon server the internet SNMP (Simple Network Management Protocol).
52daemon serves the internet SNMP (Simple Network Management Protocol).
53It is intended to serve only the absolute basic MIBs and implement all other
54MIBs through loadable modules.
55In this way the
56.Nm
57can be used in unexpected ways.
58.Pp
59The options are as follows:
60.Bl -tag -width ".It Fl D Ar options"
61.It Fl d
53It is intended to serve only the absolute basic MIBs and implement all other
54MIBs through loadable modules.
55In this way the
56.Nm
57can be used in unexpected ways.
58.Pp
59The options are as follows:
60.Bl -tag -width ".It Fl D Ar options"
61.It Fl d
62This option is used for debugging
63.Nm
64and causes it not to daemonize itself.
62Do not daemonize.
63Used for debugging.
65.It Fl h
64.It Fl h
66This option prints a short usage message.
65Print a short usage message.
67.It Fl c Ar file
68Use
69.Ar file
70as configuration file instead of the standard one.
71.It Fl D Ar options
72Debugging options are specified with a
73.Fl o
74flag followed by a comma separated string of options.
75The following options are available.
76.Bl -tag -width ".It Cm trace Ns Cm = Ns Cm level"
77.It Cm dump
66.It Fl c Ar file
67Use
68.Ar file
69as configuration file instead of the standard one.
70.It Fl D Ar options
71Debugging options are specified with a
72.Fl o
73flag followed by a comma separated string of options.
74The following options are available.
75.Bl -tag -width ".It Cm trace Ns Cm = Ns Cm level"
76.It Cm dump
78This option causes all sent and received PDUs to be dumped to the terminal.
77Dump all sent and received PDUs to the terminal.
79.It Cm events
78.It Cm events
80This causes the debugging level of the event library (see
79Set the debugging level of the event library (see
81.Xr eventlib 3 )
80.Xr eventlib 3 )
82to be set to 10.
81to 10.
83.It Cm trace Ns Cm = Ns Cm level
82.It Cm trace Ns Cm = Ns Cm level
84This option causes the snmp library trace flag to be set to the specified
83Set the snmp library trace flag to the specified
85value.
86The value can be specified in the usual C-syntax for numbers.
87.El
88.It Fl I Ar paths
84value.
85The value can be specified in the usual C-syntax for numbers.
86.El
87.It Fl I Ar paths
89This option specifies a colon separated list of directories to search for
90configuration include files.
88Specify a colon separated list of directories to search for configuration
89include files.
91The default is
92.Pa /etc:/usr/etc/:/usr/local/etc .
93These paths are only searched for include specified within <> parentheses.
94.It Fl l Ar prefix
90The default is
91.Pa /etc:/usr/etc/:/usr/local/etc .
92These paths are only searched for include specified within <> parentheses.
93.It Fl l Ar prefix
95The
94Use
96.Ar prefix
95.Ar prefix
97is used as the default basename for the pid and the configuration files.
96as the default basename for the pid and the configuration files.
98.It Fl m Ar variable Ns Op = Ns Ar value
99Define a configuration variable.
100.It Fl p Ar file
101Specify an alternate pid file instead of the default one.
102.El
103.Sh CONFIGURATION
97.It Fl m Ar variable Ns Op = Ns Ar value
98Define a configuration variable.
99.It Fl p Ar file
100Specify an alternate pid file instead of the default one.
101.El
102.Sh CONFIGURATION
104The
105.Nm
106reads its configuration from either the default or the user specified
107configuration file.
108The configuration file consists of the following types of lines:
109.Bl -bullet -offset indent
110.It
111variable assignments
112.It

--- 100 unchanged lines hidden (view full) ---

213to the current oid.
214If the element is a string, its length and the
215.Tn ASCII
216code of each of its characters are appended to the current oid.
217If the
218element is a hostname, the IP address of the host is looked up and the four
219elements of the IP address are appended to the oid.
220.Pp
103.Nm
104reads its configuration from either the default or the user specified
105configuration file.
106The configuration file consists of the following types of lines:
107.Bl -bullet -offset indent
108.It
109variable assignments
110.It

--- 100 unchanged lines hidden (view full) ---

211to the current oid.
212If the element is a string, its length and the
213.Tn ASCII
214code of each of its characters are appended to the current oid.
215If the
216element is a hostname, the IP address of the host is looked up and the four
217elements of the IP address are appended to the oid.
218.Pp
221For example a oid of
219For example, an oid of
222.Bd -unfilled -offset indent
223myvariable.27.foooll.[localhost]."&^!"
224.Ed
225.Pp
226results in the oid
227.Bd -unfilled -offset indent
228myvariable.27.6.102.111.111.111.108.108.127.0.0.1.38.94.33
229.Ed

--- 18 unchanged lines hidden (view full) ---

248.It Pa /etc/ Ns Ao Ar prefix Ac Ns \&.config
249Default configuration file, where the default
250.Aq prefix
251is
252.Dq snmpd .
253.It Pa /var/run/ Ns Ao Ar prefix Ac Ns \&.pid
254Default pid file.
255.It Pa /etc:/usr/etc/:/usr/local/etc
220.Bd -unfilled -offset indent
221myvariable.27.foooll.[localhost]."&^!"
222.Ed
223.Pp
224results in the oid
225.Bd -unfilled -offset indent
226myvariable.27.6.102.111.111.111.108.108.127.0.0.1.38.94.33
227.Ed

--- 18 unchanged lines hidden (view full) ---

246.It Pa /etc/ Ns Ao Ar prefix Ac Ns \&.config
247Default configuration file, where the default
248.Aq prefix
249is
250.Dq snmpd .
251.It Pa /var/run/ Ns Ao Ar prefix Ac Ns \&.pid
252Default pid file.
253.It Pa /etc:/usr/etc/:/usr/local/etc
256This is the default search path for system include files.
254Default search path for system include files.
257.It Pa @MIBSPATH@FOKUS-MIB.txt
258.It Pa @MIBSPATH@BEGEMOT-MIB.txt
259.It Pa @MIBSPATH@BEGEMOT-SNMPD.txt
255.It Pa @MIBSPATH@FOKUS-MIB.txt
256.It Pa @MIBSPATH@BEGEMOT-MIB.txt
257.It Pa @MIBSPATH@BEGEMOT-SNMPD.txt
260The definitions for the MIBs implemented in the daemon.
258Definitions for the MIBs implemented in the daemon.
261.It Pa /etc/hosts.allow, /etc/hosts.deny
259.It Pa /etc/hosts.allow, /etc/hosts.deny
262Access controls that should be enforced by TCP wrappers should be defined here.
260Access controls that should be enforced by TCP wrappers are defined here.
263Further details are described in
264.Xr hosts_access 5 .
265.El
266.Sh SEE ALSO
267.Xr gensnmptree 1 ,
268.Xr hosts_access 5
269.Sh STANDARDS
270The
271.Nm
272conforms to the applicable IETF RFCs.
273.Sh AUTHORS
274.An Hartmut Brandt Aq harti@FreeBSD.org
275.Sh BUGS
276Sure.
261Further details are described in
262.Xr hosts_access 5 .
263.El
264.Sh SEE ALSO
265.Xr gensnmptree 1 ,
266.Xr hosts_access 5
267.Sh STANDARDS
268The
269.Nm
270conforms to the applicable IETF RFCs.
271.Sh AUTHORS
272.An Hartmut Brandt Aq harti@FreeBSD.org
273.Sh BUGS
274Sure.