osasnmpd – Start OSA-Express SNMP subagent
![]()
Use the osasnmpd command to start the OSA-Express Simple Network Management Protocol (SNMP) subagent (osasnmpd).
osasnmpd syntax
- -l or --logfile <logfile>
- specifies a file for logging all subagent messages and warnings, including stdout and stderr. If no path is specified, the log file is created in the current directory. The default log file is /var/log/osasnmpd.log.
- -L or --stderrlog
- prints messages and warnings to stdout or stderr.
- -A or --append
- appends to an existing log file rather than replacing it.
- -f or --nofork
- prevents forking from the calling shell.
- -P or --pidfile <pidfile>
- saves the process ID of the subagent in a file <pidfile>. If a path is not specified, the current directory is used.
- -x or --sockaddr <agentx_socket>
- specifies the socket to be used for the AgentX connection. The
default socket is /var/agentx/master.
The socket can either be a UNIX™ domain socket path, or the address of a network interface. If a network address of the form
inet-addr:portis specified, the subagent uses the specified port. If a net address of the forminet-addris specified, the subagent uses the default AgentX port, 705. The AgentX sockets of the snmpd daemon and osasnmpd must match. - -h or --help
- displays help information for the command.
- -v or --version
- displays version information for the command.
Examples
To start the osasnmpd subagent
with all default settings:
# osasnmpd