|
Lines 49-55
Link Here
|
| 49 |
.Sh DESCRIPTION |
49 |
.Sh DESCRIPTION |
| 50 |
The |
50 |
The |
| 51 |
.Nm |
51 |
.Nm |
| 52 |
daemon server the internet SNMP (Simple Network Management Protocol). |
52 |
daemon serves the internet SNMP (Simple Network Management Protocol). |
| 53 |
It is intended to serve only the absolute basic MIBs and implement all other |
53 |
It is intended to serve only the absolute basic MIBs and implement all other |
| 54 |
MIBs through loadable modules. |
54 |
MIBs through loadable modules. |
| 55 |
In this way the |
55 |
In this way the |
|
Lines 59-69
Link Here
|
| 59 |
The options are as follows: |
59 |
The options are as follows: |
| 60 |
.Bl -tag -width ".It Fl D Ar options" |
60 |
.Bl -tag -width ".It Fl D Ar options" |
| 61 |
.It Fl d |
61 |
.It Fl d |
| 62 |
This option is used for debugging |
62 |
Do not daemonize. Used for debugging. |
| 63 |
.Nm |
|
|
| 64 |
and causes it not to daemonize itself. |
| 65 |
.It Fl h |
63 |
.It Fl h |
| 66 |
This option prints a short usage message. |
64 |
Print a short usage message. |
| 67 |
.It Fl c Ar file |
65 |
.It Fl c Ar file |
| 68 |
Use |
66 |
Use |
| 69 |
.Ar file |
67 |
.Ar file |
|
Lines 75-107
Link Here
|
| 75 |
The following options are available. |
73 |
The following options are available. |
| 76 |
.Bl -tag -width ".It Cm trace Ns Cm = Ns Cm level" |
74 |
.Bl -tag -width ".It Cm trace Ns Cm = Ns Cm level" |
| 77 |
.It Cm dump |
75 |
.It Cm dump |
| 78 |
This option causes all sent and received PDUs to be dumped to the terminal. |
76 |
Dump all sent and received PDUs to the terminal. |
| 79 |
.It Cm events |
77 |
.It Cm events |
| 80 |
This causes the debugging level of the event library (see |
78 |
Set the debugging level of the event library (see |
| 81 |
.Xr eventlib 3 ) |
79 |
.Xr eventlib 3 ) |
| 82 |
to be set to 10. |
80 |
to 10. |
| 83 |
.It Cm trace Ns Cm = Ns Cm level |
81 |
.It Cm trace Ns Cm = Ns Cm level |
| 84 |
This option causes the snmp library trace flag to be set to the specified |
82 |
Set the snmp library trace flag to the specified |
| 85 |
value. |
83 |
value. |
| 86 |
The value can be specified in the usual C-syntax for numbers. |
84 |
The value can be specified in the usual C-syntax for numbers. |
| 87 |
.El |
85 |
.El |
| 88 |
.It Fl I Ar paths |
86 |
.It Fl I Ar paths |
| 89 |
This option specifies a colon separated list of directories to search for |
87 |
Specify a colon separated list of directories to search for configuration |
| 90 |
configuration include files. |
88 |
include files. |
| 91 |
The default is |
89 |
The default is |
| 92 |
.Pa /etc:/usr/etc/:/usr/local/etc . |
90 |
.Pa /etc:/usr/etc/:/usr/local/etc . |
| 93 |
These paths are only searched for include specified within <> parentheses. |
91 |
These paths are only searched for include specified within <> parentheses. |
| 94 |
.It Fl l Ar prefix |
92 |
.It Fl l Ar prefix |
| 95 |
The |
93 |
Use |
| 96 |
.Ar prefix |
94 |
.Ar prefix |
| 97 |
is used as the default basename for the pid and the configuration files. |
95 |
as the default basename for the pid and the configuration files. |
| 98 |
.It Fl m Ar variable Ns Op = Ns Ar value |
96 |
.It Fl m Ar variable Ns Op = Ns Ar value |
| 99 |
Define a configuration variable. |
97 |
Define a configuration variable. |
| 100 |
.It Fl p Ar file |
98 |
.It Fl p Ar file |
| 101 |
Specify an alternate pid file instead of the default one. |
99 |
Specify an alternate pid file instead of the default one. |
| 102 |
.El |
100 |
.El |
| 103 |
.Sh CONFIGURATION |
101 |
.Sh CONFIGURATION |
| 104 |
The |
|
|
| 105 |
.Nm |
102 |
.Nm |
| 106 |
reads its configuration from either the default or the user specified |
103 |
reads its configuration from either the default or the user specified |
| 107 |
configuration file. |
104 |
configuration file. |
|
Lines 218-224
Link Here
|
| 218 |
element is a hostname, the IP address of the host is looked up and the four |
215 |
element is a hostname, the IP address of the host is looked up and the four |
| 219 |
elements of the IP address are appended to the oid. |
216 |
elements of the IP address are appended to the oid. |
| 220 |
.Pp |
217 |
.Pp |
| 221 |
For example a oid of |
218 |
For example, an oid of |
| 222 |
.Bd -unfilled -offset indent |
219 |
.Bd -unfilled -offset indent |
| 223 |
myvariable.27.foooll.[localhost]."&^!" |
220 |
myvariable.27.foooll.[localhost]."&^!" |
| 224 |
.Ed |
221 |
.Ed |
|
Lines 253-265
Link Here
|
| 253 |
.It Pa /var/run/ Ns Ao Ar prefix Ac Ns \&.pid |
250 |
.It Pa /var/run/ Ns Ao Ar prefix Ac Ns \&.pid |
| 254 |
Default pid file. |
251 |
Default pid file. |
| 255 |
.It Pa /etc:/usr/etc/:/usr/local/etc |
252 |
.It Pa /etc:/usr/etc/:/usr/local/etc |
| 256 |
This is the default search path for system include files. |
253 |
Default search path for system include files. |
| 257 |
.It Pa @MIBSPATH@FOKUS-MIB.txt |
254 |
.It Pa @MIBSPATH@FOKUS-MIB.txt |
| 258 |
.It Pa @MIBSPATH@BEGEMOT-MIB.txt |
255 |
.It Pa @MIBSPATH@BEGEMOT-MIB.txt |
| 259 |
.It Pa @MIBSPATH@BEGEMOT-SNMPD.txt |
256 |
.It Pa @MIBSPATH@BEGEMOT-SNMPD.txt |
| 260 |
The definitions for the MIBs implemented in the daemon. |
257 |
Definitions for the MIBs implemented in the daemon. |
| 261 |
.It Pa /etc/hosts.allow, /etc/hosts.deny |
258 |
.It Pa /etc/hosts.allow, /etc/hosts.deny |
| 262 |
Access controls that should be enforced by TCP wrappers should be defined here. |
259 |
Access controls that should be enforced by TCP wrappers are defined here. |
| 263 |
Further details are described in |
260 |
Further details are described in |
| 264 |
.Xr hosts_access 5 . |
261 |
.Xr hosts_access 5 . |
| 265 |
.El |
262 |
.El |