HP-UX Reference (11i v1 00/12) - 1M System Administration Commands N-Z (vol 4)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/naaagt.1m
________________________________________________________________
___ ___
s
snmpd(1M) snmpd(1M)
NAME
snmpd, snmpdm - Simple Network Management Protocol (SNMP) Daemon
SYNOPSIS
/usr/sbin/snmpd [-a ][-authfail ][-C contact ][-Contact contact ][-h ][-help ][-L
location ][-Location location ][-l logfile][-logfile logfile][-m logmask ][-mask log-
mask][-n ][-P portnum ][-Port portnum ][-sys description ][-sysDescr description ]
/usr/sbin/snmpd [-e extendFile]
/usr/sbin/snmpdm [-a ][-authfail ][-C contact ][-Contact contact ][-h ][-help ][-L
location ][-Location location ][-l logfile][-logfile logfile][-m logmask ][-mask log-
mask][-n ][-P portnum ][-Port portnum ][-sys description ][-sysDescr description ]
DESCRIPTION
The Master SNMP Agent (/usr/sbin/snmpdm) and the collection of subAgents
(/usr/sbin/mib2agt, /usr/sbin/hp_unixagt, ...) that would attach to the Master Agent collec-
tively 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 Management Information Base (
MIB). The MIB objects
are instrumented by the subAgents.
The Master Agent can bind to three kinds of subAgents, namely,
• Loosely coupled subAgents or separate process subAgents which open IPC communication channels to
communicate with the Master Agent,
• Shared library subAgents which are dynamically linkablelibraries,
• Remotely coupled subagents which could run on a different processor or operating system and com-
municate with the Master Agent using TCP.
Options
The Master agent
/usr/sbin/snmpdm
and the script /usr/sbin/snmpd recognize the following
command line options:
-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.
-logfile logfile
-l logfile Use the logfile for logging rather than the default logfile,
/var/adm/snmpd.log.
A value of
- will direct logging to stdout.
Section 1M−−800 − 1 − HP-UX Release 11i: December 2000
___
___