snmpd.peers(4) snmpd.peers(4)
NAME
snmpd.peers - SMUX peers file
SYNOPSIS
/etc/netmgt/snmpd.peers
DESCRIPTION
The snmpd.peers file contains information which the SNMP
agent/server daemon, snmpd(1M), uses to authenticate requests
from SMUX peers to register subtrees with the SNMP
agent/server.
Lines in the snmpd.peers file are of the form:
name object-id password [priority]
where
name is the name of a SMUX peer
object-id is an object-identifier (OID) in dot notation that
represents the SMUX peer; see RFC 1213 for a
description of OIDs
password is a password in unencrypted form; snmpd compares
the value of password with the value of the password
received in the open request PDU from the SMUX peer.
priority is an optional priority value that snmpd uses to
determine which SMUX peer to consult when more than
one peer registers the same subtree. Valid values
are 0 to (2^31)-1, with a lower number having a
higher priority. A ``-1'' can also be used to
represent the highest priority.
Each token is separated by white space, though double quotes
may be used to prevent separation. Lines which begin with a #
are ignored.
EXAMPLES
mysmuxd 1.3.6.1.4.1.4.3.1.2 "aintNothing"
triald 1.3.6.1.4.1.4.3.1.22 "aintNothing" 4
The following is UnixWare's default snmpd.peers file; these
lines should not be changed:
Copyright 1994 Novell, Inc. Page 1
snmpd.peers(4) snmpd.peers(4)
# hostmibd realizes Host Resources MIB (RFC 1514).
"hostmibd" 1.3.6.1.2.1.25 "nopassword"
# nwumpsd realizes NetWare IPX/SPX/RIP/SAP protocol stack (server version)
"nwumpsd" 1.3.6.1 "nopassword"
WARNINGS
Since the passwords in the snmpd.peers file are not encrypted,
the file must be in protected mode 0600 and owned by root.
SEE ALSO
snmpd(1M), RFC 1155, RFC 1157, RFC 1227.
For information on writing a custom SNMP peer process, see the
chapter ``Writing SNMP Peer Processes'' of the book Network
Programming Interfaces.
Copyright 1994 Novell, Inc. Page 2