up | Inhaltsverzeichniss | Kommentar

Manual page for SNMPD(8C)

snmpd - a server for supplying SNMP management information

SYNOPSIS

snmpd [-d] [-A] [-N]

DESCRIPTION

The snmpd daemon is a server (agent) implementing the Simple Network Management Protocol for the NeXT Computer. An SNMP agent supports a management information base (MIB) consisting of a set of variables layed out in a tree. The variables and their types are defined using ASN.1 and are listed in /etc/snmp.mib. The management base currently implemented by snmpd is that of MIB-I, as defined by RFC1156.

The snmpd server should always be run as root because it needs to open a privileged socket in order to receive its queries. The current implementation also needs to read /dev/kmem in order to obtain the information necessary to describe the running system.

By default, snmpd will only allow access to hosts listed in NetInfo by name, address, or network number. This can be overridden by supplying the -A option when starting snmpd, which will allow any network entity access to the information in your SNMP agent. To grant individual hosts or networks access explicitly, first decide on a community name (e.g. ``public'') and create a subdirectory of /locations/snmp/communities with that name. Then create a property named hosts or networks in that directory and list the host names or network numbers from which you wish to allow queries. Hosts should be specified using their official hostname as returned by gethostbyname.3 networks should be in dot notion. An asterisk (``*'') in either of these properties will match any host or network and open access to any host on the internet.

OPTIONS

-d
Turn on debugging output. Each time a packet is received or sent, a hexadecimal dump its contents will be produced on standard output.
-A
Allow anyone access to the SNMP server. By default, only hosts or other management entities listed in in the /locations/snmp/communities directories in NetInfo will have access to the information in local SNMP server. See below under Access Control for more details.
-N
Only run if enabled in NetInfo. This option will cause snmpd to quit immediately unless the enabled property in NetInfo's /locations/snmp directory has a value of YES. This is used to start snmpd automatically from /etc/rc.

NOTE

The current implementation of the SNMP server is based on a public domain package and is copyright 1988, 1989 by Carnegie Mellon University.

SEE ALSO

snmp.1c snmpnetstat.1c RFC1155, RFC1156, RFC1157 and RFC1158.


index | Inhaltsverzeichniss | Kommentar

Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97