osasnmpd – Start OSA-Express SNMP subagent

7.1 LPAR mode z/VM guest

Use the osasnmpd command to start the OSA-Express Simple Network Management Protocol (SNMP) subagent (osasnmpd).

osasnmpd syntax


1  osasnmpd 
2.1!  -l /var/log/osasnmpd.log
2.1  -l <logfile>
2.1  -L?  -A ?  -f?  -P <pidfile>
2.1!  -x /var/agentx/master
2.1  -x <agentx_socket>
-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:port is specified, the subagent uses the specified port. If a net address of the form inet-addr is 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