xref: /openbsd/usr.sbin/snmpd/snmpd.8 (revision eac153a5)
1.\" $OpenBSD: snmpd.8,v 1.10 2008/11/03 09:40:01 sobrado Exp $
2.\"
3.\" Copyright (c) 2007, 2008 Reyk Floeter <reyk@vantronix.net>
4.\"
5.\" Permission to use, copy, modify, and distribute this software for any
6.\" purpose with or without fee is hereby granted, provided that the above
7.\" copyright notice and this permission notice appear in all copies.
8.\"
9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\"
17.Dd $Mdocdate: November 3 2008 $
18.Dt SNMPD 8
19.Os
20.Sh NAME
21.Nm snmpd
22.Nd Simple Network Management Protocol daemon
23.Sh SYNOPSIS
24.Nm snmpd
25.Op Fl dNnv
26.Oo Xo
27.Fl D Ar macro Ns = Ns Ar value Oc
28.Xc
29.Op Fl f Ar file
30.Op Fl r Ar path
31.Sh DESCRIPTION
32.Nm
33is a daemon which implements the SNMP protocol.
34.Pp
35The options are as follows:
36.Bl -tag -width Ds
37.It Fl D Ar macro Ns = Ns Ar value
38Define
39.Ar macro
40to be set to
41.Ar value
42on the command line.
43Overrides the definition of
44.Ar macro
45in the configuration file.
46.It Fl d
47Do not daemonize and log to
48.Em stderr .
49.It Fl f Ar file
50Use
51.Ar file
52as the configuration file, instead of the default
53.Pa /etc/snmpd.conf .
54.It Fl N
55Show numeric OID values instead of their symbolic names.
56.It Fl n
57Configtest mode.
58Only check the configuration file for validity.
59.It Fl r Ar path
60Open a second, restricted, control socket that
61.Xr snmpctl 8
62can use.
63Only
64.Em trap
65requests are allowed on this socket.
66.It Fl v
67Produce more verbose output.
68.El
69.Sh FILES
70.Bl -tag -width "/var/run/snmpd.sockXXX" -compact
71.It Pa /etc/snmpd.conf
72default
73.Nm
74configuration file
75.It Pa /var/run/snmpd.sock
76default
77.Nm
78control socket
79.El
80.Sh SEE ALSO
81.Xr snmpd.conf 5 ,
82.Xr snmpctl 8
83.Rs
84.%R RFC 1157
85.%T A Simple Network Management Protocol (SNMP)
86.%D May 1990
87.Re
88.Rs
89.%R http://www.ibr.cs.tu-bs.de/projects/snmpv3/
90.%T SNMP Version 3 (SNMPv3)
91.%D March 2002
92.Re
93.Rs
94.%R RFC 3410
95.%T Introduction and Applicability Statements for Internet Standard Management Framework
96.%D December 2002
97.Re
98.Sh HISTORY
99The
100.Nm
101program first appeared in
102.Ox 4.3 .
103.Sh AUTHORS
104The
105.Nm
106program was written by
107.An Reyk Floeter Aq reyk@vantronix.net .
108.Sh CAVEATS
109.Nm
110does not fully work yet.
111