Connecting to the agent through z/OS UNIX

For subagents that specify a z/OS® UNIX connection to the agent, a z/OS UNIX path name is used for the connection. You can configure this path name by either specifying it on the -s agent initialization parameter or specifying it as the value of the dpiPathNameForUnixStream MIB object in OSNMPD.DATA. The default path name is /var/dpi_socket.

The SNMP agent creates this path name every time it initializes. For subagents to successfully connect to the agent using this path name, either the subagents must be defined with superuser authority or the read and write file access permission bits for the path name must be set as follows:

You can configure the read and write access by specifying the -C agent initialization parameter.

For more detailed information about file access permission bits and handling security for your files, see z/OS UNIX System Services User's Guide. If you need to change the file access permission bits for the path name after the agent has initialized, you can use the z/OS UNIX chmod command. For more information about the chmod command, see z/OS UNIX System Services Command Reference.