HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)
s
snmpd(1M) snmpd(1M)
NAME
snmpd, snmpdm - Simple Network Management Protocol (SNMP) Process
SYNOPSIS
/usr/sbin/snmpd
[ -a ][-authfail ][-C
contact ][-Contact contact ][-h ][-help ]
[
-L location ][-Location
location ][-l logfile ][-logfile logfile ][
-m logmask ]
[
-mask logmask ][-n
][-P portnum ][-Port portnum ][-sys description ]
[
-sysDescr description ]
/usr/sbin/snmpd
[ -e extendFile ]
/usr/sbin/snmpdm
[ -apall ][-aperror ][
-aptrace ][-apwarn ][-a ][-authfail ]
[
-C contact ][-Contact
contact ][-h ][-help ][-L location ][-Location
location ]
[
-l logfile ][
-logfile logfile ][-m logmask ][-mask logmask ][
-log_format value ]
[
-n ][-sys description ][
-sysDescr description ][-tcpany ][-tcplocal ][-tcpnone
]
DESCRIPTION
The Master SNMP Agent (
/usr/sbin/snmpdm
) and the collection of subAgents (
/usr/sbin/*agt
)
that would attach to the Master Agent collectively form a single SNMP Agent. The SNMP Agent accepts
SNMP Get, GetNext and Set requests from an SNMP Manager which cause it to read or write the Manage-
ment Information Base (
MIB). The MIB objects are instrumented by the subAgents.
The Master Agent can bind to separate process subagents.
Options
The Master agent /usr/sbin/snmpdm
and the manual startup script /usr/sbin/snmpd recognize
the following command line options:
-apall Log all error messages, warnings messages and trace messages. This option forces
snmpdm to run in the foreground.
-aperror Log all error messages. This option can be used in conjunction with -aptrace
and
-apwarn.
-aptrace Log all trace messages. This option can be used in conjunction with -aperror and
-apwarn.
-apwarn Log all warning messages. This option can be used in conjunction with -aperror
and -aptrace.
-authfail
-a
Suppress sending authenticationFailure traps.
-Contact contact
-C contact Specify the contact person responsible for the network management agent. This
option overrides the contact person specified in the Master Agent configuration file
/etc/SnmpAgent.d/snmpd.conf
. It does not alter the value specified in the
file. By default, the agent’s contact is a blank string. To configure the agent’s contact,
add the contact after the word contact: in the configuration file
/etc/SnmpAgent.d/snmpd.conf
or use the -C option.
-e extendFile This option is provided for backward compatibility with the pre-emanate snmpd.ea
extensible SNMP agent. It is applicable only to the script /usr/sbin/snmpd, and
only if the EMANATE extensible agent is installed. It is installed if the file
/usr/sbin/extsubagt exists. This option causes the extsubagt to use the com-
mand line specified extendFile instead of the default file
/etc/SnmpAgent.d/snmpd.extend to add user defined MIB objects to the
SNMP agent.
-help
-h
Display command line options and log mask values.
-Location location
-L location Specify the location of the agent. This option overrides the location specified in
/etc/SnmpAgent.d/snmpd.conf. It does not alter the value in
/etc/SnmpAgent.d/snmpd.conf. By default, the agent’s location is a blank
string. To configure the agent’s location, add the location to
/etc/SnmpAgent.d/snmpd.conf or use the -L option.
HP-UX 11i Version 3: February 2007 − 1 − Hewlett-Packard Company 397