snmpd

SNMP agent daemon

Syntax:

snmpd [-a] [-d] [-i] 

Options:

-a
Log the IP address of every host that sends a message to the agent.
-d
Dump input and output packets.
-i
Run in interactive monitoring mode.

Description:

The snmpd daemon is a server that supports both the Simple Network Management Protocol v2 and v1. It receives and responds to SNMP messages sent to the SNMP port on the local machine.

If you're using SNMP version 2, the following files must be configured:

If you're using SNMP version 1, the /etc/party.conf file must be configured to include a port to listen to.

For a description on how to configure the files, please see the section, Administrative model in the SNMPv2 chapter, and the file page for each of the configuration files listed above.

If you wish to change the configuration of snmpd you should include a /etc/snmpd.conf file.


Note: If you see the following line with no ports listed:
Opening port(s):

the IP address listed in TDomain (the agent definition entry in /etc/party.conf) doesn't match the IP address of an interface on the host. You must change the agent definition to include the IP address of the interface where you wish to listen for SNMP requests.


Environment variables:

MIBFILE
Specify the location of the mib.txt file. For example, MIBFILE=path/mib.txt (the default path is /etc).
SNMPCONFIGFILE
Contains the location of the snmpd.conf file.

See also:

snmpget, snmpgetnext, snmpnetstat, snmpstatus, snmptest, snmptrap, snmptrapd, snmpwalk

/etc/acl.conf file, /etc/context.conf file, /etc/mib.txt file, /etc/party.conf file, /etc/snmpd.conf file, /etc/view.conf file

RFC 1065, RFC 1066, RFC 1067, ISO 8824 (ASN.1)

RFC 1441, RFC 1445, RFC 1446, RFC 1448, RFC 1449

Marshall T. Rose, The Simple Book: An Introduction to Internet Management, Revised 2nd ed. (Prentice-Hall, 1996, ISBN 0-13-451659-1)